From 6b1605d2a448c228cd38e6bc46fb7aaf6dcbd269 Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Mon, 13 Feb 2012 18:25:36 +0100 Subject: [PATCH] removed generated docs --- docs/html/accept_8c.html | 195 ----- docs/html/accept_8c__incl.map | 2 - docs/html/accept_8c__incl.md5 | 1 - docs/html/accept_8c__incl.png | Bin 2392 -> 0 bytes ...6aa6b495ccf752e844f93bf46c9edd6_cgraph.map | 3 - ...6aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 | 1 - ...6aa6b495ccf752e844f93bf46c9edd6_cgraph.png | Bin 680 -> 0 bytes docs/html/accept_8c_source.html | 142 ---- docs/html/annotated.html | 128 --- docs/html/bc_s.png | Bin 677 -> 0 bytes docs/html/class_8c.html | 200 ----- docs/html/class_8c__incl.map | 2 - docs/html/class_8c__incl.md5 | 1 - docs/html/class_8c__incl.png | Bin 1636 -> 0 bytes ...71582148d8bd8a9387e89843e1904a_icgraph.map | 3 - ...71582148d8bd8a9387e89843e1904a_icgraph.md5 | 1 - ...71582148d8bd8a9387e89843e1904a_icgraph.png | Bin 779 -> 0 bytes docs/html/class_8c_source.html | 136 --- docs/html/class_8h.html | 625 -------------- docs/html/class_8h__dep__incl.map | 5 - docs/html/class_8h__dep__incl.md5 | 1 - docs/html/class_8h__dep__incl.png | Bin 2280 -> 0 bytes docs/html/class_8h__incl.map | 3 - docs/html/class_8h__incl.md5 | 1 - docs/html/class_8h__incl.png | Bin 2611 -> 0 bytes ...382a42de272d5cc4d6bb5b17db6ede_icgraph.map | 3 - ...382a42de272d5cc4d6bb5b17db6ede_icgraph.md5 | 1 - ...382a42de272d5cc4d6bb5b17db6ede_icgraph.png | Bin 779 -> 0 bytes docs/html/class_8h_source.html | 196 ----- docs/html/classes.html | 118 --- docs/html/close__conn_8c.html | 179 ---- docs/html/close__conn_8c__incl.map | 2 - docs/html/close__conn_8c__incl.md5 | 1 - docs/html/close__conn_8c__incl.png | Bin 1646 -> 0 bytes ...21e61c8676f0b4c3b8fc401e26f266_icgraph.map | 4 - ...21e61c8676f0b4c3b8fc401e26f266_icgraph.md5 | 1 - ...21e61c8676f0b4c3b8fc401e26f266_icgraph.png | Bin 935 -> 0 bytes docs/html/close__conn_8c_source.html | 132 --- docs/html/closed.png | Bin 126 -> 0 bytes docs/html/config_8h.html | 567 ------------- docs/html/config_8h_source.html | 212 ----- docs/html/connect_8c.html | 180 ---- docs/html/connect_8c__incl.map | 2 - docs/html/connect_8c__incl.md5 | 1 - docs/html/connect_8c__incl.png | Bin 2328 -> 0 bytes ...bfc4792c437102f20e2c86c4ee8581b_cgraph.map | 3 - ...bfc4792c437102f20e2c86c4ee8581b_cgraph.md5 | 1 - ...bfc4792c437102f20e2c86c4ee8581b_cgraph.png | Bin 693 -> 0 bytes docs/html/connect_8c_source.html | 134 --- docs/html/daemonize_8c.html | 165 ---- docs/html/daemonize_8c__incl.map | 2 - docs/html/daemonize_8c__incl.md5 | 1 - docs/html/daemonize_8c__incl.png | Bin 1276 -> 0 bytes docs/html/daemonize_8c_source.html | 133 --- docs/html/doxygen.css | 800 ------------------ docs/html/doxygen.png | Bin 3942 -> 0 bytes docs/html/files.html | 157 ---- docs/html/ftv2blank.png | Bin 82 -> 0 bytes docs/html/ftv2doc.png | Bin 762 -> 0 bytes docs/html/ftv2folderclosed.png | Bin 598 -> 0 bytes docs/html/ftv2folderopen.png | Bin 590 -> 0 bytes docs/html/ftv2lastnode.png | Bin 82 -> 0 bytes docs/html/ftv2link.png | Bin 762 -> 0 bytes docs/html/ftv2mlastnode.png | Bin 221 -> 0 bytes docs/html/ftv2mnode.png | Bin 221 -> 0 bytes docs/html/ftv2node.png | Bin 82 -> 0 bytes docs/html/ftv2plastnode.png | Bin 215 -> 0 bytes docs/html/ftv2pnode.png | Bin 215 -> 0 bytes docs/html/ftv2splitbar.png | Bin 249 -> 0 bytes docs/html/ftv2vertline.png | Bin 82 -> 0 bytes docs/html/functions.html | 355 -------- docs/html/functions_func.html | 119 --- docs/html/functions_vars.html | 346 -------- docs/html/get_8c.html | 182 ---- docs/html/get_8c__incl.map | 2 - docs/html/get_8c__incl.md5 | 1 - docs/html/get_8c__incl.png | Bin 1618 -> 0 bytes ...d67d03f002ffb1a7cf94d641a80ca4_icgraph.map | 3 - ...d67d03f002ffb1a7cf94d641a80ca4_icgraph.md5 | 1 - ...d67d03f002ffb1a7cf94d641a80ca4_icgraph.png | Bin 950 -> 0 bytes docs/html/get_8c_source.html | 151 ---- docs/html/get__header_8c.html | 178 ---- docs/html/get__header_8c__incl.map | 2 - docs/html/get__header_8c__incl.md5 | 1 - docs/html/get__header_8c__incl.png | Bin 2265 -> 0 bytes ...acbf83d2753cafdc4880dfc4f4222c_icgraph.map | 3 - ...acbf83d2753cafdc4880dfc4f4222c_icgraph.md5 | 1 - ...acbf83d2753cafdc4880dfc4f4222c_icgraph.png | Bin 1151 -> 0 bytes docs/html/get__header_8c_source.html | 128 --- docs/html/get__request__line_8c.html | 187 ---- docs/html/get__request__line_8c__incl.map | 2 - docs/html/get__request__line_8c__incl.md5 | 1 - docs/html/get__request__line_8c__incl.png | Bin 1597 -> 0 bytes ...a4a36f54b295507a2599488a4a6077_icgraph.map | 3 - ...a4a36f54b295507a2599488a4a6077_icgraph.md5 | 1 - ...a4a36f54b295507a2599488a4a6077_icgraph.png | Bin 1179 -> 0 bytes docs/html/get__request__line_8c_source.html | 139 --- docs/html/globals.html | 576 ------------- docs/html/globals_defs.html | 376 -------- docs/html/globals_enum.html | 124 --- docs/html/globals_eval.html | 157 ---- docs/html/globals_func.html | 276 ------ docs/html/globals_type.html | 151 ---- docs/html/globals_vars.html | 126 --- docs/html/graph_legend.html | 167 ---- docs/html/graph_legend.md5 | 1 - docs/html/graph_legend.png | Bin 3907 -> 0 bytes docs/html/handle__accept_8c.html | 121 --- docs/html/handle__accept_8c__dep__incl.map | 3 - docs/html/handle__accept_8c__dep__incl.md5 | 1 - docs/html/handle__accept_8c__dep__incl.png | Bin 1085 -> 0 bytes docs/html/handle__accept_8c_source.html | 137 --- docs/html/header_8c.html | 206 ----- docs/html/header_8c__incl.map | 2 - docs/html/header_8c__incl.md5 | 1 - docs/html/header_8c__incl.png | Bin 2575 -> 0 bytes docs/html/header_8c_source.html | 166 ---- docs/html/header_8h.html | 244 ------ docs/html/header_8h__incl.map | 2 - docs/html/header_8h__incl.md5 | 1 - docs/html/header_8h__incl.png | Bin 829 -> 0 bytes ...2a617a3523cbc79ba8ef6f76d98465_icgraph.map | 3 - ...2a617a3523cbc79ba8ef6f76d98465_icgraph.md5 | 1 - ...2a617a3523cbc79ba8ef6f76d98465_icgraph.png | Bin 950 -> 0 bytes ...ccec0413f9f2e394bb3af5ff628b56_icgraph.map | 3 - ...ccec0413f9f2e394bb3af5ff628b56_icgraph.md5 | 1 - ...ccec0413f9f2e394bb3af5ff628b56_icgraph.png | Bin 965 -> 0 bytes docs/html/header_8h_source.html | 128 --- docs/html/header__get_8c.html | 172 ---- docs/html/header__get_8c__incl.map | 2 - docs/html/header__get_8c__incl.md5 | 1 - docs/html/header__get_8c__incl.png | Bin 1745 -> 0 bytes docs/html/header__get_8c_source.html | 156 ---- docs/html/index.html | 103 --- docs/html/installdox | 112 --- docs/html/interface_2class_8c.html | 241 ------ docs/html/interface_2class_8c__incl.map | 2 - docs/html/interface_2class_8c__incl.md5 | 1 - docs/html/interface_2class_8c__incl.png | Bin 2089 -> 0 bytes ...a46f0179448063a30f6f219270bf1e0_cgraph.map | 3 - ...a46f0179448063a30f6f219270bf1e0_cgraph.md5 | 1 - ...a46f0179448063a30f6f219270bf1e0_cgraph.png | Bin 778 -> 0 bytes docs/html/interface_2class_8c_source.html | 166 ---- docs/html/interface_2class_8h.html | 374 -------- docs/html/interface_2class_8h__dep__incl.map | 2 - docs/html/interface_2class_8h__dep__incl.md5 | 1 - docs/html/interface_2class_8h__dep__incl.png | Bin 651 -> 0 bytes docs/html/interface_2class_8h__incl.map | 2 - docs/html/interface_2class_8h__incl.md5 | 1 - docs/html/interface_2class_8h__incl.png | Bin 1386 -> 0 bytes ...1116659174ec46c5a04721d31631053_cgraph.map | 3 - ...1116659174ec46c5a04721d31631053_cgraph.md5 | 1 - ...1116659174ec46c5a04721d31631053_cgraph.png | Bin 778 -> 0 bytes docs/html/interface_2class_8h_source.html | 142 ---- docs/html/interface_2logger_8c.html | 205 ----- docs/html/interface_2logger_8c__incl.map | 2 - docs/html/interface_2logger_8c__incl.md5 | 1 - docs/html/interface_2logger_8c__incl.png | Bin 2162 -> 0 bytes ...53743a944f1faef3866efaa52d3c7f_icgraph.map | 7 - ...53743a944f1faef3866efaa52d3c7f_icgraph.md5 | 1 - ...53743a944f1faef3866efaa52d3c7f_icgraph.png | Bin 2102 -> 0 bytes docs/html/interface_2logger_8c_source.html | 148 ---- docs/html/interface_2logger_8h.html | 230 ----- docs/html/interface_2logger_8h__dep__incl.map | 2 - docs/html/interface_2logger_8h__dep__incl.md5 | 1 - docs/html/interface_2logger_8h__dep__incl.png | Bin 640 -> 0 bytes docs/html/interface_2logger_8h__incl.map | 2 - docs/html/interface_2logger_8h__incl.md5 | 1 - docs/html/interface_2logger_8h__incl.png | Bin 1409 -> 0 bytes ...f8662ec8b300dcfb5064906937553e_icgraph.map | 7 - ...f8662ec8b300dcfb5064906937553e_icgraph.md5 | 1 - ...f8662ec8b300dcfb5064906937553e_icgraph.png | Bin 2102 -> 0 bytes docs/html/interface_2logger_8h_source.html | 132 --- docs/html/interface_8c.html | 196 ----- docs/html/interface_8c__incl.map | 2 - docs/html/interface_8c__incl.md5 | 1 - docs/html/interface_8c__incl.png | Bin 1522 -> 0 bytes docs/html/interface_8c_source.html | 151 ---- docs/html/interface_8h.html | 382 --------- docs/html/interface_8h__dep__incl.map | 6 - docs/html/interface_8h__dep__incl.md5 | 1 - docs/html/interface_8h__dep__incl.png | Bin 2660 -> 0 bytes docs/html/interface_8h__incl.map | 2 - docs/html/interface_8h__incl.md5 | 1 - docs/html/interface_8h__incl.png | Bin 875 -> 0 bytes docs/html/interface_8h_source.html | 149 ---- docs/html/jquery.js | 54 -- docs/html/listen_8c.html | 189 ----- docs/html/listen_8c__incl.map | 2 - docs/html/listen_8c__incl.md5 | 1 - docs/html/listen_8c__incl.png | Bin 2305 -> 0 bytes ...57c220e9371523ef55b1137a1efed57_cgraph.map | 3 - ...57c220e9371523ef55b1137a1efed57_cgraph.md5 | 1 - ...57c220e9371523ef55b1137a1efed57_cgraph.png | Bin 655 -> 0 bytes docs/html/listen_8c_source.html | 143 ---- docs/html/logger_8c.html | 232 ----- docs/html/logger_8c__incl.map | 2 - docs/html/logger_8c__incl.md5 | 1 - docs/html/logger_8c__incl.png | Bin 1960 -> 0 bytes docs/html/logger_8c_source.html | 143 ---- docs/html/logger_8h.html | 235 ----- docs/html/logger_8h__dep__incl.map | 4 - docs/html/logger_8h__dep__incl.md5 | 1 - docs/html/logger_8h__dep__incl.png | Bin 1413 -> 0 bytes docs/html/logger_8h__incl.map | 4 - docs/html/logger_8h__incl.md5 | 1 - docs/html/logger_8h__incl.png | Bin 3031 -> 0 bytes docs/html/logger_8h_source.html | 143 ---- docs/html/nav_f.png | Bin 159 -> 0 bytes docs/html/nav_h.png | Bin 97 -> 0 bytes docs/html/navtree.css | 123 --- docs/html/navtree.js | 320 ------- docs/html/open.png | Bin 118 -> 0 bytes docs/html/parse_8c.html | 353 -------- docs/html/parse_8c__incl.map | 2 - docs/html/parse_8c__incl.md5 | 1 - docs/html/parse_8c__incl.png | Bin 3001 -> 0 bytes ...7bf52da83090068bafea54589f6f69_icgraph.map | 3 - ...7bf52da83090068bafea54589f6f69_icgraph.md5 | 1 - ...7bf52da83090068bafea54589f6f69_icgraph.png | Bin 1179 -> 0 bytes ...bb74bc564fe961a7ab5459ef5806de6_cgraph.map | 6 - ...bb74bc564fe961a7ab5459ef5806de6_cgraph.md5 | 1 - ...bb74bc564fe961a7ab5459ef5806de6_cgraph.png | Bin 2558 -> 0 bytes docs/html/parse_8c_source.html | 248 ------ docs/html/parser_8c.html | 371 -------- docs/html/parser_8c__incl.map | 2 - docs/html/parser_8c__incl.md5 | 1 - docs/html/parser_8c__incl.png | Bin 4179 -> 0 bytes ...59e7ea125685d797a099638b3376320_cgraph.map | 6 - ...59e7ea125685d797a099638b3376320_cgraph.md5 | 1 - ...59e7ea125685d797a099638b3376320_cgraph.png | Bin 2558 -> 0 bytes docs/html/parser_8c_source.html | 199 ----- docs/html/poll_8c.html | 146 ---- docs/html/poll_8c__dep__incl.map | 3 - docs/html/poll_8c__dep__incl.md5 | 1 - docs/html/poll_8c__dep__incl.png | Bin 827 -> 0 bytes docs/html/poll_8c_source.html | 167 ---- docs/html/queue_8c.html | 204 ----- docs/html/queue_8c__incl.map | 2 - docs/html/queue_8c__incl.md5 | 1 - docs/html/queue_8c__incl.png | Bin 2205 -> 0 bytes docs/html/queue_8c_source.html | 137 --- docs/html/read_8c.html | 121 --- docs/html/read_8c__dep__incl.map | 3 - docs/html/read_8c__dep__incl.md5 | 1 - docs/html/read_8c__dep__incl.png | Bin 884 -> 0 bytes docs/html/read_8c_source.html | 149 ---- docs/html/request_8c.html | 203 ----- docs/html/request_8c__incl.map | 2 - docs/html/request_8c__incl.md5 | 1 - docs/html/request_8c__incl.png | Bin 2339 -> 0 bytes docs/html/request_8c_source.html | 154 ---- docs/html/request_8h.html | 175 ---- docs/html/request_8h__incl.map | 2 - docs/html/request_8h__incl.md5 | 1 - docs/html/request_8h__incl.png | Bin 1252 -> 0 bytes docs/html/request_8h_source.html | 134 --- docs/html/request__parser_8c.html | 244 ------ docs/html/request__parser_8c__incl.map | 2 - docs/html/request__parser_8c__incl.md5 | 1 - docs/html/request__parser_8c__incl.png | Bin 4935 -> 0 bytes docs/html/request__parser_8c_source.html | 348 -------- docs/html/request__parser_8h.html | 213 ----- docs/html/request__parser_8h__incl.map | 2 - docs/html/request__parser_8h__incl.md5 | 1 - docs/html/request__parser_8h__incl.png | Bin 1460 -> 0 bytes docs/html/request__parser_8h_source.html | 139 --- docs/html/request__queue_8c.html | 202 ----- docs/html/request__queue_8c__incl.map | 2 - docs/html/request__queue_8c__incl.md5 | 1 - docs/html/request__queue_8c__incl.png | Bin 2190 -> 0 bytes docs/html/request__queue_8c_source.html | 137 --- docs/html/request__queue_8h.html | 146 ---- docs/html/request__queue_8h__incl.map | 2 - docs/html/request__queue_8h__incl.md5 | 1 - docs/html/request__queue_8h__incl.png | Bin 1317 -> 0 bytes docs/html/request__queue_8h_source.html | 127 --- docs/html/resize.js | 81 -- docs/html/response_8h.html | 174 ---- docs/html/response_8h__incl.map | 2 - docs/html/response_8h__incl.md5 | 1 - docs/html/response_8h__incl.png | Bin 887 -> 0 bytes docs/html/response_8h_source.html | 133 --- docs/html/run_8c.html | 361 -------- docs/html/run_8c__incl.map | 5 - docs/html/run_8c__incl.md5 | 1 - docs/html/run_8c__incl.png | Bin 7222 -> 0 bytes ...7a4d9073b80d8ae1459fb11ddd23675_cgraph.map | 4 - ...7a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 | 1 - ...7a4d9073b80d8ae1459fb11ddd23675_cgraph.png | Bin 1162 -> 0 bytes ...a4d9073b80d8ae1459fb11ddd23675_icgraph.map | 3 - ...a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 | 1 - ...a4d9073b80d8ae1459fb11ddd23675_icgraph.png | Bin 532 -> 0 bytes docs/html/run_8c_source.html | 236 ------ docs/html/search/all_5f.html | 48 -- docs/html/search/all_61.html | 25 - docs/html/search/all_62.html | 47 - docs/html/search/all_63.html | 177 ---- docs/html/search/all_64.html | 52 -- docs/html/search/all_65.html | 36 - docs/html/search/all_66.html | 56 -- docs/html/search/all_67.html | 35 - docs/html/search/all_68.html | 312 ------- docs/html/search/all_69.html | 139 --- docs/html/search/all_6c.html | 154 ---- docs/html/search/all_6d.html | 68 -- docs/html/search/all_6e.html | 89 -- docs/html/search/all_6f.html | 26 - docs/html/search/all_70.html | 107 --- docs/html/search/all_71.html | 25 - docs/html/search/all_72.html | 121 --- docs/html/search/all_73.html | 167 ---- docs/html/search/all_74.html | 40 - docs/html/search/all_75.html | 26 - docs/html/search/all_76.html | 35 - docs/html/search/all_77.html | 32 - docs/html/search/classes_63.html | 25 - docs/html/search/classes_68.html | 45 - docs/html/search/classes_69.html | 45 - docs/html/search/classes_6c.html | 35 - docs/html/search/classes_73.html | 30 - docs/html/search/close.png | Bin 273 -> 0 bytes docs/html/search/defines_5f.html | 38 - docs/html/search/defines_63.html | 62 -- docs/html/search/defines_64.html | 26 - docs/html/search/defines_65.html | 26 - docs/html/search/defines_68.html | 146 ---- docs/html/search/defines_69.html | 50 -- docs/html/search/defines_6c.html | 26 - docs/html/search/defines_6d.html | 44 - docs/html/search/defines_6e.html | 32 - docs/html/search/defines_70.html | 80 -- docs/html/search/defines_72.html | 44 - docs/html/search/defines_73.html | 26 - docs/html/search/defines_74.html | 26 - docs/html/search/defines_76.html | 26 - docs/html/search/enums_65.html | 26 - docs/html/search/enums_6c.html | 26 - docs/html/search/enumvalues_68.html | 50 -- docs/html/search/enumvalues_6c.html | 68 -- docs/html/search/files_61.html | 25 - docs/html/search/files_63.html | 55 -- docs/html/search/files_64.html | 25 - docs/html/search/files_67.html | 35 - docs/html/search/files_68.html | 40 - docs/html/search/files_69.html | 30 - docs/html/search/files_6c.html | 45 - docs/html/search/files_70.html | 35 - docs/html/search/files_71.html | 25 - docs/html/search/files_72.html | 55 -- docs/html/search/files_73.html | 75 -- docs/html/search/files_74.html | 25 - docs/html/search/functions_63.html | 81 -- docs/html/search/functions_64.html | 26 - docs/html/search/functions_65.html | 29 - docs/html/search/functions_68.html | 78 -- docs/html/search/functions_69.html | 55 -- docs/html/search/functions_6c.html | 29 - docs/html/search/functions_6d.html | 26 - docs/html/search/functions_73.html | 74 -- docs/html/search/functions_74.html | 29 - docs/html/search/mag_sel.png | Bin 563 -> 0 bytes docs/html/search/nomatches.html | 12 - docs/html/search/search.css | 240 ------ docs/html/search/search.js | 742 ---------------- docs/html/search/search_l.png | Bin 604 -> 0 bytes docs/html/search/search_m.png | Bin 158 -> 0 bytes docs/html/search/search_r.png | Bin 612 -> 0 bytes docs/html/search/typedefs_63.html | 26 - docs/html/search/typedefs_66.html | 56 -- docs/html/search/typedefs_68.html | 26 - docs/html/search/typedefs_69.html | 32 - docs/html/search/typedefs_6c.html | 26 - docs/html/search/variables_5f.html | 30 - docs/html/search/variables_62.html | 47 - docs/html/search/variables_63.html | 38 - docs/html/search/variables_64.html | 35 - docs/html/search/variables_68.html | 47 - docs/html/search/variables_69.html | 32 - docs/html/search/variables_6c.html | 44 - docs/html/search/variables_6d.html | 38 - docs/html/search/variables_6e.html | 77 -- docs/html/search/variables_6f.html | 26 - docs/html/search/variables_70.html | 32 - docs/html/search/variables_72.html | 62 -- docs/html/search/variables_73.html | 44 - docs/html/search/variables_75.html | 26 - docs/html/search/variables_76.html | 32 - docs/html/search/variables_77.html | 32 - docs/html/server_8c.html | 206 ----- docs/html/server_8c__incl.map | 2 - docs/html/server_8c__incl.md5 | 1 - docs/html/server_8c__incl.png | Bin 2926 -> 0 bytes docs/html/server_8c_source.html | 163 ---- docs/html/server_8h.html | 431 ---------- docs/html/server_8h__incl.map | 6 - docs/html/server_8h__incl.md5 | 1 - docs/html/server_8h__incl.png | Bin 5532 -> 0 bytes ...7a4d9073b80d8ae1459fb11ddd23675_cgraph.map | 4 - ...7a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 | 1 - ...7a4d9073b80d8ae1459fb11ddd23675_cgraph.png | Bin 1162 -> 0 bytes ...a4d9073b80d8ae1459fb11ddd23675_icgraph.map | 3 - ...a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 | 1 - ...a4d9073b80d8ae1459fb11ddd23675_icgraph.png | Bin 532 -> 0 bytes ...f787254ea87cbc851d292e5a7d195d_icgraph.map | 4 - ...f787254ea87cbc851d292e5a7d195d_icgraph.md5 | 1 - ...f787254ea87cbc851d292e5a7d195d_icgraph.png | Bin 935 -> 0 bytes docs/html/server_8h_source.html | 159 ---- docs/html/signalHandling_8c.html | 230 ----- docs/html/signalHandling_8c__incl.map | 2 - docs/html/signalHandling_8c__incl.md5 | 1 - docs/html/signalHandling_8c__incl.png | Bin 886 -> 0 bytes ...de31bdef82f181f8045b94ae0933916_cgraph.map | 3 - ...de31bdef82f181f8045b94ae0933916_cgraph.md5 | 1 - ...de31bdef82f181f8045b94ae0933916_cgraph.png | Bin 608 -> 0 bytes ...e31bdef82f181f8045b94ae0933916_icgraph.map | 3 - ...e31bdef82f181f8045b94ae0933916_icgraph.md5 | 1 - ...e31bdef82f181f8045b94ae0933916_icgraph.png | Bin 535 -> 0 bytes ...612b9588ed0fb05d70680db02b3630_icgraph.map | 4 - ...612b9588ed0fb05d70680db02b3630_icgraph.md5 | 1 - ...612b9588ed0fb05d70680db02b3630_icgraph.png | Bin 761 -> 0 bytes docs/html/signalHandling_8c_source.html | 135 --- docs/html/signalHandling_8h.html | 224 ----- ...de31bdef82f181f8045b94ae0933916_cgraph.map | 3 - ...de31bdef82f181f8045b94ae0933916_cgraph.md5 | 1 - ...de31bdef82f181f8045b94ae0933916_cgraph.png | Bin 608 -> 0 bytes ...e31bdef82f181f8045b94ae0933916_icgraph.map | 3 - ...e31bdef82f181f8045b94ae0933916_icgraph.md5 | 1 - ...e31bdef82f181f8045b94ae0933916_icgraph.png | Bin 535 -> 0 bytes ...612b9588ed0fb05d70680db02b3630_icgraph.map | 4 - ...612b9588ed0fb05d70680db02b3630_icgraph.md5 | 1 - ...612b9588ed0fb05d70680db02b3630_icgraph.png | Bin 761 -> 0 bytes docs/html/signalHandling_8h_source.html | 120 --- docs/html/socket_8c.html | 207 ----- docs/html/socket_8c__incl.map | 2 - docs/html/socket_8c__incl.md5 | 1 - docs/html/socket_8c__incl.png | Bin 2735 -> 0 bytes docs/html/socket_8c_source.html | 158 ---- docs/html/socket_8h.html | 315 ------- docs/html/socket_8h__dep__incl.map | 3 - docs/html/socket_8h__dep__incl.md5 | 1 - docs/html/socket_8h__dep__incl.png | Bin 848 -> 0 bytes docs/html/socket_8h__incl.map | 5 - docs/html/socket_8h__incl.md5 | 1 - docs/html/socket_8h__incl.png | Bin 3965 -> 0 bytes ...6aa6b495ccf752e844f93bf46c9edd6_cgraph.map | 3 - ...6aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 | 1 - ...6aa6b495ccf752e844f93bf46c9edd6_cgraph.png | Bin 680 -> 0 bytes ...57c220e9371523ef55b1137a1efed57_cgraph.map | 3 - ...57c220e9371523ef55b1137a1efed57_cgraph.md5 | 1 - ...57c220e9371523ef55b1137a1efed57_cgraph.png | Bin 655 -> 0 bytes ...bfc4792c437102f20e2c86c4ee8581b_cgraph.map | 3 - ...bfc4792c437102f20e2c86c4ee8581b_cgraph.md5 | 1 - ...bfc4792c437102f20e2c86c4ee8581b_cgraph.png | Bin 693 -> 0 bytes docs/html/socket_8h_source.html | 133 --- docs/html/sort_8c.html | 169 ---- docs/html/sort_8c__incl.map | 2 - docs/html/sort_8c__incl.md5 | 1 - docs/html/sort_8c__incl.png | Bin 981 -> 0 bytes ...38f1a61df8ee1f19ef193370b902d2_icgraph.map | 3 - ...38f1a61df8ee1f19ef193370b902d2_icgraph.md5 | 1 - ...38f1a61df8ee1f19ef193370b902d2_icgraph.png | Bin 965 -> 0 bytes docs/html/sort_8c_source.html | 129 --- docs/html/stderr_8c.html | 189 ----- docs/html/stderr_8c__incl.map | 2 - docs/html/stderr_8c__incl.md5 | 1 - docs/html/stderr_8c__incl.png | Bin 1568 -> 0 bytes docs/html/stderr_8c_source.html | 126 --- docs/html/stream__reader_8c.html | 163 ---- docs/html/stream__reader_8c__incl.map | 2 - docs/html/stream__reader_8c__incl.md5 | 1 - docs/html/stream__reader_8c__incl.png | Bin 1518 -> 0 bytes docs/html/stream__reader_8c_source.html | 129 --- docs/html/stream__reader_8h.html | 186 ---- docs/html/stream__reader_8h__incl.map | 2 - docs/html/stream__reader_8h__incl.md5 | 1 - docs/html/stream__reader_8h__incl.png | Bin 1104 -> 0 bytes docs/html/stream__reader_8h_source.html | 129 --- docs/html/structHttpHeader-members.html | 114 --- docs/html/structHttpHeader.html | 176 ---- docs/html/structHttpRequest-members.html | 118 --- docs/html/structHttpRequest.html | 247 ------ .../html/structHttpRequestParser-members.html | 116 --- docs/html/structHttpRequestParser.html | 215 ----- .../structHttpRequestParser__coll__graph.map | 5 - .../structHttpRequestParser__coll__graph.md5 | 1 - .../structHttpRequestParser__coll__graph.png | Bin 4197 -> 0 bytes docs/html/structHttpRequestQueue-members.html | 113 --- docs/html/structHttpRequestQueue.html | 167 ---- .../structHttpRequestQueue__coll__graph.map | 4 - .../structHttpRequestQueue__coll__graph.md5 | 1 - .../structHttpRequestQueue__coll__graph.png | Bin 3038 -> 0 bytes docs/html/structHttpRequest__coll__graph.map | 3 - docs/html/structHttpRequest__coll__graph.md5 | 1 - docs/html/structHttpRequest__coll__graph.png | Bin 1942 -> 0 bytes docs/html/structHttpResponse-members.html | 118 --- docs/html/structHttpResponse.html | 247 ------ docs/html/structHttpResponse__coll__graph.map | 3 - docs/html/structHttpResponse__coll__graph.md5 | 1 - docs/html/structHttpResponse__coll__graph.png | Bin 2037 -> 0 bytes docs/html/structLogger-members.html | 112 --- docs/html/structLogger.html | 144 ---- docs/html/structLoggerStderr-members.html | 112 --- docs/html/structLoggerStderr.html | 146 ---- docs/html/structLoggerSyslog-members.html | 112 --- docs/html/structLoggerSyslog.html | 146 ---- docs/html/structServer-members.html | 121 --- docs/html/structServer.html | 297 ------- docs/html/structServer__coll__graph.map | 4 - docs/html/structServer__coll__graph.md5 | 1 - docs/html/structServer__coll__graph.png | Bin 3018 -> 0 bytes docs/html/structSock-members.html | 114 --- docs/html/structSock.html | 183 ---- docs/html/structSock__coll__graph.map | 3 - docs/html/structSock__coll__graph.md5 | 1 - docs/html/structSock__coll__graph.png | Bin 1161 -> 0 bytes docs/html/structclass-members.html | 115 --- docs/html/structclass.html | 197 ----- docs/html/structclass__coll__graph.map | 2 - docs/html/structclass__coll__graph.md5 | 1 - docs/html/structclass__coll__graph.png | Bin 1208 -> 0 bytes docs/html/structi__Class-members.html | 115 --- docs/html/structi__Class.html | 199 ----- docs/html/structi__Class__coll__graph.map | 3 - docs/html/structi__Class__coll__graph.md5 | 1 - docs/html/structi__Class__coll__graph.png | Bin 1241 -> 0 bytes docs/html/structi__Logger-members.html | 113 --- docs/html/structi__Logger.html | 167 ---- docs/html/structi__Logger__coll__graph.map | 3 - docs/html/structi__Logger__coll__graph.md5 | 1 - docs/html/structi__Logger__coll__graph.png | Bin 1038 -> 0 bytes docs/html/structi__StreamReader-members.html | 113 --- docs/html/structi__StreamReader.html | 167 ---- .../structi__StreamReader__coll__graph.map | 3 - .../structi__StreamReader__coll__graph.md5 | 1 - .../structi__StreamReader__coll__graph.png | Bin 1227 -> 0 bytes docs/html/structiface__impl-members.html | 114 --- docs/html/structiface__impl.html | 176 ---- docs/html/structinterface-members.html | 113 --- docs/html/structinterface.html | 160 ---- docs/html/syslog_8c.html | 189 ----- docs/html/syslog_8c__incl.map | 2 - docs/html/syslog_8c__incl.md5 | 1 - docs/html/syslog_8c__incl.png | Bin 1618 -> 0 bytes docs/html/syslog_8c_source.html | 139 --- docs/html/tab_a.png | Bin 140 -> 0 bytes docs/html/tab_b.png | Bin 178 -> 0 bytes docs/html/tab_h.png | Bin 192 -> 0 bytes docs/html/tab_s.png | Bin 189 -> 0 bytes docs/html/tabs.css | 59 -- docs/html/testserver_8c.html | 175 ---- docs/html/testserver_8c__incl.map | 2 - docs/html/testserver_8c__incl.md5 | 1 - docs/html/testserver_8c__incl.png | Bin 3460 -> 0 bytes ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map | 7 - ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 | 1 - ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.png | Bin 1800 -> 0 bytes docs/html/testserver_8c_source.html | 141 --- docs/latex/Makefile | 19 - docs/latex/accept_8c.tex | 69 -- docs/latex/accept_8c__incl.dot | 17 - docs/latex/accept_8c__incl.md5 | 1 - ...6aa6b495ccf752e844f93bf46c9edd6_cgraph.dot | 10 - ...6aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 | 1 - docs/latex/annotated.tex | 19 - docs/latex/class_8c.tex | 70 -- docs/latex/class_8c__incl.dot | 15 - docs/latex/class_8c__incl.md5 | 1 - ...71582148d8bd8a9387e89843e1904a_icgraph.dot | 10 - ...71582148d8bd8a9387e89843e1904a_icgraph.md5 | 1 - docs/latex/class_8h.tex | 350 -------- docs/latex/class_8h__dep__incl.dot | 16 - docs/latex/class_8h__dep__incl.md5 | 1 - docs/latex/class_8h__incl.dot | 18 - docs/latex/class_8h__incl.md5 | 1 - ...382a42de272d5cc4d6bb5b17db6ede_icgraph.dot | 10 - ...382a42de272d5cc4d6bb5b17db6ede_icgraph.md5 | 1 - docs/latex/close__conn_8c.tex | 51 -- docs/latex/close__conn_8c__incl.dot | 13 - docs/latex/close__conn_8c__incl.md5 | 1 - ...21e61c8676f0b4c3b8fc401e26f266_icgraph.dot | 12 - ...21e61c8676f0b4c3b8fc401e26f266_icgraph.md5 | 1 - docs/latex/config_8h.tex | 318 ------- docs/latex/connect_8c.tex | 53 -- docs/latex/connect_8c__incl.dot | 17 - docs/latex/connect_8c__incl.md5 | 1 - ...bfc4792c437102f20e2c86c4ee8581b_cgraph.dot | 10 - ...bfc4792c437102f20e2c86c4ee8581b_cgraph.md5 | 1 - docs/latex/daemonize_8c.tex | 50 -- docs/latex/daemonize_8c__incl.dot | 13 - docs/latex/daemonize_8c__incl.md5 | 1 - docs/latex/doxygen.sty | 445 ---------- docs/latex/files.tex | 49 -- docs/latex/get_8c.tex | 47 - docs/latex/get_8c__incl.dot | 13 - docs/latex/get_8c__incl.md5 | 1 - ...d67d03f002ffb1a7cf94d641a80ca4_icgraph.dot | 10 - ...d67d03f002ffb1a7cf94d641a80ca4_icgraph.md5 | 1 - docs/latex/get__header_8c.tex | 48 -- docs/latex/get__header_8c__incl.dot | 15 - docs/latex/get__header_8c__incl.md5 | 1 - ...acbf83d2753cafdc4880dfc4f4222c_icgraph.dot | 10 - ...acbf83d2753cafdc4880dfc4f4222c_icgraph.md5 | 1 - docs/latex/get__request__line_8c.tex | 57 -- docs/latex/get__request__line_8c__incl.dot | 11 - docs/latex/get__request__line_8c__incl.md5 | 1 - ...a4a36f54b295507a2599488a4a6077_icgraph.dot | 10 - ...a4a36f54b295507a2599488a4a6077_icgraph.md5 | 1 - docs/latex/handle__accept_8c.tex | 5 - docs/latex/handle__accept_8c__dep__incl.dot | 9 - docs/latex/handle__accept_8c__dep__incl.md5 | 1 - docs/latex/header_8c.tex | 44 - docs/latex/header_8c__incl.dot | 19 - docs/latex/header_8c__incl.md5 | 1 - docs/latex/header_8h.tex | 88 -- docs/latex/header_8h__incl.dot | 9 - docs/latex/header_8h__incl.md5 | 1 - ...2a617a3523cbc79ba8ef6f76d98465_icgraph.dot | 10 - ...2a617a3523cbc79ba8ef6f76d98465_icgraph.md5 | 1 - ...ccec0413f9f2e394bb3af5ff628b56_icgraph.dot | 10 - ...ccec0413f9f2e394bb3af5ff628b56_icgraph.md5 | 1 - docs/latex/header__get_8c.tex | 46 - docs/latex/header__get_8c__incl.dot | 13 - docs/latex/header__get_8c__incl.md5 | 1 - docs/latex/interface_2class_8c.tex | 109 --- docs/latex/interface_2class_8c__incl.dot | 17 - docs/latex/interface_2class_8c__incl.md5 | 1 - ...a46f0179448063a30f6f219270bf1e0_cgraph.dot | 10 - ...a46f0179448063a30f6f219270bf1e0_cgraph.md5 | 1 - docs/latex/interface_2class_8h.tex | 204 ----- docs/latex/interface_2class_8h__dep__incl.dot | 8 - docs/latex/interface_2class_8h__dep__incl.md5 | 1 - docs/latex/interface_2class_8h__incl.dot | 12 - docs/latex/interface_2class_8h__incl.md5 | 1 - ...1116659174ec46c5a04721d31631053_cgraph.dot | 10 - ...1116659174ec46c5a04721d31631053_cgraph.md5 | 1 - docs/latex/interface_2logger_8c.tex | 65 -- docs/latex/interface_2logger_8c__incl.dot | 17 - docs/latex/interface_2logger_8c__incl.md5 | 1 - ...53743a944f1faef3866efaa52d3c7f_icgraph.dot | 18 - ...53743a944f1faef3866efaa52d3c7f_icgraph.md5 | 1 - docs/latex/interface_2logger_8h.tex | 86 -- .../latex/interface_2logger_8h__dep__incl.dot | 8 - .../latex/interface_2logger_8h__dep__incl.md5 | 1 - docs/latex/interface_2logger_8h__incl.dot | 12 - docs/latex/interface_2logger_8h__incl.md5 | 1 - ...f8662ec8b300dcfb5064906937553e_icgraph.dot | 18 - ...f8662ec8b300dcfb5064906937553e_icgraph.md5 | 1 - docs/latex/interface_8c.tex | 69 -- docs/latex/interface_8c__incl.dot | 13 - docs/latex/interface_8c__incl.md5 | 1 - docs/latex/interface_8h.tex | 195 ----- docs/latex/interface_8h__dep__incl.dot | 18 - docs/latex/interface_8h__dep__incl.md5 | 1 - docs/latex/interface_8h__incl.dot | 9 - docs/latex/interface_8h__incl.md5 | 1 - docs/latex/listen_8c.tex | 64 -- docs/latex/listen_8c__incl.dot | 17 - docs/latex/listen_8c__incl.md5 | 1 - ...57c220e9371523ef55b1137a1efed57_cgraph.dot | 10 - ...57c220e9371523ef55b1137a1efed57_cgraph.md5 | 1 - docs/latex/logger_8c.tex | 72 -- docs/latex/logger_8c__incl.dot | 15 - docs/latex/logger_8c__incl.md5 | 1 - docs/latex/logger_8h.tex | 124 --- docs/latex/logger_8h__dep__incl.dot | 12 - docs/latex/logger_8h__dep__incl.md5 | 1 - docs/latex/logger_8h__incl.dot | 20 - docs/latex/logger_8h__incl.md5 | 1 - docs/latex/parse_8c.tex | 222 ----- docs/latex/parse_8c__incl.dot | 19 - docs/latex/parse_8c__incl.md5 | 1 - ...7bf52da83090068bafea54589f6f69_icgraph.dot | 10 - ...7bf52da83090068bafea54589f6f69_icgraph.md5 | 1 - ...bb74bc564fe961a7ab5459ef5806de6_cgraph.dot | 16 - ...bb74bc564fe961a7ab5459ef5806de6_cgraph.md5 | 1 - docs/latex/parser_8c.tex | 199 ----- docs/latex/parser_8c__incl.dot | 25 - docs/latex/parser_8c__incl.md5 | 1 - ...59e7ea125685d797a099638b3376320_cgraph.dot | 16 - ...59e7ea125685d797a099638b3376320_cgraph.md5 | 1 - docs/latex/poll_8c.tex | 26 - docs/latex/poll_8c__dep__incl.dot | 9 - docs/latex/poll_8c__dep__incl.md5 | 1 - docs/latex/queue_8c.tex | 42 - docs/latex/queue_8c__incl.dot | 15 - docs/latex/queue_8c__incl.md5 | 1 - docs/latex/read_8c.tex | 5 - docs/latex/read_8c__dep__incl.dot | 9 - docs/latex/read_8c__dep__incl.md5 | 1 - docs/latex/refman.tex | 125 --- docs/latex/request_8c.tex | 43 - docs/latex/request_8c__incl.dot | 17 - docs/latex/request_8c__incl.md5 | 1 - docs/latex/request_8h.tex | 50 -- docs/latex/request_8h__incl.dot | 11 - docs/latex/request_8h__incl.md5 | 1 - docs/latex/request__parser_8c.tex | 63 -- docs/latex/request__parser_8c__incl.dot | 31 - docs/latex/request__parser_8c__incl.md5 | 1 - docs/latex/request__parser_8h.tex | 102 --- docs/latex/request__parser_8h__incl.dot | 11 - docs/latex/request__parser_8h__incl.md5 | 1 - docs/latex/request__queue_8c.tex | 42 - docs/latex/request__queue_8c__incl.dot | 15 - docs/latex/request__queue_8c__incl.md5 | 1 - docs/latex/request__queue_8h.tex | 29 - docs/latex/request__queue_8h__incl.dot | 11 - docs/latex/request__queue_8h__incl.md5 | 1 - docs/latex/response_8h.tex | 49 -- docs/latex/response_8h__incl.dot | 9 - docs/latex/response_8h__incl.md5 | 1 - docs/latex/run_8c.tex | 251 ------ docs/latex/run_8c__incl.dot | 45 - docs/latex/run_8c__incl.md5 | 1 - ...7a4d9073b80d8ae1459fb11ddd23675_cgraph.dot | 12 - ...7a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 | 1 - ...a4d9073b80d8ae1459fb11ddd23675_icgraph.dot | 10 - ...a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 | 1 - docs/latex/server_8c.tex | 46 - docs/latex/server_8c__incl.dot | 23 - docs/latex/server_8c__incl.md5 | 1 - docs/latex/server_8h.tex | 287 ------- docs/latex/server_8h__incl.dot | 33 - docs/latex/server_8h__incl.md5 | 1 - ...7a4d9073b80d8ae1459fb11ddd23675_cgraph.dot | 12 - ...7a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 | 1 - ...a4d9073b80d8ae1459fb11ddd23675_icgraph.dot | 10 - ...a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 | 1 - ...f787254ea87cbc851d292e5a7d195d_icgraph.dot | 12 - ...f787254ea87cbc851d292e5a7d195d_icgraph.md5 | 1 - docs/latex/signalHandling_8c.tex | 98 --- docs/latex/signalHandling_8c__incl.dot | 9 - docs/latex/signalHandling_8c__incl.md5 | 1 - ...de31bdef82f181f8045b94ae0933916_cgraph.dot | 10 - ...de31bdef82f181f8045b94ae0933916_cgraph.md5 | 1 - ...e31bdef82f181f8045b94ae0933916_icgraph.dot | 10 - ...e31bdef82f181f8045b94ae0933916_icgraph.md5 | 1 - ...612b9588ed0fb05d70680db02b3630_icgraph.dot | 12 - ...612b9588ed0fb05d70680db02b3630_icgraph.md5 | 1 - docs/latex/signalHandling_8h.tex | 96 --- ...de31bdef82f181f8045b94ae0933916_cgraph.dot | 10 - ...de31bdef82f181f8045b94ae0933916_cgraph.md5 | 1 - ...e31bdef82f181f8045b94ae0933916_icgraph.dot | 10 - ...e31bdef82f181f8045b94ae0933916_icgraph.md5 | 1 - ...612b9588ed0fb05d70680db02b3630_icgraph.dot | 12 - ...612b9588ed0fb05d70680db02b3630_icgraph.md5 | 1 - docs/latex/socket_8c.tex | 45 - docs/latex/socket_8c__incl.dot | 21 - docs/latex/socket_8c__incl.md5 | 1 - docs/latex/socket_8h.tex | 158 ---- docs/latex/socket_8h__dep__incl.dot | 9 - docs/latex/socket_8h__dep__incl.md5 | 1 - docs/latex/socket_8h__incl.dot | 25 - docs/latex/socket_8h__incl.md5 | 1 - ...6aa6b495ccf752e844f93bf46c9edd6_cgraph.dot | 10 - ...6aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 | 1 - ...57c220e9371523ef55b1137a1efed57_cgraph.dot | 10 - ...57c220e9371523ef55b1137a1efed57_cgraph.md5 | 1 - ...bfc4792c437102f20e2c86c4ee8581b_cgraph.dot | 10 - ...bfc4792c437102f20e2c86c4ee8581b_cgraph.md5 | 1 - docs/latex/sort_8c.tex | 39 - docs/latex/sort_8c__incl.dot | 9 - docs/latex/sort_8c__incl.md5 | 1 - ...38f1a61df8ee1f19ef193370b902d2_icgraph.dot | 10 - ...38f1a61df8ee1f19ef193370b902d2_icgraph.md5 | 1 - docs/latex/stderr_8c.tex | 39 - docs/latex/stderr_8c__incl.dot | 13 - docs/latex/stderr_8c__incl.md5 | 1 - docs/latex/stream__reader_8c.tex | 39 - docs/latex/stream__reader_8c__incl.dot | 11 - docs/latex/stream__reader_8c__incl.md5 | 1 - docs/latex/stream__reader_8h.tex | 60 -- docs/latex/stream__reader_8h__incl.dot | 9 - docs/latex/stream__reader_8h__incl.md5 | 1 - docs/latex/structHttpHeader.tex | 59 -- docs/latex/structHttpRequest.tex | 106 --- docs/latex/structHttpRequestParser.tex | 84 -- .../structHttpRequestParser__coll__graph.dot | 13 - .../structHttpRequestParser__coll__graph.md5 | 1 - docs/latex/structHttpRequestQueue.tex | 51 -- .../structHttpRequestQueue__coll__graph.dot | 11 - .../structHttpRequestQueue__coll__graph.md5 | 1 - docs/latex/structHttpRequest__coll__graph.dot | 9 - docs/latex/structHttpRequest__coll__graph.md5 | 1 - docs/latex/structHttpResponse.tex | 106 --- .../latex/structHttpResponse__coll__graph.dot | 9 - .../latex/structHttpResponse__coll__graph.md5 | 1 - docs/latex/structLogger.tex | 37 - docs/latex/structLoggerStderr.tex | 37 - docs/latex/structLoggerSyslog.tex | 37 - docs/latex/structServer.tex | 137 --- docs/latex/structServer__coll__graph.dot | 12 - docs/latex/structServer__coll__graph.md5 | 1 - docs/latex/structSock.tex | 62 -- docs/latex/structSock__coll__graph.dot | 9 - docs/latex/structSock__coll__graph.md5 | 1 - docs/latex/structclass.tex | 73 -- docs/latex/structclass__coll__graph.dot | 8 - docs/latex/structclass__coll__graph.md5 | 1 - docs/latex/structi__Class.tex | 73 -- docs/latex/structi__Class__coll__graph.dot | 9 - docs/latex/structi__Class__coll__graph.md5 | 1 - docs/latex/structi__Logger.tex | 51 -- docs/latex/structi__Logger__coll__graph.dot | 9 - docs/latex/structi__Logger__coll__graph.md5 | 1 - docs/latex/structi__StreamReader.tex | 51 -- .../structi__StreamReader__coll__graph.dot | 9 - .../structi__StreamReader__coll__graph.md5 | 1 - docs/latex/structiface__impl.tex | 59 -- docs/latex/structinterface.tex | 48 -- docs/latex/syslog_8c.tex | 39 - docs/latex/syslog_8c__incl.dot | 13 - docs/latex/syslog_8c__incl.md5 | 1 - docs/latex/testserver_8c.tex | 58 -- docs/latex/testserver_8c__incl.dot | 23 - docs/latex/testserver_8c__incl.md5 | 1 - ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.dot | 18 - ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 | 1 - 819 files changed, 41779 deletions(-) delete mode 100644 docs/html/accept_8c.html delete mode 100644 docs/html/accept_8c__incl.map delete mode 100644 docs/html/accept_8c__incl.md5 delete mode 100644 docs/html/accept_8c__incl.png delete mode 100644 docs/html/accept_8c_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.map delete mode 100644 docs/html/accept_8c_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 delete mode 100644 docs/html/accept_8c_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.png delete mode 100644 docs/html/accept_8c_source.html delete mode 100644 docs/html/annotated.html delete mode 100644 docs/html/bc_s.png delete mode 100644 docs/html/class_8c.html delete mode 100644 docs/html/class_8c__incl.map delete mode 100644 docs/html/class_8c__incl.md5 delete mode 100644 docs/html/class_8c__incl.png delete mode 100644 docs/html/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.map delete mode 100644 docs/html/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.md5 delete mode 100644 docs/html/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.png delete mode 100644 docs/html/class_8c_source.html delete mode 100644 docs/html/class_8h.html delete mode 100644 docs/html/class_8h__dep__incl.map delete mode 100644 docs/html/class_8h__dep__incl.md5 delete mode 100644 docs/html/class_8h__dep__incl.png delete mode 100644 docs/html/class_8h__incl.map delete mode 100644 docs/html/class_8h__incl.md5 delete mode 100644 docs/html/class_8h__incl.png delete mode 100644 docs/html/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.map delete mode 100644 docs/html/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.md5 delete mode 100644 docs/html/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.png delete mode 100644 docs/html/class_8h_source.html delete mode 100644 docs/html/classes.html delete mode 100644 docs/html/close__conn_8c.html delete mode 100644 docs/html/close__conn_8c__incl.map delete mode 100644 docs/html/close__conn_8c__incl.md5 delete mode 100644 docs/html/close__conn_8c__incl.png delete mode 100644 docs/html/close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266_icgraph.map delete mode 100644 docs/html/close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266_icgraph.md5 delete mode 100644 docs/html/close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266_icgraph.png delete mode 100644 docs/html/close__conn_8c_source.html delete mode 100644 docs/html/closed.png delete mode 100644 docs/html/config_8h.html delete mode 100644 docs/html/config_8h_source.html delete mode 100644 docs/html/connect_8c.html delete mode 100644 docs/html/connect_8c__incl.map delete mode 100644 docs/html/connect_8c__incl.md5 delete mode 100644 docs/html/connect_8c__incl.png delete mode 100644 docs/html/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.map delete mode 100644 docs/html/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.md5 delete mode 100644 docs/html/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.png delete mode 100644 docs/html/connect_8c_source.html delete mode 100644 docs/html/daemonize_8c.html delete mode 100644 docs/html/daemonize_8c__incl.map delete mode 100644 docs/html/daemonize_8c__incl.md5 delete mode 100644 docs/html/daemonize_8c__incl.png delete mode 100644 docs/html/daemonize_8c_source.html delete mode 100644 docs/html/doxygen.css delete mode 100644 docs/html/doxygen.png delete mode 100644 docs/html/files.html delete mode 100644 docs/html/ftv2blank.png delete mode 100644 docs/html/ftv2doc.png delete mode 100644 docs/html/ftv2folderclosed.png delete mode 100644 docs/html/ftv2folderopen.png delete mode 100644 docs/html/ftv2lastnode.png delete mode 100644 docs/html/ftv2link.png delete mode 100644 docs/html/ftv2mlastnode.png delete mode 100644 docs/html/ftv2mnode.png delete mode 100644 docs/html/ftv2node.png delete mode 100644 docs/html/ftv2plastnode.png delete mode 100644 docs/html/ftv2pnode.png delete mode 100644 docs/html/ftv2splitbar.png delete mode 100644 docs/html/ftv2vertline.png delete mode 100644 docs/html/functions.html delete mode 100644 docs/html/functions_func.html delete mode 100644 docs/html/functions_vars.html delete mode 100644 docs/html/get_8c.html delete mode 100644 docs/html/get_8c__incl.map delete mode 100644 docs/html/get_8c__incl.md5 delete mode 100644 docs/html/get_8c__incl.png delete mode 100644 docs/html/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.map delete mode 100644 docs/html/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.md5 delete mode 100644 docs/html/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.png delete mode 100644 docs/html/get_8c_source.html delete mode 100644 docs/html/get__header_8c.html delete mode 100644 docs/html/get__header_8c__incl.map delete mode 100644 docs/html/get__header_8c__incl.md5 delete mode 100644 docs/html/get__header_8c__incl.png delete mode 100644 docs/html/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.map delete mode 100644 docs/html/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.md5 delete mode 100644 docs/html/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.png delete mode 100644 docs/html/get__header_8c_source.html delete mode 100644 docs/html/get__request__line_8c.html delete mode 100644 docs/html/get__request__line_8c__incl.map delete mode 100644 docs/html/get__request__line_8c__incl.md5 delete mode 100644 docs/html/get__request__line_8c__incl.png delete mode 100644 docs/html/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.map delete mode 100644 docs/html/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.md5 delete mode 100644 docs/html/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.png delete mode 100644 docs/html/get__request__line_8c_source.html delete mode 100644 docs/html/globals.html delete mode 100644 docs/html/globals_defs.html delete mode 100644 docs/html/globals_enum.html delete mode 100644 docs/html/globals_eval.html delete mode 100644 docs/html/globals_func.html delete mode 100644 docs/html/globals_type.html delete mode 100644 docs/html/globals_vars.html delete mode 100644 docs/html/graph_legend.html delete mode 100644 docs/html/graph_legend.md5 delete mode 100644 docs/html/graph_legend.png delete mode 100644 docs/html/handle__accept_8c.html delete mode 100644 docs/html/handle__accept_8c__dep__incl.map delete mode 100644 docs/html/handle__accept_8c__dep__incl.md5 delete mode 100644 docs/html/handle__accept_8c__dep__incl.png delete mode 100644 docs/html/handle__accept_8c_source.html delete mode 100644 docs/html/header_8c.html delete mode 100644 docs/html/header_8c__incl.map delete mode 100644 docs/html/header_8c__incl.md5 delete mode 100644 docs/html/header_8c__incl.png delete mode 100644 docs/html/header_8c_source.html delete mode 100644 docs/html/header_8h.html delete mode 100644 docs/html/header_8h__incl.map delete mode 100644 docs/html/header_8h__incl.md5 delete mode 100644 docs/html/header_8h__incl.png delete mode 100644 docs/html/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.map delete mode 100644 docs/html/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.md5 delete mode 100644 docs/html/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.png delete mode 100644 docs/html/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.map delete mode 100644 docs/html/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.md5 delete mode 100644 docs/html/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.png delete mode 100644 docs/html/header_8h_source.html delete mode 100644 docs/html/header__get_8c.html delete mode 100644 docs/html/header__get_8c__incl.map delete mode 100644 docs/html/header__get_8c__incl.md5 delete mode 100644 docs/html/header__get_8c__incl.png delete mode 100644 docs/html/header__get_8c_source.html delete mode 100644 docs/html/index.html delete mode 100755 docs/html/installdox delete mode 100644 docs/html/interface_2class_8c.html delete mode 100644 docs/html/interface_2class_8c__incl.map delete mode 100644 docs/html/interface_2class_8c__incl.md5 delete mode 100644 docs/html/interface_2class_8c__incl.png delete mode 100644 docs/html/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.map delete mode 100644 docs/html/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.md5 delete mode 100644 docs/html/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.png delete mode 100644 docs/html/interface_2class_8c_source.html delete mode 100644 docs/html/interface_2class_8h.html delete mode 100644 docs/html/interface_2class_8h__dep__incl.map delete mode 100644 docs/html/interface_2class_8h__dep__incl.md5 delete mode 100644 docs/html/interface_2class_8h__dep__incl.png delete mode 100644 docs/html/interface_2class_8h__incl.map delete mode 100644 docs/html/interface_2class_8h__incl.md5 delete mode 100644 docs/html/interface_2class_8h__incl.png delete mode 100644 docs/html/interface_2class_8h_a51116659174ec46c5a04721d31631053_cgraph.map delete mode 100644 docs/html/interface_2class_8h_a51116659174ec46c5a04721d31631053_cgraph.md5 delete mode 100644 docs/html/interface_2class_8h_a51116659174ec46c5a04721d31631053_cgraph.png delete mode 100644 docs/html/interface_2class_8h_source.html delete mode 100644 docs/html/interface_2logger_8c.html delete mode 100644 docs/html/interface_2logger_8c__incl.map delete mode 100644 docs/html/interface_2logger_8c__incl.md5 delete mode 100644 docs/html/interface_2logger_8c__incl.png delete mode 100644 docs/html/interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f_icgraph.map delete mode 100644 docs/html/interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f_icgraph.md5 delete mode 100644 docs/html/interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f_icgraph.png delete mode 100644 docs/html/interface_2logger_8c_source.html delete mode 100644 docs/html/interface_2logger_8h.html delete mode 100644 docs/html/interface_2logger_8h__dep__incl.map delete mode 100644 docs/html/interface_2logger_8h__dep__incl.md5 delete mode 100644 docs/html/interface_2logger_8h__dep__incl.png delete mode 100644 docs/html/interface_2logger_8h__incl.map delete mode 100644 docs/html/interface_2logger_8h__incl.md5 delete mode 100644 docs/html/interface_2logger_8h__incl.png delete mode 100644 docs/html/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.map delete mode 100644 docs/html/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.md5 delete mode 100644 docs/html/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.png delete mode 100644 docs/html/interface_2logger_8h_source.html delete mode 100644 docs/html/interface_8c.html delete mode 100644 docs/html/interface_8c__incl.map delete mode 100644 docs/html/interface_8c__incl.md5 delete mode 100644 docs/html/interface_8c__incl.png delete mode 100644 docs/html/interface_8c_source.html delete mode 100644 docs/html/interface_8h.html delete mode 100644 docs/html/interface_8h__dep__incl.map delete mode 100644 docs/html/interface_8h__dep__incl.md5 delete mode 100644 docs/html/interface_8h__dep__incl.png delete mode 100644 docs/html/interface_8h__incl.map delete mode 100644 docs/html/interface_8h__incl.md5 delete mode 100644 docs/html/interface_8h__incl.png delete mode 100644 docs/html/interface_8h_source.html delete mode 100644 docs/html/jquery.js delete mode 100644 docs/html/listen_8c.html delete mode 100644 docs/html/listen_8c__incl.map delete mode 100644 docs/html/listen_8c__incl.md5 delete mode 100644 docs/html/listen_8c__incl.png delete mode 100644 docs/html/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.map delete mode 100644 docs/html/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.md5 delete mode 100644 docs/html/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.png delete mode 100644 docs/html/listen_8c_source.html delete mode 100644 docs/html/logger_8c.html delete mode 100644 docs/html/logger_8c__incl.map delete mode 100644 docs/html/logger_8c__incl.md5 delete mode 100644 docs/html/logger_8c__incl.png delete mode 100644 docs/html/logger_8c_source.html delete mode 100644 docs/html/logger_8h.html delete mode 100644 docs/html/logger_8h__dep__incl.map delete mode 100644 docs/html/logger_8h__dep__incl.md5 delete mode 100644 docs/html/logger_8h__dep__incl.png delete mode 100644 docs/html/logger_8h__incl.map delete mode 100644 docs/html/logger_8h__incl.md5 delete mode 100644 docs/html/logger_8h__incl.png delete mode 100644 docs/html/logger_8h_source.html delete mode 100644 docs/html/nav_f.png delete mode 100644 docs/html/nav_h.png delete mode 100644 docs/html/navtree.css delete mode 100644 docs/html/navtree.js delete mode 100644 docs/html/open.png delete mode 100644 docs/html/parse_8c.html delete mode 100644 docs/html/parse_8c__incl.map delete mode 100644 docs/html/parse_8c__incl.md5 delete mode 100644 docs/html/parse_8c__incl.png delete mode 100644 docs/html/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.map delete mode 100644 docs/html/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.md5 delete mode 100644 docs/html/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.png delete mode 100644 docs/html/parse_8c_a9bb74bc564fe961a7ab5459ef5806de6_cgraph.map delete mode 100644 docs/html/parse_8c_a9bb74bc564fe961a7ab5459ef5806de6_cgraph.md5 delete mode 100644 docs/html/parse_8c_a9bb74bc564fe961a7ab5459ef5806de6_cgraph.png delete mode 100644 docs/html/parse_8c_source.html delete mode 100644 docs/html/parser_8c.html delete mode 100644 docs/html/parser_8c__incl.map delete mode 100644 docs/html/parser_8c__incl.md5 delete mode 100644 docs/html/parser_8c__incl.png delete mode 100644 docs/html/parser_8c_a659e7ea125685d797a099638b3376320_cgraph.map delete mode 100644 docs/html/parser_8c_a659e7ea125685d797a099638b3376320_cgraph.md5 delete mode 100644 docs/html/parser_8c_a659e7ea125685d797a099638b3376320_cgraph.png delete mode 100644 docs/html/parser_8c_source.html delete mode 100644 docs/html/poll_8c.html delete mode 100644 docs/html/poll_8c__dep__incl.map delete mode 100644 docs/html/poll_8c__dep__incl.md5 delete mode 100644 docs/html/poll_8c__dep__incl.png delete mode 100644 docs/html/poll_8c_source.html delete mode 100644 docs/html/queue_8c.html delete mode 100644 docs/html/queue_8c__incl.map delete mode 100644 docs/html/queue_8c__incl.md5 delete mode 100644 docs/html/queue_8c__incl.png delete mode 100644 docs/html/queue_8c_source.html delete mode 100644 docs/html/read_8c.html delete mode 100644 docs/html/read_8c__dep__incl.map delete mode 100644 docs/html/read_8c__dep__incl.md5 delete mode 100644 docs/html/read_8c__dep__incl.png delete mode 100644 docs/html/read_8c_source.html delete mode 100644 docs/html/request_8c.html delete mode 100644 docs/html/request_8c__incl.map delete mode 100644 docs/html/request_8c__incl.md5 delete mode 100644 docs/html/request_8c__incl.png delete mode 100644 docs/html/request_8c_source.html delete mode 100644 docs/html/request_8h.html delete mode 100644 docs/html/request_8h__incl.map delete mode 100644 docs/html/request_8h__incl.md5 delete mode 100644 docs/html/request_8h__incl.png delete mode 100644 docs/html/request_8h_source.html delete mode 100644 docs/html/request__parser_8c.html delete mode 100644 docs/html/request__parser_8c__incl.map delete mode 100644 docs/html/request__parser_8c__incl.md5 delete mode 100644 docs/html/request__parser_8c__incl.png delete mode 100644 docs/html/request__parser_8c_source.html delete mode 100644 docs/html/request__parser_8h.html delete mode 100644 docs/html/request__parser_8h__incl.map delete mode 100644 docs/html/request__parser_8h__incl.md5 delete mode 100644 docs/html/request__parser_8h__incl.png delete mode 100644 docs/html/request__parser_8h_source.html delete mode 100644 docs/html/request__queue_8c.html delete mode 100644 docs/html/request__queue_8c__incl.map delete mode 100644 docs/html/request__queue_8c__incl.md5 delete mode 100644 docs/html/request__queue_8c__incl.png delete mode 100644 docs/html/request__queue_8c_source.html delete mode 100644 docs/html/request__queue_8h.html delete mode 100644 docs/html/request__queue_8h__incl.map delete mode 100644 docs/html/request__queue_8h__incl.md5 delete mode 100644 docs/html/request__queue_8h__incl.png delete mode 100644 docs/html/request__queue_8h_source.html delete mode 100644 docs/html/resize.js delete mode 100644 docs/html/response_8h.html delete mode 100644 docs/html/response_8h__incl.map delete mode 100644 docs/html/response_8h__incl.md5 delete mode 100644 docs/html/response_8h__incl.png delete mode 100644 docs/html/response_8h_source.html delete mode 100644 docs/html/run_8c.html delete mode 100644 docs/html/run_8c__incl.map delete mode 100644 docs/html/run_8c__incl.md5 delete mode 100644 docs/html/run_8c__incl.png delete mode 100644 docs/html/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.map delete mode 100644 docs/html/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 delete mode 100644 docs/html/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.png delete mode 100644 docs/html/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.map delete mode 100644 docs/html/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 delete mode 100644 docs/html/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.png delete mode 100644 docs/html/run_8c_source.html delete mode 100644 docs/html/search/all_5f.html delete mode 100644 docs/html/search/all_61.html delete mode 100644 docs/html/search/all_62.html delete mode 100644 docs/html/search/all_63.html delete mode 100644 docs/html/search/all_64.html delete mode 100644 docs/html/search/all_65.html delete mode 100644 docs/html/search/all_66.html delete mode 100644 docs/html/search/all_67.html delete mode 100644 docs/html/search/all_68.html delete mode 100644 docs/html/search/all_69.html delete mode 100644 docs/html/search/all_6c.html delete mode 100644 docs/html/search/all_6d.html delete mode 100644 docs/html/search/all_6e.html delete mode 100644 docs/html/search/all_6f.html delete mode 100644 docs/html/search/all_70.html delete mode 100644 docs/html/search/all_71.html delete mode 100644 docs/html/search/all_72.html delete mode 100644 docs/html/search/all_73.html delete mode 100644 docs/html/search/all_74.html delete mode 100644 docs/html/search/all_75.html delete mode 100644 docs/html/search/all_76.html delete mode 100644 docs/html/search/all_77.html delete mode 100644 docs/html/search/classes_63.html delete mode 100644 docs/html/search/classes_68.html delete mode 100644 docs/html/search/classes_69.html delete mode 100644 docs/html/search/classes_6c.html delete mode 100644 docs/html/search/classes_73.html delete mode 100644 docs/html/search/close.png delete mode 100644 docs/html/search/defines_5f.html delete mode 100644 docs/html/search/defines_63.html delete mode 100644 docs/html/search/defines_64.html delete mode 100644 docs/html/search/defines_65.html delete mode 100644 docs/html/search/defines_68.html delete mode 100644 docs/html/search/defines_69.html delete mode 100644 docs/html/search/defines_6c.html delete mode 100644 docs/html/search/defines_6d.html delete mode 100644 docs/html/search/defines_6e.html delete mode 100644 docs/html/search/defines_70.html delete mode 100644 docs/html/search/defines_72.html delete mode 100644 docs/html/search/defines_73.html delete mode 100644 docs/html/search/defines_74.html delete mode 100644 docs/html/search/defines_76.html delete mode 100644 docs/html/search/enums_65.html delete mode 100644 docs/html/search/enums_6c.html delete mode 100644 docs/html/search/enumvalues_68.html delete mode 100644 docs/html/search/enumvalues_6c.html delete mode 100644 docs/html/search/files_61.html delete mode 100644 docs/html/search/files_63.html delete mode 100644 docs/html/search/files_64.html delete mode 100644 docs/html/search/files_67.html delete mode 100644 docs/html/search/files_68.html delete mode 100644 docs/html/search/files_69.html delete mode 100644 docs/html/search/files_6c.html delete mode 100644 docs/html/search/files_70.html delete mode 100644 docs/html/search/files_71.html delete mode 100644 docs/html/search/files_72.html delete mode 100644 docs/html/search/files_73.html delete mode 100644 docs/html/search/files_74.html delete mode 100644 docs/html/search/functions_63.html delete mode 100644 docs/html/search/functions_64.html delete mode 100644 docs/html/search/functions_65.html delete mode 100644 docs/html/search/functions_68.html delete mode 100644 docs/html/search/functions_69.html delete mode 100644 docs/html/search/functions_6c.html delete mode 100644 docs/html/search/functions_6d.html delete mode 100644 docs/html/search/functions_73.html delete mode 100644 docs/html/search/functions_74.html delete mode 100644 docs/html/search/mag_sel.png delete mode 100644 docs/html/search/nomatches.html delete mode 100644 docs/html/search/search.css delete mode 100644 docs/html/search/search.js delete mode 100644 docs/html/search/search_l.png delete mode 100644 docs/html/search/search_m.png delete mode 100644 docs/html/search/search_r.png delete mode 100644 docs/html/search/typedefs_63.html delete mode 100644 docs/html/search/typedefs_66.html delete mode 100644 docs/html/search/typedefs_68.html delete mode 100644 docs/html/search/typedefs_69.html delete mode 100644 docs/html/search/typedefs_6c.html delete mode 100644 docs/html/search/variables_5f.html delete mode 100644 docs/html/search/variables_62.html delete mode 100644 docs/html/search/variables_63.html delete mode 100644 docs/html/search/variables_64.html delete mode 100644 docs/html/search/variables_68.html delete mode 100644 docs/html/search/variables_69.html delete mode 100644 docs/html/search/variables_6c.html delete mode 100644 docs/html/search/variables_6d.html delete mode 100644 docs/html/search/variables_6e.html delete mode 100644 docs/html/search/variables_6f.html delete mode 100644 docs/html/search/variables_70.html delete mode 100644 docs/html/search/variables_72.html delete mode 100644 docs/html/search/variables_73.html delete mode 100644 docs/html/search/variables_75.html delete mode 100644 docs/html/search/variables_76.html delete mode 100644 docs/html/search/variables_77.html delete mode 100644 docs/html/server_8c.html delete mode 100644 docs/html/server_8c__incl.map delete mode 100644 docs/html/server_8c__incl.md5 delete mode 100644 docs/html/server_8c__incl.png delete mode 100644 docs/html/server_8c_source.html delete mode 100644 docs/html/server_8h.html delete mode 100644 docs/html/server_8h__incl.map delete mode 100644 docs/html/server_8h__incl.md5 delete mode 100644 docs/html/server_8h__incl.png delete mode 100644 docs/html/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.map delete mode 100644 docs/html/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 delete mode 100644 docs/html/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.png delete mode 100644 docs/html/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.map delete mode 100644 docs/html/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 delete mode 100644 docs/html/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.png delete mode 100644 docs/html/server_8h_a81f787254ea87cbc851d292e5a7d195d_icgraph.map delete mode 100644 docs/html/server_8h_a81f787254ea87cbc851d292e5a7d195d_icgraph.md5 delete mode 100644 docs/html/server_8h_a81f787254ea87cbc851d292e5a7d195d_icgraph.png delete mode 100644 docs/html/server_8h_source.html delete mode 100644 docs/html/signalHandling_8c.html delete mode 100644 docs/html/signalHandling_8c__incl.map delete mode 100644 docs/html/signalHandling_8c__incl.md5 delete mode 100644 docs/html/signalHandling_8c__incl.png delete mode 100644 docs/html/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_cgraph.map delete mode 100644 docs/html/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_cgraph.md5 delete mode 100644 docs/html/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_cgraph.png delete mode 100644 docs/html/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_icgraph.map delete mode 100644 docs/html/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_icgraph.md5 delete mode 100644 docs/html/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_icgraph.png delete mode 100644 docs/html/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.map delete mode 100644 docs/html/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.md5 delete mode 100644 docs/html/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.png delete mode 100644 docs/html/signalHandling_8c_source.html delete mode 100644 docs/html/signalHandling_8h.html delete mode 100644 docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.map delete mode 100644 docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.md5 delete mode 100644 docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.png delete mode 100644 docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_icgraph.map delete mode 100644 docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_icgraph.md5 delete mode 100644 docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_icgraph.png delete mode 100644 docs/html/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.map delete mode 100644 docs/html/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.md5 delete mode 100644 docs/html/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.png delete mode 100644 docs/html/signalHandling_8h_source.html delete mode 100644 docs/html/socket_8c.html delete mode 100644 docs/html/socket_8c__incl.map delete mode 100644 docs/html/socket_8c__incl.md5 delete mode 100644 docs/html/socket_8c__incl.png delete mode 100644 docs/html/socket_8c_source.html delete mode 100644 docs/html/socket_8h.html delete mode 100644 docs/html/socket_8h__dep__incl.map delete mode 100644 docs/html/socket_8h__dep__incl.md5 delete mode 100644 docs/html/socket_8h__dep__incl.png delete mode 100644 docs/html/socket_8h__incl.map delete mode 100644 docs/html/socket_8h__incl.md5 delete mode 100644 docs/html/socket_8h__incl.png delete mode 100644 docs/html/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.map delete mode 100644 docs/html/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 delete mode 100644 docs/html/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.png delete mode 100644 docs/html/socket_8h_a757c220e9371523ef55b1137a1efed57_cgraph.map delete mode 100644 docs/html/socket_8h_a757c220e9371523ef55b1137a1efed57_cgraph.md5 delete mode 100644 docs/html/socket_8h_a757c220e9371523ef55b1137a1efed57_cgraph.png delete mode 100644 docs/html/socket_8h_adbfc4792c437102f20e2c86c4ee8581b_cgraph.map delete mode 100644 docs/html/socket_8h_adbfc4792c437102f20e2c86c4ee8581b_cgraph.md5 delete mode 100644 docs/html/socket_8h_adbfc4792c437102f20e2c86c4ee8581b_cgraph.png delete mode 100644 docs/html/socket_8h_source.html delete mode 100644 docs/html/sort_8c.html delete mode 100644 docs/html/sort_8c__incl.map delete mode 100644 docs/html/sort_8c__incl.md5 delete mode 100644 docs/html/sort_8c__incl.png delete mode 100644 docs/html/sort_8c_ad438f1a61df8ee1f19ef193370b902d2_icgraph.map delete mode 100644 docs/html/sort_8c_ad438f1a61df8ee1f19ef193370b902d2_icgraph.md5 delete mode 100644 docs/html/sort_8c_ad438f1a61df8ee1f19ef193370b902d2_icgraph.png delete mode 100644 docs/html/sort_8c_source.html delete mode 100644 docs/html/stderr_8c.html delete mode 100644 docs/html/stderr_8c__incl.map delete mode 100644 docs/html/stderr_8c__incl.md5 delete mode 100644 docs/html/stderr_8c__incl.png delete mode 100644 docs/html/stderr_8c_source.html delete mode 100644 docs/html/stream__reader_8c.html delete mode 100644 docs/html/stream__reader_8c__incl.map delete mode 100644 docs/html/stream__reader_8c__incl.md5 delete mode 100644 docs/html/stream__reader_8c__incl.png delete mode 100644 docs/html/stream__reader_8c_source.html delete mode 100644 docs/html/stream__reader_8h.html delete mode 100644 docs/html/stream__reader_8h__incl.map delete mode 100644 docs/html/stream__reader_8h__incl.md5 delete mode 100644 docs/html/stream__reader_8h__incl.png delete mode 100644 docs/html/stream__reader_8h_source.html delete mode 100644 docs/html/structHttpHeader-members.html delete mode 100644 docs/html/structHttpHeader.html delete mode 100644 docs/html/structHttpRequest-members.html delete mode 100644 docs/html/structHttpRequest.html delete mode 100644 docs/html/structHttpRequestParser-members.html delete mode 100644 docs/html/structHttpRequestParser.html delete mode 100644 docs/html/structHttpRequestParser__coll__graph.map delete mode 100644 docs/html/structHttpRequestParser__coll__graph.md5 delete mode 100644 docs/html/structHttpRequestParser__coll__graph.png delete mode 100644 docs/html/structHttpRequestQueue-members.html delete mode 100644 docs/html/structHttpRequestQueue.html delete mode 100644 docs/html/structHttpRequestQueue__coll__graph.map delete mode 100644 docs/html/structHttpRequestQueue__coll__graph.md5 delete mode 100644 docs/html/structHttpRequestQueue__coll__graph.png delete mode 100644 docs/html/structHttpRequest__coll__graph.map delete mode 100644 docs/html/structHttpRequest__coll__graph.md5 delete mode 100644 docs/html/structHttpRequest__coll__graph.png delete mode 100644 docs/html/structHttpResponse-members.html delete mode 100644 docs/html/structHttpResponse.html delete mode 100644 docs/html/structHttpResponse__coll__graph.map delete mode 100644 docs/html/structHttpResponse__coll__graph.md5 delete mode 100644 docs/html/structHttpResponse__coll__graph.png delete mode 100644 docs/html/structLogger-members.html delete mode 100644 docs/html/structLogger.html delete mode 100644 docs/html/structLoggerStderr-members.html delete mode 100644 docs/html/structLoggerStderr.html delete mode 100644 docs/html/structLoggerSyslog-members.html delete mode 100644 docs/html/structLoggerSyslog.html delete mode 100644 docs/html/structServer-members.html delete mode 100644 docs/html/structServer.html delete mode 100644 docs/html/structServer__coll__graph.map delete mode 100644 docs/html/structServer__coll__graph.md5 delete mode 100644 docs/html/structServer__coll__graph.png delete mode 100644 docs/html/structSock-members.html delete mode 100644 docs/html/structSock.html delete mode 100644 docs/html/structSock__coll__graph.map delete mode 100644 docs/html/structSock__coll__graph.md5 delete mode 100644 docs/html/structSock__coll__graph.png delete mode 100644 docs/html/structclass-members.html delete mode 100644 docs/html/structclass.html delete mode 100644 docs/html/structclass__coll__graph.map delete mode 100644 docs/html/structclass__coll__graph.md5 delete mode 100644 docs/html/structclass__coll__graph.png delete mode 100644 docs/html/structi__Class-members.html delete mode 100644 docs/html/structi__Class.html delete mode 100644 docs/html/structi__Class__coll__graph.map delete mode 100644 docs/html/structi__Class__coll__graph.md5 delete mode 100644 docs/html/structi__Class__coll__graph.png delete mode 100644 docs/html/structi__Logger-members.html delete mode 100644 docs/html/structi__Logger.html delete mode 100644 docs/html/structi__Logger__coll__graph.map delete mode 100644 docs/html/structi__Logger__coll__graph.md5 delete mode 100644 docs/html/structi__Logger__coll__graph.png delete mode 100644 docs/html/structi__StreamReader-members.html delete mode 100644 docs/html/structi__StreamReader.html delete mode 100644 docs/html/structi__StreamReader__coll__graph.map delete mode 100644 docs/html/structi__StreamReader__coll__graph.md5 delete mode 100644 docs/html/structi__StreamReader__coll__graph.png delete mode 100644 docs/html/structiface__impl-members.html delete mode 100644 docs/html/structiface__impl.html delete mode 100644 docs/html/structinterface-members.html delete mode 100644 docs/html/structinterface.html delete mode 100644 docs/html/syslog_8c.html delete mode 100644 docs/html/syslog_8c__incl.map delete mode 100644 docs/html/syslog_8c__incl.md5 delete mode 100644 docs/html/syslog_8c__incl.png delete mode 100644 docs/html/syslog_8c_source.html delete mode 100644 docs/html/tab_a.png delete mode 100644 docs/html/tab_b.png delete mode 100644 docs/html/tab_h.png delete mode 100644 docs/html/tab_s.png delete mode 100644 docs/html/tabs.css delete mode 100644 docs/html/testserver_8c.html delete mode 100644 docs/html/testserver_8c__incl.map delete mode 100644 docs/html/testserver_8c__incl.md5 delete mode 100644 docs/html/testserver_8c__incl.png delete mode 100644 docs/html/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map delete mode 100644 docs/html/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 delete mode 100644 docs/html/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.png delete mode 100644 docs/html/testserver_8c_source.html delete mode 100644 docs/latex/Makefile delete mode 100644 docs/latex/accept_8c.tex delete mode 100644 docs/latex/accept_8c__incl.dot delete mode 100644 docs/latex/accept_8c__incl.md5 delete mode 100644 docs/latex/accept_8c_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.dot delete mode 100644 docs/latex/accept_8c_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 delete mode 100644 docs/latex/annotated.tex delete mode 100644 docs/latex/class_8c.tex delete mode 100644 docs/latex/class_8c__incl.dot delete mode 100644 docs/latex/class_8c__incl.md5 delete mode 100644 docs/latex/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.dot delete mode 100644 docs/latex/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.md5 delete mode 100644 docs/latex/class_8h.tex delete mode 100644 docs/latex/class_8h__dep__incl.dot delete mode 100644 docs/latex/class_8h__dep__incl.md5 delete mode 100644 docs/latex/class_8h__incl.dot delete mode 100644 docs/latex/class_8h__incl.md5 delete mode 100644 docs/latex/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.dot delete mode 100644 docs/latex/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.md5 delete mode 100644 docs/latex/close__conn_8c.tex delete mode 100644 docs/latex/close__conn_8c__incl.dot delete mode 100644 docs/latex/close__conn_8c__incl.md5 delete mode 100644 docs/latex/close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266_icgraph.dot delete mode 100644 docs/latex/close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266_icgraph.md5 delete mode 100644 docs/latex/config_8h.tex delete mode 100644 docs/latex/connect_8c.tex delete mode 100644 docs/latex/connect_8c__incl.dot delete mode 100644 docs/latex/connect_8c__incl.md5 delete mode 100644 docs/latex/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.dot delete mode 100644 docs/latex/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.md5 delete mode 100644 docs/latex/daemonize_8c.tex delete mode 100644 docs/latex/daemonize_8c__incl.dot delete mode 100644 docs/latex/daemonize_8c__incl.md5 delete mode 100644 docs/latex/doxygen.sty delete mode 100644 docs/latex/files.tex delete mode 100644 docs/latex/get_8c.tex delete mode 100644 docs/latex/get_8c__incl.dot delete mode 100644 docs/latex/get_8c__incl.md5 delete mode 100644 docs/latex/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.dot delete mode 100644 docs/latex/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.md5 delete mode 100644 docs/latex/get__header_8c.tex delete mode 100644 docs/latex/get__header_8c__incl.dot delete mode 100644 docs/latex/get__header_8c__incl.md5 delete mode 100644 docs/latex/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.dot delete mode 100644 docs/latex/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.md5 delete mode 100644 docs/latex/get__request__line_8c.tex delete mode 100644 docs/latex/get__request__line_8c__incl.dot delete mode 100644 docs/latex/get__request__line_8c__incl.md5 delete mode 100644 docs/latex/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.dot delete mode 100644 docs/latex/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.md5 delete mode 100644 docs/latex/handle__accept_8c.tex delete mode 100644 docs/latex/handle__accept_8c__dep__incl.dot delete mode 100644 docs/latex/handle__accept_8c__dep__incl.md5 delete mode 100644 docs/latex/header_8c.tex delete mode 100644 docs/latex/header_8c__incl.dot delete mode 100644 docs/latex/header_8c__incl.md5 delete mode 100644 docs/latex/header_8h.tex delete mode 100644 docs/latex/header_8h__incl.dot delete mode 100644 docs/latex/header_8h__incl.md5 delete mode 100644 docs/latex/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.dot delete mode 100644 docs/latex/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.md5 delete mode 100644 docs/latex/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.dot delete mode 100644 docs/latex/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.md5 delete mode 100644 docs/latex/header__get_8c.tex delete mode 100644 docs/latex/header__get_8c__incl.dot delete mode 100644 docs/latex/header__get_8c__incl.md5 delete mode 100644 docs/latex/interface_2class_8c.tex delete mode 100644 docs/latex/interface_2class_8c__incl.dot delete mode 100644 docs/latex/interface_2class_8c__incl.md5 delete mode 100644 docs/latex/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.dot delete mode 100644 docs/latex/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.md5 delete mode 100644 docs/latex/interface_2class_8h.tex delete mode 100644 docs/latex/interface_2class_8h__dep__incl.dot delete mode 100644 docs/latex/interface_2class_8h__dep__incl.md5 delete mode 100644 docs/latex/interface_2class_8h__incl.dot delete mode 100644 docs/latex/interface_2class_8h__incl.md5 delete mode 100644 docs/latex/interface_2class_8h_a51116659174ec46c5a04721d31631053_cgraph.dot delete mode 100644 docs/latex/interface_2class_8h_a51116659174ec46c5a04721d31631053_cgraph.md5 delete mode 100644 docs/latex/interface_2logger_8c.tex delete mode 100644 docs/latex/interface_2logger_8c__incl.dot delete mode 100644 docs/latex/interface_2logger_8c__incl.md5 delete mode 100644 docs/latex/interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f_icgraph.dot delete mode 100644 docs/latex/interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f_icgraph.md5 delete mode 100644 docs/latex/interface_2logger_8h.tex delete mode 100644 docs/latex/interface_2logger_8h__dep__incl.dot delete mode 100644 docs/latex/interface_2logger_8h__dep__incl.md5 delete mode 100644 docs/latex/interface_2logger_8h__incl.dot delete mode 100644 docs/latex/interface_2logger_8h__incl.md5 delete mode 100644 docs/latex/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.dot delete mode 100644 docs/latex/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.md5 delete mode 100644 docs/latex/interface_8c.tex delete mode 100644 docs/latex/interface_8c__incl.dot delete mode 100644 docs/latex/interface_8c__incl.md5 delete mode 100644 docs/latex/interface_8h.tex delete mode 100644 docs/latex/interface_8h__dep__incl.dot delete mode 100644 docs/latex/interface_8h__dep__incl.md5 delete mode 100644 docs/latex/interface_8h__incl.dot delete mode 100644 docs/latex/interface_8h__incl.md5 delete mode 100644 docs/latex/listen_8c.tex delete mode 100644 docs/latex/listen_8c__incl.dot delete mode 100644 docs/latex/listen_8c__incl.md5 delete mode 100644 docs/latex/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.dot delete mode 100644 docs/latex/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.md5 delete mode 100644 docs/latex/logger_8c.tex delete mode 100644 docs/latex/logger_8c__incl.dot delete mode 100644 docs/latex/logger_8c__incl.md5 delete mode 100644 docs/latex/logger_8h.tex delete mode 100644 docs/latex/logger_8h__dep__incl.dot delete mode 100644 docs/latex/logger_8h__dep__incl.md5 delete mode 100644 docs/latex/logger_8h__incl.dot delete mode 100644 docs/latex/logger_8h__incl.md5 delete mode 100644 docs/latex/parse_8c.tex delete mode 100644 docs/latex/parse_8c__incl.dot delete mode 100644 docs/latex/parse_8c__incl.md5 delete mode 100644 docs/latex/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.dot delete mode 100644 docs/latex/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.md5 delete mode 100644 docs/latex/parse_8c_a9bb74bc564fe961a7ab5459ef5806de6_cgraph.dot delete mode 100644 docs/latex/parse_8c_a9bb74bc564fe961a7ab5459ef5806de6_cgraph.md5 delete mode 100644 docs/latex/parser_8c.tex delete mode 100644 docs/latex/parser_8c__incl.dot delete mode 100644 docs/latex/parser_8c__incl.md5 delete mode 100644 docs/latex/parser_8c_a659e7ea125685d797a099638b3376320_cgraph.dot delete mode 100644 docs/latex/parser_8c_a659e7ea125685d797a099638b3376320_cgraph.md5 delete mode 100644 docs/latex/poll_8c.tex delete mode 100644 docs/latex/poll_8c__dep__incl.dot delete mode 100644 docs/latex/poll_8c__dep__incl.md5 delete mode 100644 docs/latex/queue_8c.tex delete mode 100644 docs/latex/queue_8c__incl.dot delete mode 100644 docs/latex/queue_8c__incl.md5 delete mode 100644 docs/latex/read_8c.tex delete mode 100644 docs/latex/read_8c__dep__incl.dot delete mode 100644 docs/latex/read_8c__dep__incl.md5 delete mode 100644 docs/latex/refman.tex delete mode 100644 docs/latex/request_8c.tex delete mode 100644 docs/latex/request_8c__incl.dot delete mode 100644 docs/latex/request_8c__incl.md5 delete mode 100644 docs/latex/request_8h.tex delete mode 100644 docs/latex/request_8h__incl.dot delete mode 100644 docs/latex/request_8h__incl.md5 delete mode 100644 docs/latex/request__parser_8c.tex delete mode 100644 docs/latex/request__parser_8c__incl.dot delete mode 100644 docs/latex/request__parser_8c__incl.md5 delete mode 100644 docs/latex/request__parser_8h.tex delete mode 100644 docs/latex/request__parser_8h__incl.dot delete mode 100644 docs/latex/request__parser_8h__incl.md5 delete mode 100644 docs/latex/request__queue_8c.tex delete mode 100644 docs/latex/request__queue_8c__incl.dot delete mode 100644 docs/latex/request__queue_8c__incl.md5 delete mode 100644 docs/latex/request__queue_8h.tex delete mode 100644 docs/latex/request__queue_8h__incl.dot delete mode 100644 docs/latex/request__queue_8h__incl.md5 delete mode 100644 docs/latex/response_8h.tex delete mode 100644 docs/latex/response_8h__incl.dot delete mode 100644 docs/latex/response_8h__incl.md5 delete mode 100644 docs/latex/run_8c.tex delete mode 100644 docs/latex/run_8c__incl.dot delete mode 100644 docs/latex/run_8c__incl.md5 delete mode 100644 docs/latex/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.dot delete mode 100644 docs/latex/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 delete mode 100644 docs/latex/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.dot delete mode 100644 docs/latex/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 delete mode 100644 docs/latex/server_8c.tex delete mode 100644 docs/latex/server_8c__incl.dot delete mode 100644 docs/latex/server_8c__incl.md5 delete mode 100644 docs/latex/server_8h.tex delete mode 100644 docs/latex/server_8h__incl.dot delete mode 100644 docs/latex/server_8h__incl.md5 delete mode 100644 docs/latex/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.dot delete mode 100644 docs/latex/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 delete mode 100644 docs/latex/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.dot delete mode 100644 docs/latex/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 delete mode 100644 docs/latex/server_8h_a81f787254ea87cbc851d292e5a7d195d_icgraph.dot delete mode 100644 docs/latex/server_8h_a81f787254ea87cbc851d292e5a7d195d_icgraph.md5 delete mode 100644 docs/latex/signalHandling_8c.tex delete mode 100644 docs/latex/signalHandling_8c__incl.dot delete mode 100644 docs/latex/signalHandling_8c__incl.md5 delete mode 100644 docs/latex/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_cgraph.dot delete mode 100644 docs/latex/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_cgraph.md5 delete mode 100644 docs/latex/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_icgraph.dot delete mode 100644 docs/latex/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_icgraph.md5 delete mode 100644 docs/latex/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.dot delete mode 100644 docs/latex/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.md5 delete mode 100644 docs/latex/signalHandling_8h.tex delete mode 100644 docs/latex/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.dot delete mode 100644 docs/latex/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.md5 delete mode 100644 docs/latex/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_icgraph.dot delete mode 100644 docs/latex/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_icgraph.md5 delete mode 100644 docs/latex/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.dot delete mode 100644 docs/latex/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.md5 delete mode 100644 docs/latex/socket_8c.tex delete mode 100644 docs/latex/socket_8c__incl.dot delete mode 100644 docs/latex/socket_8c__incl.md5 delete mode 100644 docs/latex/socket_8h.tex delete mode 100644 docs/latex/socket_8h__dep__incl.dot delete mode 100644 docs/latex/socket_8h__dep__incl.md5 delete mode 100644 docs/latex/socket_8h__incl.dot delete mode 100644 docs/latex/socket_8h__incl.md5 delete mode 100644 docs/latex/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.dot delete mode 100644 docs/latex/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 delete mode 100644 docs/latex/socket_8h_a757c220e9371523ef55b1137a1efed57_cgraph.dot delete mode 100644 docs/latex/socket_8h_a757c220e9371523ef55b1137a1efed57_cgraph.md5 delete mode 100644 docs/latex/socket_8h_adbfc4792c437102f20e2c86c4ee8581b_cgraph.dot delete mode 100644 docs/latex/socket_8h_adbfc4792c437102f20e2c86c4ee8581b_cgraph.md5 delete mode 100644 docs/latex/sort_8c.tex delete mode 100644 docs/latex/sort_8c__incl.dot delete mode 100644 docs/latex/sort_8c__incl.md5 delete mode 100644 docs/latex/sort_8c_ad438f1a61df8ee1f19ef193370b902d2_icgraph.dot delete mode 100644 docs/latex/sort_8c_ad438f1a61df8ee1f19ef193370b902d2_icgraph.md5 delete mode 100644 docs/latex/stderr_8c.tex delete mode 100644 docs/latex/stderr_8c__incl.dot delete mode 100644 docs/latex/stderr_8c__incl.md5 delete mode 100644 docs/latex/stream__reader_8c.tex delete mode 100644 docs/latex/stream__reader_8c__incl.dot delete mode 100644 docs/latex/stream__reader_8c__incl.md5 delete mode 100644 docs/latex/stream__reader_8h.tex delete mode 100644 docs/latex/stream__reader_8h__incl.dot delete mode 100644 docs/latex/stream__reader_8h__incl.md5 delete mode 100644 docs/latex/structHttpHeader.tex delete mode 100644 docs/latex/structHttpRequest.tex delete mode 100644 docs/latex/structHttpRequestParser.tex delete mode 100644 docs/latex/structHttpRequestParser__coll__graph.dot delete mode 100644 docs/latex/structHttpRequestParser__coll__graph.md5 delete mode 100644 docs/latex/structHttpRequestQueue.tex delete mode 100644 docs/latex/structHttpRequestQueue__coll__graph.dot delete mode 100644 docs/latex/structHttpRequestQueue__coll__graph.md5 delete mode 100644 docs/latex/structHttpRequest__coll__graph.dot delete mode 100644 docs/latex/structHttpRequest__coll__graph.md5 delete mode 100644 docs/latex/structHttpResponse.tex delete mode 100644 docs/latex/structHttpResponse__coll__graph.dot delete mode 100644 docs/latex/structHttpResponse__coll__graph.md5 delete mode 100644 docs/latex/structLogger.tex delete mode 100644 docs/latex/structLoggerStderr.tex delete mode 100644 docs/latex/structLoggerSyslog.tex delete mode 100644 docs/latex/structServer.tex delete mode 100644 docs/latex/structServer__coll__graph.dot delete mode 100644 docs/latex/structServer__coll__graph.md5 delete mode 100644 docs/latex/structSock.tex delete mode 100644 docs/latex/structSock__coll__graph.dot delete mode 100644 docs/latex/structSock__coll__graph.md5 delete mode 100644 docs/latex/structclass.tex delete mode 100644 docs/latex/structclass__coll__graph.dot delete mode 100644 docs/latex/structclass__coll__graph.md5 delete mode 100644 docs/latex/structi__Class.tex delete mode 100644 docs/latex/structi__Class__coll__graph.dot delete mode 100644 docs/latex/structi__Class__coll__graph.md5 delete mode 100644 docs/latex/structi__Logger.tex delete mode 100644 docs/latex/structi__Logger__coll__graph.dot delete mode 100644 docs/latex/structi__Logger__coll__graph.md5 delete mode 100644 docs/latex/structi__StreamReader.tex delete mode 100644 docs/latex/structi__StreamReader__coll__graph.dot delete mode 100644 docs/latex/structi__StreamReader__coll__graph.md5 delete mode 100644 docs/latex/structiface__impl.tex delete mode 100644 docs/latex/structinterface.tex delete mode 100644 docs/latex/syslog_8c.tex delete mode 100644 docs/latex/syslog_8c__incl.dot delete mode 100644 docs/latex/syslog_8c__incl.md5 delete mode 100644 docs/latex/testserver_8c.tex delete mode 100644 docs/latex/testserver_8c__incl.dot delete mode 100644 docs/latex/testserver_8c__incl.md5 delete mode 100644 docs/latex/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.dot delete mode 100644 docs/latex/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 diff --git a/docs/html/accept_8c.html b/docs/html/accept_8c.html deleted file mode 100644 index 67473dc..0000000 --- a/docs/html/accept_8c.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - -server: src/socket/accept.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/socket/accept.c File Reference

-
-
-
#include <errno.h>
-#include <unistd.h>
-#include "socket.h"
-#include "interface/class.h"
-#include "interface/logger.h"
-
-Include dependency graph for accept.c:
-
-
- - -
-
-

Go to the source code of this file.

- - - -

-Functions

Sock socketAccept (Sock this, char remoteAddr[16])
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
Sock socketAccept (Sock this,
char remoteAddr[16] 
)
-
-
- -

: Uhh, this is bad. we open a new socket additionally to the one we get from the accept call. i have to change the socket constructor to be able to create the data structure without creation of a socket at all. For now i simply close the socket here.... :D

-

: change port to remote port on success

-

- -

Definition at line 9 of file accept.c.

-
{
-    Sock         sock;   /* Socket for client */
-    unsigned int len;    /* Length of client address data structure */
-
-    /* Set the size of the in-out parameter */
-    len = sizeof(this->addr);
-
-        sock = new(Sock, this->log, this->port);
-        close(sock->handle);
-    /* Wait for a client to connect */
-    sock->handle = accept(this->handle, (struct sockaddr *) &(sock->addr), &len);
-    if (-1 == sock->handle) {
-        loggerLog(this->log, LOGGER_WARNING,
-                "error accepting connection: %s", strerror(errno));
-    } else {
-        loggerLog(this->log, LOGGER_INFO,
-                                "handling client %s\n", inet_ntoa((sock->addr).sin_addr));
-    }
-
-    return sock;
-}
-
-

-Here is the call graph for this function:
-
-
- - -
-

- -
-
-
-
- - -
- All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
- - -
- -
- - - - diff --git a/docs/html/accept_8c__incl.map b/docs/html/accept_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/accept_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/accept_8c__incl.md5 b/docs/html/accept_8c__incl.md5 deleted file mode 100644 index e047770..0000000 --- a/docs/html/accept_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -c14cdcfeafedf0a0bd7fd5c8ff12c3a4 \ No newline at end of file diff --git a/docs/html/accept_8c__incl.png b/docs/html/accept_8c__incl.png deleted file mode 100644 index f2cf52ca3ef527f89f0dee2c8b4e567af4ec6c66..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hcm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Wb(?$nGowt_`kq)Q`JcP@ye;>xja=!w-Et|V?0|A$*|@KReHKIBaUf4l$_^;U zR_zx)OCakokSiaB()weiTv{sTZI-^2%@kD02Zdh><-$t2WfRJUUb!DzvwSIzNAkbj zvqYcaANnzrirUTZ*Y|eI7KSUDugn7hD zyQx%O?Pp@Yj8J|C2*u3_XnkI?*GxBrXn>v zrehc1aH{%F9%c`pQnEPNkDz0F&7IuqiheMcq^*gC+=pFosTk=M^c{2YxOeh;xSKHk zdGIm~GF+Y!nx2szHZ7Ulsy!~{dTsr*o%Z9~+?sCcs%kr~{B zURwL;ClS(0NRnK)7A{0(1Bt!QqQO~-g$+M9AunR63Bb5igg6h$B z)AcAzZ~jGXL>hRwoUsxqs&s~gTXnXo>nRXrBI6XFmTEa(3h&J1O&*CyUMQNb>6wOATh-Xey{4XC-BB_hY^QDe+4ThSFKW~2+6YE{MKsB6 zFK;F7k1tVFAlgJ;v-q@x<0X`cU^+6(Pe+KlPv;qOMzkDJx^5|y*@zM=lx8jzrsr-o zqQnV>bE!Lq9yJd>Xf@{b1oB&JBN(UJ$a_$@RcGm7KLw(1QxT{5w1g8V6z^c%Bg&K^ zZ=v*T#_Cr>QEQYsS|~Mt&Yy%btx?o$S#QP}w?^s3;>Wz6Kz?g&1f#AEljDQ^aJTBL zSV>CP%4EJq*$yXADBi)?*CLKD`qhg2rdbpb~{>|EO9>J(nL?0UJ{x02Wf0Y@CG7)jgE8h+$Kqx`M z7*9Ps-FLMyD!v;LUf~y{4@CJ__zjam-O5c+L=Z|r`aqNy%7YGP&ApbJpok!pg7kqX zFBCTCuqjAxLL!1t3epGS0HFi|LUHpzC~MykN - - diff --git a/docs/html/accept_8c_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 b/docs/html/accept_8c_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 deleted file mode 100644 index 9a38935..0000000 --- a/docs/html/accept_8c_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -fa824e3c68242e391222394188b16371 \ No newline at end of file diff --git a/docs/html/accept_8c_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.png b/docs/html/accept_8c_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.png deleted file mode 100644 index 631e47c0af5016309c2642222f012f85dda4731f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 680 zcmV;Z0$2TsP)%c00960 z|GiSOk^lez0d!JMQvg8b*k%9#0v$<2K~!jg?U)U7f-nq*u|PjkN-zKa&n`(*z|A>u zlet~rJB_7pxjrQ6sa@C9)YSCXh3Dw^ceTBHK0}9@5BiVYu`xI1#@v`2^S@$_x8?!i zJZ86NExM;M$0Q*o{{^EOk1$^@FUpMNea3iX*-qvS^?A&5!ZhU=QsUZ$ltSdqLy9tj zO!GY9^J>@zkmo@|H6CVOu&BmOK|{b?jh{ z2wbvUw^L%W94ERab@R>Km+aCV-ZyJCJI&ma3alrt>n5bCI$*)z_?pguMH zL_fdV;ivr!+|QuQ#*rTAXUY#!*4A?y! - - - -server: src/socket/accept.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/socket/accept.c

-
-
-Go to the documentation of this file.
00001 #include <errno.h>      /* for errno */
-00002 #include <unistd.h>
-00003 
-00004 #include "socket.h"
-00005 #include "interface/class.h"
-00006 #include "interface/logger.h"
-00007 
-00008 Sock
-00009 socketAccept(Sock this, char remoteAddr[16])
-00010 {
-00011     Sock         sock;   /* Socket for client */
-00012     unsigned int len;    /* Length of client address data structure */
-00013 
-00014     /* Set the size of the in-out parameter */
-00015     len = sizeof(this->addr);
-00016 
-00024         sock = new(Sock, this->log, this->port);
-00025         close(sock->handle);
-00030     /* Wait for a client to connect */
-00031     sock->handle = accept(this->handle, (struct sockaddr *) &(sock->addr), &len);
-00032     if (-1 == sock->handle) {
-00033         loggerLog(this->log, LOGGER_WARNING,
-00034                 "error accepting connection: %s", strerror(errno));
-00035     } else {
-00036         loggerLog(this->log, LOGGER_INFO,
-00037                                 "handling client %s\n", inet_ntoa((sock->addr).sin_addr));
-00038     }
-00039 
-00040     return sock;
-00041 }
-00042 
-00043 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/annotated.html b/docs/html/annotated.html deleted file mode 100644 index e144863..0000000 --- a/docs/html/annotated.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - -server: Class List - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

Class List

-
-
-
Here are the classes, structs, unions and interfaces with brief descriptions:
- - - - - - - - - - - - - - - - -
class
HttpHeader
HttpRequest
HttpRequestParser
HttpRequestQueue
HttpResponse
i_Class
i_Logger
i_StreamReader
iface_impl
interface
Logger
LoggerStderr
LoggerSyslog
Server
Sock
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/bc_s.png b/docs/html/bc_s.png deleted file mode 100644 index e4018628b5b45cb4301037485a29d7d74ac22138..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 677 zcmV;W0$TlvP)X?0Pv5h+5!wElpi=&YL!gfY!djl#UDdPKy97F|A-deTa@qo3BWh1YQIvzmHR^g zFjV4I6pLB7_*vEZk^%p7c7Bh>0`4r^X#gpJE_Vz9fSHKqclcZaV^k3gX%h+1`u||O zZ+BY?7(R=ayr^kXE=E0Dw=$Ud3VJ?9^Cz@hP?388Cw5>9TloOJ>^KczCgj zns2=|0!a|)Yq3{hjL{xyy7|Tk0N}Pe+g9PUTL!4{#;eUhrNd@!_T<>Vu+35c)h>sq ztgb?(6W3oFLz#%?OMEV@{j#4LuDvjVGZ~6hpQT8li5b0yjvK8c4efl+vSz5)P6 zle78)00_Iv5)&E~hnOdcd}L}i+MU>k+Q8#@KjqJJN`gRj(~)RmNrck9ht@LelPtVO zwp(J;k!T=gC#%o(13-^E+g@aqc()pf{+j|0w)AH*Mq$54UjLv#jV$RYpz3Vjg$$=u z>yjfBQOhL=^@+#4#$l|{~}HZ-?1Yy{lI*$N}*YDC`<{+;>_#gMXZdz4NI00000 LNkvXXu0mjfx86dR diff --git a/docs/html/class_8c.html b/docs/html/class_8c.html deleted file mode 100644 index 366e535..0000000 --- a/docs/html/class_8c.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - -server: src/class.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/class.c File Reference

-
-
-
#include <stdarg.h>
-#include <stdlib.h>
-#include "class.h"
-#include "interface.h"
-
-Include dependency graph for class.c:
-
-
-
-
-

Go to the source code of this file.

- - - - -

-Functions

void * class_getInterface (class_ptr *class, iface_ptr _iface)
class_ptr class_getClass (void *object)
-

Function Documentation

- -
-
- - - - - - - - -
class_ptr class_getClass (void * object)
-
-
- -

Definition at line 21 of file class.c.

-
{
-        return *(class_ptr *)(object - sizeof(void*));
-}
-
-

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void* class_getInterface (class_ptrclass,
iface_ptr _iface 
)
-
-
- -

Definition at line 8 of file class.c.

-
{
-        void * iface = (void *)IFACE_GET(*class, _iface);
-
-        while(NULL == iface && HAS_PARENT(*class)) {
-                *class = (*class)->parent;
-                iface = (void *)IFACE_GET(*class, _iface);
-        }
-
-        return iface;
-}
-
-
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/class_8c__incl.map b/docs/html/class_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/class_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/class_8c__incl.md5 b/docs/html/class_8c__incl.md5 deleted file mode 100644 index 0bea6af..0000000 --- a/docs/html/class_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -0faa5486e8244c2d53a573e205a0b141 \ No newline at end of file diff --git a/docs/html/class_8c__incl.png b/docs/html/class_8c__incl.png deleted file mode 100644 index e1230295b497d89492b71bd254b54233e2c49a20..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1636 zcmZ`(dobIH7LKh)ThV$}#iA*q+$A1OZKb71h(`&nAng@g&9r_EU1=gL)uBbUiZrflD)jY2PX3vKelhMz=#)@ZD(F8nAG`T6k%I&)2e8 zc6N4sLLq~}fWzUz!NCLq;qKkLnVFfEmX>8@WkR7)DwS#pG#br@03pyKor}>CCqTy* zUJyYbJ!uHa|0JziReg=o>|>06wf1P|z3Upyq%;ef7?5yWpO;x{2rW(>c%Udbs*gzZy&!>#N0e)PU~PWOUWDC(w&onz zD|7rXnoi?Bju#zYNA!>NBt)+N#>d#uE!)E_1o=HMn_FNG0koN$%exP2DbGI-Ear#3 zw>|pbt5NKAdYrtGtBsVho=jn24nHvMN11Lw4TGl26v40-(i7V{R$1*muZr@u}U#+c+6 ze!xu_F%77F9l!9H$s8stF_ZRZXSyZcRvsgly!g4^CCIP#txgW*i40B_vFdHw`j{6D=75oPV26&&Q2Pi9`Cy1 z%8P-L47(Fq-yvRaZ5Qc2Gx*m-V%?Rtn0)?IQqC{J)mbn;&Dg$z|Qvh|U=>H&IWv%S?<`T!oTkK{A2%kl(eE6ZE%x9#`FR4P=n*EDi$~$EJu%tDr z;wOmEfgTJHA_W)JR3w^2l{SkG$ zllrV>*=pl6FQasKluy2^0CUEw3asM2*=awsiZR>coF6Tr+lkAj)U83*cef-(0-{kb z$#Uf%vsFy>@Wk-fE~iZv1xc<7I)c0&%Eq*)9G-Se zjxY)Lov|E)I`?Jdv!TiV89wq9pWE8?pfRVzg_-f!OK&%W-3@`-G>z+8c2?4jEStgX zH)%u4z4N8y>j)GFC$7}4jFTN9-&z>KKV}SU#FO2FdvTAgmUYoae%IX2in*UJ5+;;! zgeXsgR}QfP&SdL3^((ePLU~aoztpin*}0HNlznopgS)_3=C=#`ReT$tEJt*#Q_kzS z^jYnOl=7E`X={g3t+*%83{;iXMWqgvHRxt W>#;WY&~LQA9u$I(Kyd;R^ZyOiBOpfr diff --git a/docs/html/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.map b/docs/html/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.map deleted file mode 100644 index 3b39aa3..0000000 --- a/docs/html/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.md5 b/docs/html/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.md5 deleted file mode 100644 index 1ea4dc6..0000000 --- a/docs/html/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -26bc749db3f2482bfaa222c2df1cdda1 \ No newline at end of file diff --git a/docs/html/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.png b/docs/html/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.png deleted file mode 100644 index f38c39705cbbc90e4fba74339af38055bc9d4d04..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 779 zcmV+m1N8ifP)%c00960 z|CUL=SO5S30d!JMQvg8b*k%9#0)R4Ldvu4ejH7kujZQruM^RL)GYxN9j1@(_@3>t%U-xxFoU1N~$ z8-r^G{s}5RL|&JNq^~nDHy>fh@-*Iy_$v&2Oqbw1v8!g#_wQt2EDdJn;o}S>It00; zwUR;Kzn1}#T<7T}1{7oPl89S55?tiC94^~}ws)-2wBbkF7M=1qNwcVwo*DFNb&H*? zB_kOQ6WbZivKH(ubj-R%gRM`nl)d$dRB z(G*#lMTPXjpg*jN!EBA0W?{f&MmES0uFKBg8)}H4$r#Bx2hJqQ2N+1j{F1Ul9T{aM zpE4s~25pj8l%VyBfl9NelY%>Z2WIHfAVm2w|>`n~iezZ`dH*jx7Fg?IP zQ_+TA13tNcw%>Ml3Q7e}mPUZ?1qG6&SyV_>-`Cn{ttMxPd?v!Dfp|ia+38*wWFDl6 zkQ&CMuj@ZqZ}oxXt9!wvWSvy}a6j~c_otZ{;z^oCh4l44kbHG7XnAoRFHUD7*`g23 z(Fexdcu5gc{*=RpWLx;Ptm>HT@oJ;xx;1Cogc266}%^Po5zk9nXBNag`O zzyJ_f&jpP9B}6#_q&Kp=1g$Qnx<}N1O%UWA$!#ZT7M0QqgM&jA13+Ls7ck~W6nw;i zAWfi7-;su{I2V)wy2H}V$JV|TI_d0XtyKNQpnLKi={@!e143QhZ)g6~3~CqqMth3E z{(m^^h4d2iKQefeH3p4AW6&5h24BwL(^kFMFIh*kX3hR_`vupX(Qmg_6iomC002ov JPDHLkV1mf@U-AF| diff --git a/docs/html/class_8c_source.html b/docs/html/class_8c_source.html deleted file mode 100644 index 58bb92f..0000000 --- a/docs/html/class_8c_source.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - -server: src/class.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/class.c

-
-
-Go to the documentation of this file.
00001 #include <stdarg.h>
-00002 #include <stdlib.h>
-00003 
-00004 #include "class.h"
-00005 #include "interface.h"
-00006 
-00007 void *
-00008 class_getInterface(class_ptr * class, iface_ptr _iface)
-00009 {
-00010         void * iface = (void *)IFACE_GET(*class, _iface);
-00011 
-00012         while(NULL == iface && HAS_PARENT(*class)) {
-00013                 *class = (*class)->parent;
-00014                 iface = (void *)IFACE_GET(*class, _iface);
-00015         }
-00016 
-00017         return iface;
-00018 }
-00019 
-00020 class_ptr
-00021 class_getClass(void * object)
-00022 {
-00023         return *(class_ptr *)(object - sizeof(void*));
-00024 }
-00025 
-00026 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/class_8h.html b/docs/html/class_8h.html deleted file mode 100644 index 7a541a9..0000000 --- a/docs/html/class_8h.html +++ /dev/null @@ -1,625 +0,0 @@ - - - - -server: include/class.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

include/class.h File Reference

-
-
-
#include <stdarg.h>
-#include <sys/types.h>
-#include <string.h>
-#include <assert.h>
-#include "interface.h"
-
-Include dependency graph for class.h:
-
-
- - -
-
-This graph shows which files directly or indirectly include this file:
-
-
- - -
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - -

-Classes

struct  class

-Defines

#define _ISOC99_SOURCE
#define CLASS_MAGIC   0xFEFE
#define CLASS(name)
#define EXTENDS(parent)   const char _[sizeof(struct c_##parent)]
#define _NULL   NULL
#define CREATE_CLASS(name, _parent,...)
#define _CALL(object, _iface, method,...)
#define CALL(object, _iface, method,...)
#define RETCALL(object, _iface, method, ret,...)
#define IFACE_GET(class, iface)   (interfaceGet(&((class)->impl),(iface)))
#define IFACE_EXISTS(class, iface)   (NULL != IFACE_GET((class),(iface)))
#define HAS_PARENT(class)   (NULL != ((class)->parent))

-Typedefs

typedef void(* fptr_classInit )(void)
typedef struct classclass_ptr

-Functions

void * class_getInterface (class_ptr *, iface_ptr)
class_ptr class_getClass (void *)
-

Define Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define _CALL( object,
 _iface,
 method,
 ... 
)
-
-
-Value:
class_ptr           class = class_getClass((object));                     \
-        struct i_##_iface * iface;                                                \
-        if (class->init)        class->init();                                        \
-        iface = (struct i_##_iface *)class_getInterface(&class, &i_##_iface);     \
-        while ((NULL == iface || NULL == iface->method) && HAS_PARENT(class)) {   \
-                class = class->parent;                                                \
-                if (class->init)        class->init();                                    \
-                iface = (struct i_##_iface *)class_getInterface(&class, &i_##_iface); \
-        };                                                                        \
-        assert(NULL != iface->method);
-

: actually i use gcc feature ## for variadoc... think about a way to make this standard.

- -

Definition at line 43 of file class.h.

- -
-
- -
-
- - - - -
#define _ISOC99_SOURCE
-
-
- -

Definition at line 11 of file class.h.

- -
-
- -
-
- - - - -
#define _NULL   NULL
-
-
- -

Definition at line 24 of file class.h.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define CALL( object,
 _iface,
 method,
 ... 
)
-
-
-Value:
do {                                             \
-                _CALL(object, _iface, method, ##__VA_ARGS__); \
-                iface->method(object, ##__VA_ARGS__);        \
-        } while(0)
-
-

Definition at line 55 of file class.h.

- -
-
- -
-
- - - - - - - - -
#define CLASS( name)
-
-
-Value:
struct c_##name;                   \
-        typedef struct c_##name * name;    \
-        extern struct class * const _##name; \
-        struct c_##name
-
-

Definition at line 15 of file class.h.

- -
-
- -
-
- - - - -
#define CLASS_MAGIC   0xFEFE
-
-
- -

Definition at line 13 of file class.h.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
#define CREATE_CLASS( name,
 _parent,
 ... 
)
-
-
-Value:
static struct class c_##name;      \
-        static void _classInit_(void) {    \
-                c_##name.parent = _##_parent;  \
-                c_##name.init   = NULL;        \
-        }                                  \
-        static struct class c_##name = {   \
-                CLASS_MAGIC,                   \
-                NULL,                          \
-                sizeof(struct c_##name),       \
-                _classInit_,                   \
-                INIT_IMPL(__VA_ARGS__)         \
-        }; struct class * const _##name = &c_##name
-
-

Definition at line 25 of file class.h.

- -
-
- -
-
- - - - - - - - -
#define EXTENDS( parent)   const char _[sizeof(struct c_##parent)]
-
-
- -

Definition at line 21 of file class.h.

- -
-
- -
-
- - - - - - - - -
#define HAS_PARENT( class)   (NULL != ((class)->parent))
-
-
- -

Definition at line 71 of file class.h.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define IFACE_EXISTS( class,
 iface 
)   (NULL != IFACE_GET((class),(iface)))
-
-
- -

Definition at line 69 of file class.h.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define IFACE_GET( class,
 iface 
)   (interfaceGet(&((class)->impl),(iface)))
-
-
- -

Definition at line 68 of file class.h.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define RETCALL( object,
 _iface,
 method,
 ret,
 ... 
)
-
-
-Value:
do {                                             \
-                _CALL(object, _iface, method, ##__VA_ARGS__); \
-                ret = iface->method(object, ##__VA_ARGS__);  \
-        } while(0)
-
-

Definition at line 61 of file class.h.

- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef struct class* class_ptr
-
-
- -

Definition at line 76 of file class.h.

- -
-
- -
-
- - - - -
typedef void(* fptr_classInit)(void)
-
-
- -

Definition at line 73 of file class.h.

- -
-
-

Function Documentation

- -
-
- - - - - - - - -
class_ptr class_getClass (void * )
-
-
- -

Definition at line 21 of file class.c.

-
{
-        return *(class_ptr *)(object - sizeof(void*));
-}
-
-

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void* class_getInterface (class_ptr,
iface_ptr  
)
-
-
- -

Definition at line 8 of file class.c.

-
{
-        void * iface = (void *)IFACE_GET(*class, _iface);
-
-        while(NULL == iface && HAS_PARENT(*class)) {
-                *class = (*class)->parent;
-                iface = (void *)IFACE_GET(*class, _iface);
-        }
-
-        return iface;
-}
-
-
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/class_8h__dep__incl.map b/docs/html/class_8h__dep__incl.map deleted file mode 100644 index fe1fa30..0000000 --- a/docs/html/class_8h__dep__incl.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/html/class_8h__dep__incl.md5 b/docs/html/class_8h__dep__incl.md5 deleted file mode 100644 index bae8614..0000000 --- a/docs/html/class_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -67b05a97c7d2bb2f2ee8cbd85edaea47 \ No newline at end of file diff --git a/docs/html/class_8h__dep__incl.png b/docs/html/class_8h__dep__incl.png deleted file mode 100644 index 08c702657957ed789d875377656479d1db1e5df9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2280 zcmVP))3M;8|tcXxMRUtg!Er@z0y)6>%c00960 z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8iTK=aZ+l7_ zKId;I9PL7SFmUADh<9|s@N}Ns8v(?pcIDAV34C5n_{JBX&#wjOe7@fTqKA>G-@{x=IYbb7N3^UVxP^okZYMm{z_R zQu(aqn$Iff$Eh<#CW*_u5&tFly$#o-AE(at7P#NqfWdbZZPE_|i_abqKC7f3sOx!} z0r}!OH<0-=u+*XovW=^}AO3twJJ+NiG-y105)TLiraHFxf7*|&jmx|r$@naievCX~ zkvKvautK)~N&B(2ahdlc8J}^|57ZHsl|?50kkR9{Z3#N2{V>U^;K`>pb4~hzI>ZN^ z>_2WGK9TO2_QQrR_%}1INk2~JACXh_JMD*Q-jB3=21!3yiX_%+pY?N<>nEbSBJBri z&GUZv@o9`;ou5@cTbs%kLo}@he(vH1d|Hdj7egwax#$gU&lgY{^PBX}@%pNJNs!n0 zVDtGS+S#YXL&_K2t$ak(_LUHC(ps6O#Y37L6Xq_WDTk1>9he+1#0&(@7hnxFH_m`} zdp?n2BFXs7f+tU6Jh~7#-_~q&z)X1l?H9u5JVwpTvg4ufccZ;shZd(UEQl}o{XP%3 zkt7Zv96pCJdTjs*57|dk8ei~xD!}l9-*f=S7xtpGZt;Vyij@&y6} zi)TIwOXUl3?E@Mwz{LS@KHsYY=y*nxP^|$U4|$z`6~X6zf>H*aGhiuruBRyF@LjAj z=amKFA%}xpS$OtGxzhM70gJ=aO~T)b0`ZVK>bvk69|;P@Gd>g)%V)M$mWy{DdvmQ) zj$8wl&3F1wFO)k)%J2USQtlKgni&Tg&-GzvN4txspCj-kZ7qF^m9Oj;D__|y{vAI5 z1RkgU&9gs5k*}b=6L_5Z2g7$1`ve}R{=x7$CGZd>c - - diff --git a/docs/html/class_8h__incl.md5 b/docs/html/class_8h__incl.md5 deleted file mode 100644 index f2d23c5..0000000 --- a/docs/html/class_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -12c1cadb41292afd851074fffef5daa9 \ No newline at end of file diff --git a/docs/html/class_8h__incl.png b/docs/html/class_8h__incl.png deleted file mode 100644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jRWHT{Za9QL1QJ$!^I%SnLkM4qM@@8c&Iv+g0~WLg^cj7}0t5 z(z9PM)6+6D=|K4*4L?~3Utdbr*5{PuZK9S7tE#3vg{mH|8hq(Tyj}qpZCgI#6}_@f zWjgZa>KIDjfMkAj@az}Ne8dx(2?xrL+7610{@kq3DODq-rB&rw8J#{KOE(7)!=J;UQ**eoAF3V z#f0#k3hDzXP3EOp_CqkWHa81OLuRvispoS<|E;H+brYq9)xoovm-^wV!Izd2Urx28 zpmL4JMm)9vsryF8EKW7!fD?_<*0YB(parENnBma9FR9F=gW;uT%PvKzpv2L-j*>9* zwW{hUJo6Oz8c$v|_;P+i)biWw!gTrACq#b1T=EIgTqXOkwPHTd>R3vC!Q6ln@1c$M z5si}-jeMTAdIfU_O54ISaZqv;C>a!DWsV7ybT&aLj`gcknqvYbolQ`RV;z(nbwx@k zf0k>hDW-J6#IS6(uKE3N_>Yl;sv29T{67^!b@x{7nR3Yg&ZC{u`73b#2oKQ7 zi-3+Kb>=dF(WvuQ;=GalKqoB*I?`NcEC(2^bh?Uwkxu6-3K$u5qQaagl=JB1 zC)Fv+gO0SP-&g4O5#*pB7YU5)^ve%3I+DG9Rw^)Z(QiJ|=t!) z1xh&xlyVR#N~+yr7T-;RHv~#a zHQOw@p-tV34PaY&AO<}4MxCr^D>sNO8?pVPYQwM94K0m^p+K!Ri{^VD*Uhk_GpTFd zm(G zeh+xBA_Y|^E4GvqYrI~*s2dm_P)aIIF-zUk2658no70A2$XDxPR!zHZCQpLWkF+Xg z+m!28>ZIK>J%eG$Uw9^-gFq<|vr5prGIS7<;Q0T9Z&H8m_5ClOG1VPY6^*=}{ VE+!eIoR0ti002ovPDHLkV1mQ}`Dg$D diff --git a/docs/html/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.map b/docs/html/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.map deleted file mode 100644 index 3b39aa3..0000000 --- a/docs/html/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.md5 b/docs/html/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.md5 deleted file mode 100644 index 1ea4dc6..0000000 --- a/docs/html/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -26bc749db3f2482bfaa222c2df1cdda1 \ No newline at end of file diff --git a/docs/html/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.png b/docs/html/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.png deleted file mode 100644 index f38c39705cbbc90e4fba74339af38055bc9d4d04..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 779 zcmV+m1N8ifP)%c00960 z|CUL=SO5S30d!JMQvg8b*k%9#0)R4Ldvu4ejH7kujZQruM^RL)GYxN9j1@(_@3>t%U-xxFoU1N~$ z8-r^G{s}5RL|&JNq^~nDHy>fh@-*Iy_$v&2Oqbw1v8!g#_wQt2EDdJn;o}S>It00; zwUR;Kzn1}#T<7T}1{7oPl89S55?tiC94^~}ws)-2wBbkF7M=1qNwcVwo*DFNb&H*? zB_kOQ6WbZivKH(ubj-R%gRM`nl)d$dRB z(G*#lMTPXjpg*jN!EBA0W?{f&MmES0uFKBg8)}H4$r#Bx2hJqQ2N+1j{F1Ul9T{aM zpE4s~25pj8l%VyBfl9NelY%>Z2WIHfAVm2w|>`n~iezZ`dH*jx7Fg?IP zQ_+TA13tNcw%>Ml3Q7e}mPUZ?1qG6&SyV_>-`Cn{ttMxPd?v!Dfp|ia+38*wWFDl6 zkQ&CMuj@ZqZ}oxXt9!wvWSvy}a6j~c_otZ{;z^oCh4l44kbHG7XnAoRFHUD7*`g23 z(Fexdcu5gc{*=RpWLx;Ptm>HT@oJ;xx;1Cogc266}%^Po5zk9nXBNag`O zzyJ_f&jpP9B}6#_q&Kp=1g$Qnx<}N1O%UWA$!#ZT7M0QqgM&jA13+Ls7ck~W6nw;i zAWfi7-;su{I2V)wy2H}V$JV|TI_d0XtyKNQpnLKi={@!e143QhZ)g6~3~CqqMth3E z{(m^^h4d2iKQefeH3p4AW6&5h24BwL(^kFMFIh*kX3hR_`vupX(Qmg_6iomC002ov JPDHLkV1mf@U-AF| diff --git a/docs/html/class_8h_source.html b/docs/html/class_8h_source.html deleted file mode 100644 index 8340976..0000000 --- a/docs/html/class_8h_source.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - -server: include/class.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

include/class.h

-
-
-Go to the documentation of this file.
00001 #ifndef __CLASS_H__
-00002 #define __CLASS_H__
-00003 
-00004 #include <stdarg.h>
-00005 #include <sys/types.h>
-00006 #include <string.h>
-00007 #include <assert.h>
-00008 
-00009 #include "interface.h"
-00010 
-00011 #define _ISOC99_SOURCE
-00012 
-00013 #define CLASS_MAGIC    0xFEFE
-00014 
-00015 #define CLASS(name)                    \
-00016         struct c_##name;                   \
-00017         typedef struct c_##name * name;    \
-00018         extern struct class * const _##name; \
-00019         struct c_##name
-00020 
-00021 #define EXTENDS(parent) \
-00022         const char _[sizeof(struct c_##parent)]
-00023 
-00024 #define _NULL   NULL
-00025 #define CREATE_CLASS(name,_parent,...) \
-00026         static struct class c_##name;      \
-00027         static void _classInit_(void) {    \
-00028                 c_##name.parent = _##_parent;  \
-00029                 c_##name.init   = NULL;        \
-00030         }                                  \
-00031         static struct class c_##name = {   \
-00032                 CLASS_MAGIC,                   \
-00033                 NULL,                          \
-00034                 sizeof(struct c_##name),       \
-00035                 _classInit_,                   \
-00036                 INIT_IMPL(__VA_ARGS__)         \
-00037         }; struct class * const _##name = &c_##name
-00038 
-00043 #define _CALL(object,_iface,method,...)                                       \
-00044         class_ptr           class = class_getClass((object));                     \
-00045         struct i_##_iface * iface;                                                \
-00046         if (class->init)        class->init();                                        \
-00047         iface = (struct i_##_iface *)class_getInterface(&class, &i_##_iface);     \
-00048         while ((NULL == iface || NULL == iface->method) && HAS_PARENT(class)) {   \
-00049                 class = class->parent;                                                \
-00050                 if (class->init)        class->init();                                    \
-00051                 iface = (struct i_##_iface *)class_getInterface(&class, &i_##_iface); \
-00052         };                                                                        \
-00053         assert(NULL != iface->method);
-00054 
-00055 #define CALL(object,_iface,method,...)               \
-00056         do {                                             \
-00057                 _CALL(object, _iface, method, ##__VA_ARGS__); \
-00058                 iface->method(object, ##__VA_ARGS__);        \
-00059         } while(0)
-00060 
-00061 #define RETCALL(object,_iface,method,ret,...)        \
-00062         do {                                             \
-00063                 _CALL(object, _iface, method, ##__VA_ARGS__); \
-00064                 ret = iface->method(object, ##__VA_ARGS__);  \
-00065         } while(0)
-00066 
-00067 
-00068 #define IFACE_GET(class,iface)          (interfaceGet(&((class)->impl),(iface)))
-00069 #define IFACE_EXISTS(class,iface)       (NULL != IFACE_GET((class),(iface)))
-00070 
-00071 #define HAS_PARENT(class)                       (NULL != ((class)->parent))
-00072 
-00073 typedef void (* fptr_classInit)(void);
-00074 
-00075 struct class;
-00076 typedef struct class * class_ptr;
-00077 struct class {
-00078         const int         magic;
-00079         class_ptr         parent;
-00080         size_t            object_size;
-00081         fptr_classInit    init;
-00082         struct iface_impl impl;
-00083 };
-00084 
-00085 extern void *    class_getInterface(class_ptr *, iface_ptr);
-00086 extern class_ptr class_getClass(void *);
-00087 
-00088 #endif // __CLASS_H__
-00089 
-00090 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/classes.html b/docs/html/classes.html deleted file mode 100644 index f5270a8..0000000 --- a/docs/html/classes.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - -server: Class Index - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

Class Index

-
-
-
C | H | I | L | S
- -
  C  
-
HttpRequestParser   i_Class   interface   LoggerSyslog   
class   HttpRequestQueue   i_Logger   
  L  
-
  S  
-
  H  
-
HttpResponse   i_StreamReader   Logger   Server   
HttpHeader   
  I  
-
iface_impl   LoggerStderr   Sock   
HttpRequest   
C | H | I | L | S
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/close__conn_8c.html b/docs/html/close__conn_8c.html deleted file mode 100644 index f932dcc..0000000 --- a/docs/html/close__conn_8c.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - -server: src/server/close_conn.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/server/close_conn.c File Reference

-
-
-
#include <string.h>
-#include "server.h"
-#include "interface/class.h"
-
-Include dependency graph for close_conn.c:
-
-
-
-
-

Go to the source code of this file.

- - - -

-Functions

void serverCloseConn (Server this, unsigned int i)
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void serverCloseConn (Server this,
unsigned int i 
)
-
-
- -

Definition at line 7 of file close_conn.c.

-
{
-        int fd = (this->fds)[i].fd;
-
-        delete(&((this->conns)[fd].sock));
-        delete(&((this->conns)[fd].reader));
-        memset((this->conns)[fd].wbuf, 0, strlen((this->conns)[fd].wbuf));
-        (this->fds)[i].events = 0;
-        (this->fds)[i].revents = 0;
-        (this->fds)[i].fd = 0;
-        this->ndel++;
-//      CLEAR_CONN(this, i);
-//      this->nfds--;
-}
-
-

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/close__conn_8c__incl.map b/docs/html/close__conn_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/close__conn_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/close__conn_8c__incl.md5 b/docs/html/close__conn_8c__incl.md5 deleted file mode 100644 index 89fb410..0000000 --- a/docs/html/close__conn_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -680a421e377c1cfade97ad3db077eb73 \ No newline at end of file diff --git a/docs/html/close__conn_8c__incl.png b/docs/html/close__conn_8c__incl.png deleted file mode 100644 index 5187692366a5d9a04d3f3484f8779657e65fdfb5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1646 zcmV-!29f!RP)A#!cNZ5IkB^VPzrWMd z(*OVf|NsB>yEVH20004WQchCZ$6QUWeg z0xnWV1lKj5$=Qxw`a5w%aQ)pgIonadp>Dp(*^Z|KcOTTycj`XeAMG$S9WFpL>PBs8 zAJ}+nA)EWy1RZ&Zf^`cG(~(xjGZ|HnSH3*kj|EQkU9UQI18!ZX`Sd*-bv_MPu(2Ni z%GA`GApowqb)Dug8TsUfpSa6IH87>QJlhWiu2XFX@A?fYrRyJ9K`kaU==b{#8==~o zc4E>Uc?f_5OFv9Unn}1Db)muqaCCXL9}3*#-stMVO^TAhoePcHf}$NvQ-cm8)6EXi zAJL-UCL=9{j(a^UV*uBg7ByX_2LY$6K>ZIEy~{oBEv!^Bc33xEN8s*5f8$aj6Lh2@ zql%l3v=v9)Y{k8T{Jb(nFDV6PZM;cA&xzcx|un+o899k z;CkDBEO5O(25G74`1O8$vqr$APdoFl(eTBXZg$A{RGo~p;%??toq$uFX+IXYol3w( z>fGSWUxUXC{Wc?~q~ana;36g9A|>D=CEy|@;3BpD-`Ou8KF`_w^=(Gm=|&(U>D7Mfa3@Rfcsxqud}C@JP|2Vm31&x3HHjk2*cNSpc8NoSfW>BjC(M zx0JgFmeZ13z5k!I=ss-!34HvfKIH6)Hk#Gg+G?9n(b%Mg(tEy_1{1jlf~-9e}G(63hVPedeKG3 zpCao+lZ$>H`{v|3P;}^Naz5;G{r+R@G0ClYicJ>70nx>NQMXDI#!=8+UarC86N5Vn zI+O5<{Vg%KRl)q7DCIS2Zvf85vtNQKlHLFuBTMczol@ky1ve_X{enxf%(elyo!HrQOw4t$nJps^ETV3t?wH@HIO1r;yu4iHd{^@?|Zy|F0}9J$V_0`4!l*N)oUnCy1+=H3q+je^ie zQy@6_$SD-1Y0X+=!EC9ENk6yKzvnu)R9n7JG^N5(`h|meH(*mBIC9NDKu4}LHS~qD zTg{t$KX8QwH<|*S*4JxmQn0PC#gT=UDt6%*>3t^GIdD){|Gk5oR9qxDa8SSvFSr!y zs)QYyOzFUlrl6(Di$-7S+_dVI$`)kJg+(#adl~Up0INCW{*kW2P-U{yr znb6{N9|~?X1- - - - diff --git a/docs/html/close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266_icgraph.md5 b/docs/html/close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266_icgraph.md5 deleted file mode 100644 index 7ae5cd5..0000000 --- a/docs/html/close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -ec0f0d34bf543ab4e0985794d4eb997c \ No newline at end of file diff --git a/docs/html/close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266_icgraph.png b/docs/html/close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266_icgraph.png deleted file mode 100644 index 054f982ff143709fa5dd1c2097985933aeb256d8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 935 zcmV;Y16cftP)0000yP)t-s{{R0O z8E`*8KYxFJ-rwJzpPwHeAHKi8BO@a(FE2+&M_*rGr>CcPcXt;T7mtsRzrVlJ)6)O| z0RR90p7cV}00001bW%=J06^y0W&i*K8A(JzRA_23^m+n4lBrk6r1eO4-l$adb#CzTC67tT9kzOV=ZUJ_G) zmq~!v&9#0^0bV8nUN_hJF$H*;z8<)@A&%4H&pmm@HvmtY;C84R^UrI4^LmSg&A6?@Hc%1wc7iYa65$`xp z0ckF5LJOEZO-A5$^d1J*yz=8Z$$Nh}$dqLp-4tSHRT@r)C8s;D45=@|-xD(`* zWXij1cfj=>jFLsH;ovj0tz+Q#*Ej(V1sOdSs`o^54%5iB>pcOdN1_c|g|i>e+GcDO zehR#x!WEPe+_+fInkpFjN#81}aIJU1xrYxYz>6w;15S0F1)O@Z#a3*2pB>WEkW6IR zZws$`I6H3J!b=Z-09@_T&CE6RaEA@s@%Go?Q|0vsOFs)Jo<4)6(f z8#C5sunPmXG@eYn5lpW&^RnBeupc{KW^B8Z$G|W7=H&`|1K5TrXN+6lHyn*8(+)Tu zJDB_k_=}6!RXFU8dS|kL|GnP+;`4;+zWDs=@;$&a7hX+Y|67UxFS>>R7vObstshf> zmq~!v&9#0^0bV8nUN_hJF$;lzR=ErRf;ANWtD8t95{dpt{Qzr^2Af2eQ#=3w002ov JPDHLkV1kRVv1|YU diff --git a/docs/html/close__conn_8c_source.html b/docs/html/close__conn_8c_source.html deleted file mode 100644 index 9c22b4a..0000000 --- a/docs/html/close__conn_8c_source.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - -server: src/server/close_conn.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/server/close_conn.c

-
-
-Go to the documentation of this file.
00001 #include <string.h>
-00002 
-00003 #include "server.h"
-00004 #include "interface/class.h"
-00005 
-00006 void
-00007 serverCloseConn(Server this, unsigned int i)
-00008 {
-00009         int fd = (this->fds)[i].fd;
-00010 
-00011         delete(&((this->conns)[fd].sock));
-00012         delete(&((this->conns)[fd].reader));
-00013         memset((this->conns)[fd].wbuf, 0, strlen((this->conns)[fd].wbuf));
-00014         (this->fds)[i].events = 0;
-00015         (this->fds)[i].revents = 0;
-00016         (this->fds)[i].fd = 0;
-00017         this->ndel++;
-00018 //      CLEAR_CONN(this, i);
-00019 //      this->nfds--;
-00020 }
-00021 
-00022 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/closed.png b/docs/html/closed.png deleted file mode 100644 index b7d4bd9fef2272c74b94762c9e2496177017775e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 126 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{VuAVNAAr*{o?>h22DDp4|bgj*t z)u^AqcA-V@guRYpb17F<&b?_~8HV>~XqWvB;^$!VVSTy0!eQcJp_yD7TIQA>7dijs YXf6~H5cs^Q6KEiVr>mdKI;Vst0NsWqGynhq diff --git a/docs/html/config_8h.html b/docs/html/config_8h.html deleted file mode 100644 index 6672470..0000000 --- a/docs/html/config_8h.html +++ /dev/null @@ -1,567 +0,0 @@ - - - - -server: config.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

config.h File Reference

-
-
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Defines

#define HAVE_DLFCN_H   1
#define HAVE_INTTYPES_H   1
#define HAVE_JSON_JSON_H   1
#define HAVE_LIBJSON   1
#define HAVE_MEMORY_H   1
#define HAVE_MEMSET   1
#define HAVE_STDARG_H   1
#define HAVE_STDBOOL_H   1
#define HAVE_STDINT_H   1
#define HAVE_STDIO_H   1
#define HAVE_STDLIB_H   1
#define HAVE_STRINGS_H   1
#define HAVE_STRING_H   1
#define HAVE_SYSLOG_H   1
#define HAVE_SYS_STAT_H   1
#define HAVE_SYS_TYPES_H   1
#define HAVE_UNISTD_H   1
#define HAVE__BOOL   1
#define LT_OBJDIR   ".libs/"
#define PACKAGE   "cclass"
#define PACKAGE_BUGREPORT   "Georg Hopp <georg@steffers.org>"
#define PACKAGE_NAME   "cclass"
#define PACKAGE_STRING   "cclass 0.0.1"
#define PACKAGE_TARNAME   "cclass"
#define PACKAGE_URL   ""
#define PACKAGE_VERSION   "0.0.1"
#define STDC_HEADERS   1
#define VERSION   "0.0.1"
-

Define Documentation

- -
-
- - - - -
#define HAVE__BOOL   1
-
-
- -

Definition at line 56 of file config.h.

- -
-
- -
-
- - - - -
#define HAVE_DLFCN_H   1
-
-
- -

Definition at line 5 of file config.h.

- -
-
- -
-
- - - - -
#define HAVE_INTTYPES_H   1
-
-
- -

Definition at line 8 of file config.h.

- -
-
- -
-
- - - - -
#define HAVE_JSON_JSON_H   1
-
-
- -

Definition at line 11 of file config.h.

- -
-
- -
-
- - - - -
#define HAVE_LIBJSON   1
-
-
- -

Definition at line 14 of file config.h.

- -
-
- -
-
- - - - -
#define HAVE_MEMORY_H   1
-
-
- -

Definition at line 17 of file config.h.

- -
-
- -
-
- - - - -
#define HAVE_MEMSET   1
-
-
- -

Definition at line 20 of file config.h.

- -
-
- -
-
- - - - -
#define HAVE_STDARG_H   1
-
-
- -

Definition at line 23 of file config.h.

- -
-
- -
-
- - - - -
#define HAVE_STDBOOL_H   1
-
-
- -

Definition at line 26 of file config.h.

- -
-
- -
-
- - - - -
#define HAVE_STDINT_H   1
-
-
- -

Definition at line 29 of file config.h.

- -
-
- -
-
- - - - -
#define HAVE_STDIO_H   1
-
-
- -

Definition at line 32 of file config.h.

- -
-
- -
-
- - - - -
#define HAVE_STDLIB_H   1
-
-
- -

Definition at line 35 of file config.h.

- -
-
- -
-
- - - - -
#define HAVE_STRING_H   1
-
-
- -

Definition at line 41 of file config.h.

- -
-
- -
-
- - - - -
#define HAVE_STRINGS_H   1
-
-
- -

Definition at line 38 of file config.h.

- -
-
- -
-
- - - - -
#define HAVE_SYS_STAT_H   1
-
-
- -

Definition at line 47 of file config.h.

- -
-
- -
-
- - - - -
#define HAVE_SYS_TYPES_H   1
-
-
- -

Definition at line 50 of file config.h.

- -
-
- -
-
- - - - -
#define HAVE_SYSLOG_H   1
-
-
- -

Definition at line 44 of file config.h.

- -
-
- -
-
- - - - -
#define HAVE_UNISTD_H   1
-
-
- -

Definition at line 53 of file config.h.

- -
-
- -
-
- - - - -
#define LT_OBJDIR   ".libs/"
-
-
- -

Definition at line 60 of file config.h.

- -
-
- -
-
- - - - -
#define PACKAGE   "cclass"
-
-
- -

Definition at line 66 of file config.h.

- -
-
- -
-
- - - - -
#define PACKAGE_BUGREPORT   "Georg Hopp <georg@steffers.org>"
-
-
- -

Definition at line 69 of file config.h.

- -
-
- -
-
- - - - -
#define PACKAGE_NAME   "cclass"
-
-
- -

Definition at line 72 of file config.h.

- -
-
- -
-
- - - - -
#define PACKAGE_STRING   "cclass 0.0.1"
-
-
- -

Definition at line 75 of file config.h.

- -
-
- -
-
- - - - -
#define PACKAGE_TARNAME   "cclass"
-
-
- -

Definition at line 78 of file config.h.

- -
-
- -
-
- - - - -
#define PACKAGE_URL   ""
-
-
- -

Definition at line 81 of file config.h.

- -
-
- -
-
- - - - -
#define PACKAGE_VERSION   "0.0.1"
-
-
- -

Definition at line 84 of file config.h.

- -
-
- -
-
- - - - -
#define STDC_HEADERS   1
-
-
- -

Definition at line 87 of file config.h.

- -
-
- -
-
- - - - -
#define VERSION   "0.0.1"
-
-
- -

Definition at line 90 of file config.h.

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/config_8h_source.html b/docs/html/config_8h_source.html deleted file mode 100644 index 8ad6ae0..0000000 --- a/docs/html/config_8h_source.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - -server: config.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

config.h

-
-
-Go to the documentation of this file.
00001 /* config.h.  Generated from config.h.in by configure.  */
-00002 /* config.h.in.  Generated from configure.ac by autoheader.  */
-00003 
-00004 /* Define to 1 if you have the <dlfcn.h> header file. */
-00005 #define HAVE_DLFCN_H 1
-00006 
-00007 /* Define to 1 if you have the <inttypes.h> header file. */
-00008 #define HAVE_INTTYPES_H 1
-00009 
-00010 /* Define to 1 if you have the <json/json.h> header file. */
-00011 #define HAVE_JSON_JSON_H 1
-00012 
-00013 /* Define to 1 if you have the `json' library (-ljson). */
-00014 #define HAVE_LIBJSON 1
-00015 
-00016 /* Define to 1 if you have the <memory.h> header file. */
-00017 #define HAVE_MEMORY_H 1
-00018 
-00019 /* Define to 1 if you have the `memset' function. */
-00020 #define HAVE_MEMSET 1
-00021 
-00022 /* Define to 1 if you have the <stdarg.h> header file. */
-00023 #define HAVE_STDARG_H 1
-00024 
-00025 /* Define to 1 if stdbool.h conforms to C99. */
-00026 #define HAVE_STDBOOL_H 1
-00027 
-00028 /* Define to 1 if you have the <stdint.h> header file. */
-00029 #define HAVE_STDINT_H 1
-00030 
-00031 /* Define to 1 if you have the <stdio.h> header file. */
-00032 #define HAVE_STDIO_H 1
-00033 
-00034 /* Define to 1 if you have the <stdlib.h> header file. */
-00035 #define HAVE_STDLIB_H 1
-00036 
-00037 /* Define to 1 if you have the <strings.h> header file. */
-00038 #define HAVE_STRINGS_H 1
-00039 
-00040 /* Define to 1 if you have the <string.h> header file. */
-00041 #define HAVE_STRING_H 1
-00042 
-00043 /* Define to 1 if you have the <syslog.h> header file. */
-00044 #define HAVE_SYSLOG_H 1
-00045 
-00046 /* Define to 1 if you have the <sys/stat.h> header file. */
-00047 #define HAVE_SYS_STAT_H 1
-00048 
-00049 /* Define to 1 if you have the <sys/types.h> header file. */
-00050 #define HAVE_SYS_TYPES_H 1
-00051 
-00052 /* Define to 1 if you have the <unistd.h> header file. */
-00053 #define HAVE_UNISTD_H 1
-00054 
-00055 /* Define to 1 if the system has the type `_Bool'. */
-00056 #define HAVE__BOOL 1
-00057 
-00058 /* Define to the sub-directory in which libtool stores uninstalled libraries.
-00059    */
-00060 #define LT_OBJDIR ".libs/"
-00061 
-00062 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
-00063 /* #undef NO_MINUS_C_MINUS_O */
-00064 
-00065 /* Name of package */
-00066 #define PACKAGE "cclass"
-00067 
-00068 /* Define to the address where bug reports for this package should be sent. */
-00069 #define PACKAGE_BUGREPORT "Georg Hopp <georg@steffers.org>"
-00070 
-00071 /* Define to the full name of this package. */
-00072 #define PACKAGE_NAME "cclass"
-00073 
-00074 /* Define to the full name and version of this package. */
-00075 #define PACKAGE_STRING "cclass 0.0.1"
-00076 
-00077 /* Define to the one symbol short name of this package. */
-00078 #define PACKAGE_TARNAME "cclass"
-00079 
-00080 /* Define to the home page for this package. */
-00081 #define PACKAGE_URL ""
-00082 
-00083 /* Define to the version of this package. */
-00084 #define PACKAGE_VERSION "0.0.1"
-00085 
-00086 /* Define to 1 if you have the ANSI C header files. */
-00087 #define STDC_HEADERS 1
-00088 
-00089 /* Version number of package */
-00090 #define VERSION "0.0.1"
-00091 
-00092 /* Define to `__inline__' or `__inline' if that's what the C compiler
-00093    calls it, or to nothing if 'inline' is not supported under any name.  */
-00094 #ifndef __cplusplus
-00095 /* #undef inline */
-00096 #endif
-00097 
-00098 /* Define to `int' if <sys/types.h> does not define. */
-00099 /* #undef pid_t */
-00100 
-00101 /* Define to `unsigned int' if <sys/types.h> does not define. */
-00102 /* #undef size_t */
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/connect_8c.html b/docs/html/connect_8c.html deleted file mode 100644 index 51c623b..0000000 --- a/docs/html/connect_8c.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - -server: src/socket/connect.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/socket/connect.c File Reference

-
-
-
#include <stdlib.h>
-#include <errno.h>
-#include "socket.h"
-#include "interface/class.h"
-#include "interface/logger.h"
-
-Include dependency graph for connect.c:
-
-
-
-
-

Go to the source code of this file.

- - - -

-Functions

void socketConnect (Sock this, const char *addr)
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void socketConnect (Sock this,
const char * addr 
)
-
-
- -

Definition at line 10 of file connect.c.

-
{
-        inet_pton(AF_INET, addr, &((this->addr).sin_addr));
-    (this->addr).sin_family = AF_INET;           /* Internet address family */
-    (this->addr).sin_port   = htons(this->port); /* Local port */
-
-        if (-1 == connect(this->handle, (struct sockaddr*) &(this->addr), sizeof(this->addr))) {
-        loggerLog(this->log, LOGGER_CRIT,
-                "error connection socket: %s - service terminated",
-                strerror(errno));
-        exit(EXIT_FAILURE);
-    }
-}
-
-

-Here is the call graph for this function:
-
-
- - -
-

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/connect_8c__incl.map b/docs/html/connect_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/connect_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/connect_8c__incl.md5 b/docs/html/connect_8c__incl.md5 deleted file mode 100644 index 52057cb..0000000 --- a/docs/html/connect_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -369f6f148cdb8193e9425b0be26688fa \ No newline at end of file diff --git a/docs/html/connect_8c__incl.png b/docs/html/connect_8c__incl.png deleted file mode 100644 index 24b7067b9bd27a84d49d5d6b7540e34ba2029626..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2328 zcmZ8jdpHyP7oSSGB#pF8QH`QR_PXTOirFQXOO9UYJga$q?C0HAgTcV#@gNW=DJhB1=XZ5=tz)dMt;KKl5v@y7VNMRtfD>cA0RVu^ zZ8ZF(OE`Vn^Ikgh*mgfpDU9@<)2nOeP0$BFt4a{`A~QVPicvYCH~+fgBJ+2a|D0RC zZ`w$w4{mag=Dm{+6h_`c06@9G*V2KTLZrY_9>3M^Mo^3L2PQW#cGgl9y5cgJuzJb( zoe`9K-R|WwKbNXsQ;iU(gE`mi#3=Eb?a?HvymwMIL*D?o>sVjU(HCsOyz}6JLy;HD=3PMx)d7XT%eKaN zBT&bBk**A5EQU82Zg>Tt0Q62kZppXH{J$DA6O~itv2*7u; zOD0`CLa}-(JCeKtxn<{&z>`dgJ%0%}byAT^RdIb$ZJ#IhYVZ0gycCkEc^PkRHm88h zv_3E%J%2JIzlskDww+dmno85OwmUY?(tNuYE$AwArGYXkINWph`IT3Ja zU>CM?4^(H%jBp9Gk9DrerlG`nvyGg_`J$~VBs&~L81Z8J$61t;c^fJ>B~k|M@7O(J zn_66%jNZA)e=eEf(?lGHC!@hNO1rYA>xh?5%}A?+Dcx(I5ymcBo9kAN>+1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_cgraph.map b/docs/html/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.map deleted file mode 100644 index 59d72ce..0000000 --- a/docs/html/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.md5 b/docs/html/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.md5 deleted file mode 100644 index 995511b..0000000 --- a/docs/html/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -407886eba5bb27f4936db6d792217edc \ No newline at end of file diff --git a/docs/html/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.png b/docs/html/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.png deleted file mode 100644 index 17319e97712d5316eac8260df8551f11e02cfb65..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 693 zcmV;m0!safP)%c00960 z|GiSOk^lez0d!JMQvg8b*k%9#0xC&FK~!jg?U?Jbs~`-8Eh@K&Oy2)xPXeJ{w!4FN zj{C;?VG67`dRJ2jERG6#K+j-IFoj5~Ai_j_iI&Sh+a0|)`3PY89K@Q_-=ru0Ej_dKy3;*1dz8>= z>Qw`cn`Px^XK_@}$JwEs(|qZYApx!BeV$*B(pX;kvyE#f)8`;oc}9Es$7!wU)6SQN zKv9Cc2j+7@=*3waRrFL!gi?EI&Airui^>HBSe<$WEab<;=%?=0|Q)C)M00eEzjF z$K}l5(u*~vOU4EIgUPPW{E?4xT|!5_URHSd2Sc32Q9*x$-ubn&Nb&OS2MI53b>R5! z^cx)}j9PU{_Yz)YA2@zKJuhfk*J&fX!rwc70sR|l^h=}BH~L2Z_vmld>B)Zi44Rsn beu@48GmOrwnag?h00000NkvXXu0mjfSaDy< diff --git a/docs/html/connect_8c_source.html b/docs/html/connect_8c_source.html deleted file mode 100644 index 4b7ed99..0000000 --- a/docs/html/connect_8c_source.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - -server: src/socket/connect.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/socket/connect.c

-
-
-Go to the documentation of this file.
00001 #include <stdlib.h>     /* for atoi() and exit() */
-00002 #include <errno.h>      /* for errno */
-00003 
-00004 #include "socket.h"
-00005 #include "interface/class.h"
-00006 #include "interface/logger.h"
-00007 
-00008 
-00009 void
-00010 socketConnect(Sock this, const char * addr)
-00011 {
-00012         inet_pton(AF_INET, addr, &((this->addr).sin_addr));
-00013     (this->addr).sin_family = AF_INET;           /* Internet address family */
-00014     (this->addr).sin_port   = htons(this->port); /* Local port */
-00015 
-00016         if (-1 == connect(this->handle, (struct sockaddr*) &(this->addr), sizeof(this->addr))) {
-00017         loggerLog(this->log, LOGGER_CRIT,
-00018                 "error connection socket: %s - service terminated",
-00019                 strerror(errno));
-00020         exit(EXIT_FAILURE);
-00021     }
-00022 }
-00023 
-00024 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/daemonize_8c.html b/docs/html/daemonize_8c.html deleted file mode 100644 index e2f505e..0000000 --- a/docs/html/daemonize_8c.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - -server: src/daemonize.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/daemonize.c File Reference

-
-
-
#include <stdio.h>
-#include <unistd.h>
-#include <stdlib.h>
-
-Include dependency graph for daemonize.c:
-
-
-
-
-

Go to the source code of this file.

- - - -

-Functions

void daemonize (void)
-

Function Documentation

- -
-
- - - - - - - - -
void daemonize (void )
-
-
- -

Definition at line 6 of file daemonize.c.

-
                     {
-    pid_t pid;
-
-    if (0 > ((pid = fork()))) {
-        perror("deamoinze[fork]");
-        exit(EXIT_FAILURE);
-    } else if (0 != pid) {
-        exit(EXIT_SUCCESS);
-    }
-
-    /* make new child session leader */
-    setsid();
-
-    /* connect all standard streams to /dev/null */
-    stderr = freopen("/dev/null", "w", stderr);
-    stdin  = freopen("/dev/null", "r", stdin);
-    stdout = freopen("/dev/null", "w", stdout);
-}
-
-
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/daemonize_8c__incl.map b/docs/html/daemonize_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/daemonize_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/daemonize_8c__incl.md5 b/docs/html/daemonize_8c__incl.md5 deleted file mode 100644 index f45240d..0000000 --- a/docs/html/daemonize_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -95c7a7499b1da3ea08617c6b311a882c \ No newline at end of file diff --git a/docs/html/daemonize_8c__incl.png b/docs/html/daemonize_8c__incl.png deleted file mode 100644 index f5c6c41aa68b7cc288cc28d2fd8cb8237124d3bd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1276 zcmVA#!cNZ5IkB^VPzrWMd z(*OVf|NsB>yEVH20004WQchCj0Z z0OF;smYWK0GPNS&pL~SSp6Q&TKtn@ALqkKeF>#e$4X#WK*BH`YZ%B{yNRRYuqeP$V z=g4+w4)m;drtj`U-wv+yww4}!&jn{x^t>NB&IwfuzvH51Fsg3_mwAOda1snoj0@RA z$=szTN`04`h7P&~a%s~GMwy_ZmGG3d-M|>M7=>AZn?&9mI->3fGB9-j6KN^s-8f)e zCPdDg9;)C?D_wdjIx64cjWcMl0rDkVgUmhj_Hc{Kb2|vw5Y$2S!T5No>6t85_iR{Y=l*N5wdFl1rR^tb0?agea_D)je#6Lk91G&QFKYPi`-o1|7Hm$8Q+C!441zG8K7%>ri?%@j(Is78v?O zA0ERM__1QYIEWCx5t4s#5J7%JJV%2+9sd!*bEJ*qeEK+kBbEK>_;H*@i24fpNFL)v zeL8+DZ?R%Nl|GuUcrk~B6!T2G||eJ8c`JV2{hxY^LQqW==IdOhLd z^*iWAvlOpVhYGnV3au(1tj4+$&HF-fpjXeT$fTF0n+wa{zq3u@pbI8lOuN>&*=Ghcap*PTGwdWfVSNh@wnk#zk zW#MK++lu~6$Y#$Uqqe4ZxBGt6briDdPeL5&qevmWOMepLNFPNC>0SDh5J&nbQrXj| m`D4?e;(@b=hK7cgq5T7qTNZl#*X$|)0000 - - - -server: src/daemonize.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/daemonize.c

-
-
-Go to the documentation of this file.
00001 #include <stdio.h>      /* for printf() and fprintf() */
-00002 #include <unistd.h>     /* for getopt */
-00003 #include <stdlib.h>
-00004 
-00005 
-00006 void daemonize(void) {
-00007     pid_t pid;
-00008 
-00009     if (0 > ((pid = fork()))) {
-00010         perror("deamoinze[fork]");
-00011         exit(EXIT_FAILURE);
-00012     } else if (0 != pid) {
-00013         exit(EXIT_SUCCESS);
-00014     }
-00015 
-00016     /* make new child session leader */
-00017     setsid();
-00018 
-00019     /* connect all standard streams to /dev/null */
-00020     stderr = freopen("/dev/null", "w", stderr);
-00021     stdin  = freopen("/dev/null", "r", stdin);
-00022     stdout = freopen("/dev/null", "w", stdout);
-00023 }
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/doxygen.css b/docs/html/doxygen.css deleted file mode 100644 index 101c7a5..0000000 --- a/docs/html/doxygen.css +++ /dev/null @@ -1,800 +0,0 @@ -/* The standard CSS for doxygen */ - -body, table, div, p, dl { - font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; - font-size: 12px; -} - -/* @group Heading Levels */ - -h1 { - font-size: 150%; -} - -h2 { - font-size: 120%; -} - -h3 { - font-size: 100%; -} - -dt { - font-weight: bold; -} - -div.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; -} - -p.startli, p.startdd, p.starttd { - margin-top: 2px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; - margin: 2px; - padding: 2px; -} - -div.qindex, div.navpath { - width: 100%; - line-height: 140%; -} - -div.navtab { - margin-right: 15px; -} - -/* @group Link Styling */ - -a { - color: #3D578C; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #4665A2; -} - -a:hover { - text-decoration: underline; -} - -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #9CAFD4; - color: #ffffff; - border: 1px double #869DCA; -} - -.contents a.qindexHL:visited { - color: #ffffff; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code { - color: #4665A2; -} - -a.codeRef { - color: #4665A2; -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -.fragment { - font-family: monospace, fixed; - font-size: 105%; -} - -pre.fragment { - border: 1px solid #C4CFE5; - background-color: #FBFCFD; - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; -} - -div.ah { - background-color: black; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px; - padding: 0.2em; - border: solid thin #333; - border-radius: 0.5em; - -webkit-border-radius: .5em; - -moz-border-radius: .5em; - box-shadow: 2px 2px 3px #999; - -webkit-box-shadow: 2px 2px 3px #999; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background: white; - color: black; - margin: 0; -} - -div.contents { - margin-top: 10px; - margin-left: 10px; - margin-right: 10px; -} - -td.indexkey { - background-color: #EBEFF6; - font-weight: bold; - border: 1px solid #C4CFE5; - margin: 2px 0px 2px 0; - padding: 2px 10px; -} - -td.indexvalue { - background-color: #EBEFF6; - border: 1px solid #C4CFE5; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #EEF1F7; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -address.footer { - text-align: right; - padding-right: 12px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -/* @end */ - -/* -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -*/ - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #A3B4D7; -} - -th.dirtab { - background: #EBEFF6; - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid #4A6AAA; -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -table.memberdecls { - border-spacing: 0px; - padding: 0px; -} - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F9FAFC; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memItemLeft, .memItemRight, .memTemplParams { - border-top: 1px solid #C4CFE5; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memTemplParams { - color: #4665A2; - white-space: nowrap; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtemplate { - font-size: 80%; - color: #4665A2; - font-weight: normal; - margin-left: 9px; -} - -.memnav { - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.memitem { - padding: 0; - margin-bottom: 10px; -} - -.memname { - white-space: nowrap; - font-weight: bold; - margin-left: 6px; -} - -.memproto { - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 0px 6px 0px; - color: #253555; - font-weight: bold; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - /* opera specific markup */ - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - border-top-right-radius: 8px; - border-top-left-radius: 8px; - /* firefox specific markup */ - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 8px; - -moz-border-radius-topleft: 8px; - /* webkit specific markup */ - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 8px; - -webkit-border-top-left-radius: 8px; - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - -} - -.memdoc { - border-bottom: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 2px 5px; - background-color: #FBFCFD; - border-top-width: 0; - /* opera specific markup */ - border-bottom-left-radius: 8px; - border-bottom-right-radius: 8px; - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - /* firefox specific markup */ - -moz-border-radius-bottomleft: 8px; - -moz-border-radius-bottomright: 8px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - background-image: -moz-linear-gradient(center top, #FFFFFF 0%, #FFFFFF 60%, #F7F8FB 95%, #EEF1F7); - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 8px; - -webkit-border-bottom-right-radius: 8px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - background-image: -webkit-gradient(linear,center top,center bottom,from(#FFFFFF), color-stop(0.6,#FFFFFF), color-stop(0.60,#FFFFFF), color-stop(0.95,#F7F8FB), to(#EEF1F7)); -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} - -.params, .retval, .exception, .tparams { - border-spacing: 6px 2px; -} - -.params .paramname, .retval .paramname { - font-weight: bold; - vertical-align: top; -} - -.params .paramtype { - font-style: italic; - vertical-align: top; -} - -.params .paramdir { - font-family: "courier new",courier,monospace; - vertical-align: top; -} - - - - -/* @end */ - -/* @group Directory (tree) */ - -/* for the tree view */ - -.ftvtree { - font-family: sans-serif; - margin: 0px; -} - -/* these are for tree view when used as main index */ - -.directory { - font-size: 9pt; - font-weight: bold; - margin: 5px; -} - -.directory h3 { - margin: 0px; - margin-top: 1em; - font-size: 11pt; -} - -/* -The following two styles can be used to replace the root node title -with an image of your choice. Simply uncomment the next two styles, -specify the name of your image and be sure to set 'height' to the -proper pixel height of your image. -*/ - -/* -.directory h3.swap { - height: 61px; - background-repeat: no-repeat; - background-image: url("yourimage.gif"); -} -.directory h3.swap span { - display: none; -} -*/ - -.directory > h3 { - margin-top: 0; -} - -.directory p { - margin: 0px; - white-space: nowrap; -} - -.directory div { - display: none; - margin: 0px; -} - -.directory img { - vertical-align: -30%; -} - -/* these are for tree view when not used as main index */ - -.directory-alt { - font-size: 100%; - font-weight: bold; -} - -.directory-alt h3 { - margin: 0px; - margin-top: 1em; - font-size: 11pt; -} - -.directory-alt > h3 { - margin-top: 0; -} - -.directory-alt p { - margin: 0px; - white-space: nowrap; -} - -.directory-alt div { - display: none; - margin: 0px; -} - -.directory-alt img { - vertical-align: -30%; -} - -/* @end */ - -div.dynheader { - margin-top: 8px; -} - -address { - font-style: normal; - color: #2A3D61; -} - -table.doxtable { - border-collapse:collapse; -} - -table.doxtable td, table.doxtable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; -} - -.tabsearch { - top: 0px; - left: 10px; - height: 36px; - background-image: url('tab_b.png'); - z-index: 101; - overflow: hidden; - font-size: 13px; -} - -.navpath ul -{ - font-size: 11px; - background-image:url('tab_b.png'); - background-repeat:repeat-x; - height:30px; - line-height:30px; - color:#8AA0CC; - border:solid 1px #C2CDE4; - overflow:hidden; - margin:0px; - padding:0px; -} - -.navpath li -{ - list-style-type:none; - float:left; - padding-left:10px; - padding-right:15px; - background-image:url('bc_s.png'); - background-repeat:no-repeat; - background-position:right; - color:#364D7C; -} - -.navpath li.navelem a -{ - height:32px; - display:block; - text-decoration: none; - outline: none; -} - -.navpath li.navelem a:hover -{ - color:#6884BD; -} - -.navpath li.footer -{ - list-style-type:none; - float:right; - padding-left:10px; - padding-right:15px; - background-image:none; - background-repeat:no-repeat; - background-position:right; - color:#364D7C; - font-size: 8pt; -} - - -div.summary -{ - float: right; - font-size: 8pt; - padding-right: 5px; - width: 50%; - text-align: right; -} - -div.summary a -{ - white-space: nowrap; -} - -div.ingroups -{ - font-size: 8pt; - padding-left: 5px; - width: 50%; - text-align: left; -} - -div.ingroups a -{ - white-space: nowrap; -} - -div.header -{ - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; - margin: 0px; - border-bottom: 1px solid #C4CFE5; -} - -div.headertitle -{ - padding: 5px 5px 5px 10px; -} - -dl -{ - padding: 0 0 0 10px; -} - -dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug -{ - border-left:4px solid; - padding: 0 0 0 6px; -} - -dl.note -{ - border-color: #D0D000; -} - -dl.warning, dl.attention -{ - border-color: #FF0000; -} - -dl.pre, dl.post, dl.invariant -{ - border-color: #00D000; -} - -dl.deprecated -{ - border-color: #505050; -} - -dl.todo -{ - border-color: #00C0E0; -} - -dl.test -{ - border-color: #3030E0; -} - -dl.bug -{ - border-color: #C08050; -} - -#projectlogo -{ - text-align: center; - vertical-align: bottom; - border-collapse: separate; -} - -#projectlogo img -{ - border: 0px none; -} - -#projectname -{ - font: 300% arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#projectbrief -{ - font: 120% arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#projectnumber -{ - font: 50% arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#titlearea -{ - padding: 0px; - margin: 0px; - width: 100%; - border-bottom: 1px solid #5373B4; -} - diff --git a/docs/html/doxygen.png b/docs/html/doxygen.png deleted file mode 100644 index 635ed52fce7057ac24df92ec7664088a881fa5d0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3942 zcmV-s51H_ZP)95ENDh(OT9xpYZC{M(=rqI* z+1erNEr&9zRjUI-4rN=4BBz>P@ys*xOjGRjzVE*Fx_qvyt9d@B@BO*&@8Mq!nM{Tc z_WoM84-~xLreSL9@vgZ{m2dF}`u=^ZF3syQ-s2tnBwCI3ZFvSfI20Wbj236~Urq*8Kfw@RKKfRQTgE>}uUHK^ptamY=o)LU(xy55zNQ(`qZ znZ&$O075mrrInIXQgw4%GCbMD8Vn`3n3$EaRwtP1D{A!Gs=e!L%3;ayv@I{rAw{xw z^x^>EIWQM8ob3m}$(BaupDMV;Ed8w5|i(*e`7rU$TOc&1o7`|!LyN5jHI z7uWAR!v4c2xMp?}QmRYyf>i}tYGU(g=>DW&==J@GbhR z5@BNVY3O$`^D%gk4khm9XpFhuwzxUhi9T=Du4rpVuYRSMPHeDqo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J8)lm$t5FAAR%ywf>*~VaivC70RVFXISv4Lx&tk^Cf1)qQ|rxp z*8H>)cgoM;(eKxH14u~~@JopNr9@A z#-yXVG?$es;EPqsn-j?45^L52U=nT#0A^T3JY$&B3EH&%2UHdv3P=_3$!n76!34ks zz^2ii@sXAu8LKYMmG=_^*qtiiOFNlG3?QYtG%wrCZh|)vlj8vq3sw~f1b8;_TMB>z zPSyDQy_9bbXD*#sNRGMzfSAwUD}ASX;ZGQcGdE=9q~ORU{v$}=z2Bc8EOe2S&);jS zCZB8P`hPoV1NBk)TQP2z{q$NL-GLUc7%>&fecE^E{I5gs?8!qTK7VgR7Z?}-`YG|z zVN-NvOlQ+B;~J*69_Xd1n-0MLKTY6&*%rTi*0^HXniz8{bCMsVpSXqs(GGO)*_#Kz z9YBCQ_VRhtwhMfppMh@OdxjCN0mH`5hKZr>UoxMx`W~u^kD&bskplglOiRxQvep*2 z0mk+kMP>J)K`8X3`6Zq|X~5IQ-_rrOn+_WvU{1Gs{ow1-Eb;K(Z?p$@ugXpr^?PM( z(5Hv;$*X=QZaqG_4q)N1v9sO(Dsei!;%IcIztt6YUs{yj z^77e`UYa^%<-Ts+d*b=ihKt?0_sj!ePNO@K*PGmGD*v^;rRAkduikx~UNk=@{XKeV zp_ir(dTaGVWBr{_02Kg2Xmlsn|IvIIRYivbo|L{yx}yX5Bte@P6C>1KyqvYnT{boB#j-07*qoM6N<$f^XQQ A+yDRo diff --git a/docs/html/files.html b/docs/html/files.html deleted file mode 100644 index 068ed67..0000000 --- a/docs/html/files.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - -server: File List - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

File List

-
-
-
Here is a list of all files with brief descriptions:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
config.h [code]
include/class.h [code]
include/interface.h [code]
include/logger.h [code]
include/server.h [code]
include/signalHandling.h [code]
include/socket.h [code]
include/http/header.h [code]
include/http/request.h [code]
include/http/request_parser.h [code]
include/http/request_queue.h [code]
include/http/response.h [code]
include/interface/class.h [code]
include/interface/logger.h [code]
include/interface/stream_reader.h [code]
src/class.c [code]
src/daemonize.c [code]
src/interface.c [code]
src/logger.c [code]
src/server.c [code]
src/signalHandling.c [code]
src/socket.c [code]
src/testserver.c [code]
src/http/header.c [code]
src/http/request.c [code]
src/http/header/get.c [code]
src/http/header/sort.c [code]
src/http/request/header_get.c [code]
src/http/request/parser.c [code]
src/http/request/queue.c [code]
src/http/request/parser/get_header.c [code]
src/http/request/parser/get_request_line.c [code]
src/http/request/parser/parse.c [code]
src/interface/class.c [code]
src/interface/logger.c [code]
src/interface/stream_reader.c [code]
src/logger/stderr.c [code]
src/logger/syslog.c [code]
src/server/close_conn.c [code]
src/server/handle_accept.c [code]
src/server/poll.c [code]
src/server/read.c [code]
src/server/run.c [code]
src/socket/accept.c [code]
src/socket/connect.c [code]
src/socket/listen.c [code]
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/ftv2blank.png b/docs/html/ftv2blank.png deleted file mode 100644 index 3b7a29cb81d7895a716673f35590eaceb3793003..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 82 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%Qj(r7jv*C{Z|@!iau}EweqKKB en4GH+gF74RGzP}kvk&b8iF>;GxvX)7Tz#%>LmF6&|330OTN|a z{{=wx+WhU0y6zlAwAzONbPgh(@3v{|w(wmG$5y0Vi+t!($avy)0Ha#1p4gmU`n#I# zOX4L>+=Pi^D-w<(VJqs-_euK>g^b7iVhvNtYC7fIJCj6)A&|1Wgb-M!ftN7xU5k9^ z@#NVq`OxLViy`w%H6H)99eYw@JunRU3L>RIDT(VSeAi@ky#YWzbh$j1<pqv?W@8uFpX4?q6OPP0QkbO~IGXIo9O=aZ-NV0o=k&0TPjQc&C8 z!;pex!eqPA!cUs?hc4OkF6op_%C)F%@1dk*c;MU#FXAUKBtpQW-|J|tx%P2^UlulK zwGZh_IhaZ^JaCSkW}BlA_S*+%^WdfSH>XQXjD|RtVy0Z;_Vr<=C-PkTs6a925qLJ4 zz9gMabov~;1OPmE_=JV!O@@jAe?HwI;V4$t8cdGo2z;B1r8H5bX?MDrIa89Q5Zss= z3MpTJTEh7^?geXfpYnXQa)=k^DD@#zqw@ANTS8R5IHFCnGC zFye2Ec=U1D9z0xQab=64V!-Np9 zMH(puT5FV&6f)kci?5jV5ds3wqW^;1om2`AV;-)a5=D__^7FeqUH%!%?ly_5cIySX scdzjM-MP~PD&>->{B-~SC-dL>2dY=Zuwh)(*Z=?k07*qoM6N<$f<5VZJOBUy diff --git a/docs/html/ftv2folderclosed.png b/docs/html/ftv2folderclosed.png deleted file mode 100644 index 79aeaf70ea92d062a16854ad40e52e89cca48045..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 598 zcmV-c0;&CpP)@n_AxdjH^X_%=W+pR9H4$uA4h+M)Z#d_kbMCy^l8E3iFLkKsM?rAxpyKm4 zpJZ)wCsn&Nox^H-lKu(7+U5>wm2A8w0^WW2g4OoqUn>|0`SFu=`MCWZGa&&HAOdV` zeYKtvfkmJwErvx<&bzpCtDf3$I-O4H#iuW}I=63DQ7*VBG#m1QZc43!?0j^^rop|LB$6n4f?j zSPLSMBym3p04SyK^8IH#yt|kRc|ZZP#1{3s>~(8cV(ZcbR^><;boWi%VKNIM>wn*b zrp9+Dfgc#`?)fkxAXp?70cB6ODCBKDeot&&>KAEwTgN^hb6}3t>x6&%> z>z6%!t?B87Mo}*`iu!6}T+i3Xb*om;?Rrr!&KC93tf!Zno?gCE(#vyYJy$L0%-E@C ke^gM)yZ8S8(TzBo>VXiD3(P1I6Ekr)}6_y7!i1Evm4%w}a`=R2?wr!y|)&JW~oFQEP}n%!wl+h7bZoguFAGAuz-k z9*7*IR2fz1a$M z`?}KYC8b+UU$+)Ky?o8nt){0t%SvyoRQ2X+pl`K9eY;cFou#T?yjpoZ)xmbBzVrWw c^H&Le0J=&DKt3yzzW@LL07*qoM6N<$g5G@uO#lD@ diff --git a/docs/html/ftv2lastnode.png b/docs/html/ftv2lastnode.png deleted file mode 100644 index 3b7a29cb81d7895a716673f35590eaceb3793003..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 82 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%Qj(r7jv*C{Z|@!iau}EweqKKB en4GH+gF74RGzP}kvk&b8iF>;GxvX)7Tz#%>LmF6&|330OTN|a z{{=wx+WhU0y6zlAwAzONbPgh(@3v{|w(wmG$5y0Vi+t!($avy)0Ha#1p4gmU`n#I# zOX4L>+=Pi^D-w<(VJqs-_euK>g^b7iVhvNtYC7fIJCj6)A&|1Wgb-M!ftN7xU5k9^ z@#NVq`OxLViy`w%H6H)99eYw@JunRU3L>RIDT(VSeAi@ky#YWzbh$j1<pqv?W@8uFpX4?q6OPP0QkbO~IGXIo9O=aZ-NV0o=k&0TPjQc&C8 z!;pex!eqPA!cUs?hc4OkF6op_%C)F%@1dk*c;MU#FXAUKBtpQW-|J|tx%P2^UlulK zwGZh_IhaZ^JaCSkW}BlA_S*+%^WdfSH>XQXjD|RtVy0Z;_Vr<=C-PkTs6a925qLJ4 zz9gMabov~;1OPmE_=JV!O@@jAe?HwI;V4$t8cdGo2z;B1r8H5bX?MDrIa89Q5Zss= z3MpTJTEh7^?geXfpYnXQa)=k^DD@#zqw@ANTS8R5IHFCnGC zFye2Ec=U1D9z0xQab=64V!-Np9 zMH(puT5FV&6f)kci?5jV5ds3wqW^;1om2`AV;-)a5=D__^7FeqUH%!%?ly_5cIySX scdzjM-MP~PD&>->{B-~SC-dL>2dY=Zuwh)(*Z=?k07*qoM6N<$f<5VZJOBUy diff --git a/docs/html/ftv2mlastnode.png b/docs/html/ftv2mlastnode.png deleted file mode 100644 index ec51f17a1fdc860c16a34aa1aeb753624409385b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 221 zcmV<303!d1P)zyT<scVDZ7_{EOe0eBcqfczyT<scVDZ7_{EOe0eBcqfc;GxvXiI)3s$q zXLSp?Vw#S->OEjPiI)3s$q zXLSp?Vw#S->OEjP-{AmhX=Jf@Vh3;mo5W!fIz z|G!}-&+_@bPjpO9=CQeNG-x}^He0~wUVC_fMvB=U2Bz7OmlqlcNzZjyB-4HN7~9Lr z$D7yJnqSa(es#+qiN5>4_4EDDFZO$H+Fh^MBH+YoTokY^Q!+9#?d)>vwv3Yw*Rly-LY$(@}t-3;)0XUPrZ!IB%s(_pZ#HPZ2xc? Sd^id83xlVtpUXO@geCxW-C}_N diff --git a/docs/html/ftv2vertline.png b/docs/html/ftv2vertline.png deleted file mode 100644 index 3b7a29cb81d7895a716673f35590eaceb3793003..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 82 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%Qj(r7jv*C{Z|@!iau}EweqKKB en4GH+gF74RGzP}kvk&b8iF>;GxvX - - - -server: Class Members - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- _ -

- - -

- b -

- - -

- c -

- - -

- d -

- - -

- e -

- - -

- h -

- - -

- i -

- - -

- l -

- - -

- m -

- - -

- n -

- - -

- o -

    -
  • object_size -: class -
  • -
- - -

- p -

- - -

- r -

- - -

- s -

- - -

- u -

- - -

- v -

- - -

- w -

-
-
- - - - - -
- -
- - - - diff --git a/docs/html/functions_func.html b/docs/html/functions_func.html deleted file mode 100644 index f9da040..0000000 --- a/docs/html/functions_func.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - -server: Class Members - Functions - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - - -
-
- -
-
-
- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/functions_vars.html b/docs/html/functions_vars.html deleted file mode 100644 index ad53efe..0000000 --- a/docs/html/functions_vars.html +++ /dev/null @@ -1,346 +0,0 @@ - - - - -server: Class Members - Variables - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - - - -
-
- -
-
-
- -
-
-  - -

- _ -

- - -

- b -

- - -

- c -

- - -

- d -

- - -

- h -

- - -

- i -

- - -

- l -

- - -

- m -

- - -

- n -

- - -

- o -

    -
  • object_size -: class -
  • -
- - -

- p -

- - -

- r -

- - -

- s -

- - -

- u -

- - -

- v -

- - -

- w -

-
-
- - - - - -
- -
- - - - diff --git a/docs/html/get_8c.html b/docs/html/get_8c.html deleted file mode 100644 index aee6849..0000000 --- a/docs/html/get_8c.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - -server: src/http/header/get.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/http/header/get.c File Reference

-
-
-
#include <stdlib.h>
-#include <ctype.h>
-#include "http/header.h"
-
-Include dependency graph for get.c:
-
-
- - -
-
-

Go to the source code of this file.

- - - -

-Functions

char * httpHeaderGet (const HttpHeader header[], int nheader, const char *name)
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
char* httpHeaderGet (const HttpHeader header[],
int nheader,
const char * name 
)
-
-
- -

Definition at line 31 of file get.c.

-
{
-        unsigned long hash = sdbm((unsigned char *)name);
-        HttpHeader    found;
-
-        found = bsearch(&hash, header, nheader, sizeof(HttpHeader), comp);
-
-        return (NULL != found)? found->value : NULL;
-}
-
-

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/get_8c__incl.map b/docs/html/get_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/get_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/get_8c__incl.md5 b/docs/html/get_8c__incl.md5 deleted file mode 100644 index 2f7b696..0000000 --- a/docs/html/get_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -1e88de88b5311e9915c958b3ce062f86 \ No newline at end of file diff --git a/docs/html/get_8c__incl.png b/docs/html/get_8c__incl.png deleted file mode 100644 index 9fa0700d30675e419fd07ce494bc027697a5f9f2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1618 zcmV-Y2CeytP)A#!cNZ5IkB^VPzrWMd z(*OVf|NsB>yEVH20004WQchCj0Z z2^XuaAPTOElIcyrKjdo&boT6(Wyz8yOO`BIvZorqn*AEc!uWVCOLT0O=-4dLv00*H zvqZ;cG0|b|$l2~L==_j{!8fGS4H^OK@v++FKnDgd`}@&gG0|zpi4Ok=`Q7C}r`hO_ zfzHtLzGHmohmrPu%fy1y4@d|DQXsT6=$HAY?(xvhf1D$bb z;hPo{R~4mEALn#b)tGh3Uyl%T)8ZB03QI_~N({P2v1RjG<+?B({C5Ax7N`~DKymea z(UG|`@4|FoY|5lrk}xJP;NX?!$xj?~RNc|_pcVD*l>I>*r#yMT6DFd3AUfE?d6_@o0Di2YK>BChF%W_ zDRHat69*j!GapnoY(NIx=eg(Go=Jy7i5dECb6nhXoPRKV8myt7ZV!u^&gquu*eubp zS)yaJM8{@{j?FGc=cv7`mxd+>`!$dt_S(2MwLQYV0$(NZdM2Oms0|#Rh-W2c6NcyE z*;QknhG)IRn1?@#&w8*n1P{VG!Q5#!mF`3K{S7SFzk9}P3o;`3(* zm>BWwKEM2(tDoEceD?`4vek9u@bcFVe`ZJK>KR`=>GPX|T^x80evAIW#enDVx#f4R z|IUuBs>wW^UzN{m@wWHoKy6XH05j`x4eJWJOgY`^FA^7lJ;ZHmsB?#^~!VQ<}Ct`i-b zk3`4jBhj(>NOWvI5*?clvp2#C&*Wn=PRvSf?d$ff>p*AaCNx4#J=pp6w-2nYza~Md zNeIytf#^)KtL8xmg%{#weI^|~eUKjm(Xsx)3LiTBLp(QT)#@~y>C_dkN_b{jQSrQ- zR#sV6R7pX1;S$8Wy@1;Z%2HI}HQ}`sgpR_b>q1A|gu?jLs<5yoIq9Izc_ptfDBX(V z>n+#wN$`>gByfL80F|bb!-W*!c~&lAZ__C%Lh=G-Yv5j1lVCxy!=URzN8F@yN2`|Q zB&Qs3O2m~6O1HxJdeimH8{q|!o+|K=y>o|%poCQYnTp$VP>hr!rQypG^OAxU!SB_e z>q1A|^rj z`POx;J99cxHGj(~2X&rPyplobR$YOtt`~HW?SIzXIY0+jcP&;HEUhxn7P&)6I66WV z7nYV&4s<5Xa)*%pbf&sfR`p8VDUZ<+b%)ByRAQMaL5c-{8gviP5vsVbw48JRKvhiVld}iEG?P-Y7?aLZB^Hqju6hLtu>$ZCo&{!4 QvH$=807*qoM6N<$f?CKivj6}9 diff --git a/docs/html/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.map b/docs/html/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.map deleted file mode 100644 index 766089a..0000000 --- a/docs/html/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.md5 b/docs/html/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.md5 deleted file mode 100644 index c120109..0000000 --- a/docs/html/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -e121973e81d665acb1be05befc4d66dc \ No newline at end of file diff --git a/docs/html/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.png b/docs/html/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.png deleted file mode 100644 index 7f1e96563c0f98222b07bc771b9940149f11708c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 950 zcmV;n14;aeP)%c00960 z|FG-Y`v3p{0d!JMQvg8b*k%9#11m{HK~!jg?U;d*qaX~15kyoFC-48Vmjn^CdR3R( z>(27;;Itu7`1~8(3Q<*6RaI5>QG)N)XRq$LvL(;osoOwr=Kn8MpoLX|7FGpXSQTht zRiK4cffm*YQ1FKk{CS_>-48#48xJ$T3>3^^0!hg`Q}T$z$sVM|?Cj+WI`2Yz0MxsF z82T(VpJxxWY3?nQH)nKcYg8Iztlp1177wHmQmMC}d@b!@ov%P)3+e{Ye&lO^)}H}w znrA>Ev`y3;yZ1#ra2fITldq*6tTW&4n)H9sD~z!p?gW@ z$osTQK*xCkA06sp^aDakKyB~+h=JZ?nspO)LyThfklQ#$Ume=4x(8H=4ooCvu)ay$ z7VXB-PrC$kAaDsN;+fpM{QHk@ zoF{wEbOrAw96=5ZQOag~lsl*B9%$1%1bF2c5ljvZt4B^F9y}Z#AVvesVJ)0lG*fd|*+R`0XaK~UZ&f4^ z*k)h(<+mVd$ziF6Qj$`ZDbZ^iTp4BnaV6~u(8ZxEP;wm>$YA7+Lp_h0M?Q|G=+Grv z$f4%Yp{w)AH^yWRl_@Hui1lJ66&$~i;_fAR3-mPY3DA8F?Wr#Ic>K&3hRF?~hQ=s+ z)B3@V^fHU?YN#j!G}X|sTT7MAwpxZ7+6kMY`x?q)q-Y_!HWbH@ya9Tib{*(UK(Ki{ z^mnIx&jCEYr{3`?KR}EIbo2nw&wR3n+!0=Zu23HU6$(R&*mUWX4_C{97EgKHbqksu zx(JA*D?qo}yQ_r0@L<2yU!M>!KRy=IM*zLK(5-$X z(EhaR1AyAI9`Uh2|Al_puT2%`Q&pgaRe=^(1zK1YXkq0*zgKq``cqW&_Ec3>RsBN! Y0YH@MWMD6IQ~&?~07*qoM6N<$f{;qK!vFvP diff --git a/docs/html/get_8c_source.html b/docs/html/get_8c_source.html deleted file mode 100644 index 3d61db1..0000000 --- a/docs/html/get_8c_source.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - -server: src/http/header/get.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/http/header/get.c

-
-
-Go to the documentation of this file.
00001 #include <stdlib.h>
-00002 #include <ctype.h>
-00003 
-00004 #include "http/header.h"
-00005 
-00006 static
-00007 inline
-00008 unsigned long
-00009 sdbm(const unsigned char * str)
-00010 {
-00011         unsigned long hash = 0;
-00012         int c;
-00013 
-00014         while ((c = tolower(*str++)))
-00015                 hash = c + (hash << 6) + (hash << 16) - hash;
-00016 
-00017         return hash;
-00018 }
-00019 
-00020 static
-00021 inline
-00022 int
-00023 comp (const void * _a, const void * _b)
-00024 {
-00025         unsigned long    a = *(unsigned long *)_a;
-00026         const HttpHeader b = *(const HttpHeader *)_b;
-00027         return (a < b->hash)? -1 : (a > b->hash)? 1 : 0;
-00028 }
-00029 
-00030 char *
-00031 httpHeaderGet(const HttpHeader header[], int nheader, const char * name)
-00032 {
-00033         unsigned long hash = sdbm((unsigned char *)name);
-00034         HttpHeader    found;
-00035 
-00036         found = bsearch(&hash, header, nheader, sizeof(HttpHeader), comp);
-00037 
-00038         return (NULL != found)? found->value : NULL;
-00039 }
-00040 
-00041 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/get__header_8c.html b/docs/html/get__header_8c.html deleted file mode 100644 index f3c060d..0000000 --- a/docs/html/get__header_8c.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - -server: src/http/request/parser/get_header.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/http/request/parser/get_header.c File Reference

-
-
-
#include "class.h"
-#include "interface/class.h"
-#include "http/header.h"
-#include "http/request.h"
-
-Include dependency graph for get_header.c:
-
-
- - -
-
-

Go to the source code of this file.

- - - -

-Functions

void httpRequestParserGetHeader (HttpRequest request, char *line)
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void httpRequestParserGetHeader (HttpRequest request,
char * line 
)
-
-
- -

Definition at line 7 of file get_header.c.

-
{
-        char * name  = line;
-        char * value = strchr(line, ':');
-
-        *value = 0;
-        for (; *value == ' ' && *value != 0; value++);
-
-        (request->header)[request->nheader++] = new(HttpHeader, name, value);
-}
-
-

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/get__header_8c__incl.map b/docs/html/get__header_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/get__header_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/get__header_8c__incl.md5 b/docs/html/get__header_8c__incl.md5 deleted file mode 100644 index 59de588..0000000 --- a/docs/html/get__header_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -4811240ca1816728301264f7b1794c6f \ No newline at end of file diff --git a/docs/html/get__header_8c__incl.png b/docs/html/get__header_8c__incl.png deleted file mode 100644 index aabdefbf33f50e16f0a7b43a9c3f3d81cfb4d9ad..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2265 zcmZ{mYd8}Q8^%{ChrDW$Q;cZBL}XDjikU+*%t&)4ay}(eo1&FS`;+8Qlfg+hsskC&I1Cy_|4t*s2kADTcQ_?|*S3Ei$M&JGxW#q`%e06^Tv*6OTF!jlEh zds)S&_jSh{wKw@J5WEU?H&kfzwE!zS4jop+xqfEDKQ+6ZA>Fl5+b=G<`_>;ReHKBC zq~ZVNa$O^pGL({#X!hSSTsPH(oeCQQ|N5wp=*1QzHz5uywc)hRvJ0%`6Z5O04}OwB z$j0Ugs?4F1PiN#_2Us#=WF$Oa^S^)0JpL+SRs@+=>KcbFD~%X_{&K9uR1AxyJr9q2 zymPsz{!Wckd|YNDZts-za725D>%;wbuC5r=(dDk>|E+L#CD#$@3=M&Puh71LLf)iG zs(4dE_J%y5=FdV}fhvy_dMqInok zx6i@!d@*(X#LT1fhiZn(IGC`G+drroL;gkRze%!RIv#@u0_XBoFqK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3_-=;`_u$3T$1<=pu-Ey)%DaYw7MlrXH4yyS zBiMj@UXnU=ALv@oq#cMJmGSFZ+NK(h1_1I6Gf?zF;%MDQre-12QRRA>qIl>Ycls3- z_i_Z|HdKY#FPHNJFvaRYhgSnFlW#-2bo@%$OAJKfj4?z2IYD1*1gyFR!mh;?V_}>P z0(ru~hJSmM`om$L$swJO^K~IvFYu?! z-s?eJBiO$O6a3Ug4h)OaQuEfw;k*&bIEZ|;VV_@(&wM=!lgE=~dFJpQRu_DT8u2ob zFfaQPV~u9{H;Bb$hLd!iK~SNy5CYacVX}R4k=I5Se4D4fd7rlLP%)g%n^}gVTw_u7 zGG=sSHbF6Jp8Avj{@SDF2fWsMb3%zbvvNnBui|O28hU*dAMQiqyAc7y-` diff --git a/docs/html/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.map b/docs/html/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.map deleted file mode 100644 index aee7a10..0000000 --- a/docs/html/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.md5 b/docs/html/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.md5 deleted file mode 100644 index 29aca07..0000000 --- a/docs/html/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -933e2e7f32c2b754d66448c2170a9cf7 \ No newline at end of file diff --git a/docs/html/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.png b/docs/html/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.png deleted file mode 100644 index 0d7348baadc721d7cd875c65331cd649fe0e68c6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1151 zcmV-_1c3XAP)%c00960 z|FG-Y`v3p{0d!JMQvg8b*k%9#1N2EmK~!jg?U;*}qaX~16)%7woV@?bE=jmZYp2@I z?yMdDbL{DaBslqqV7soVsi~={sj2DP1s|eM{kN-|_8+0stWNs>lp3qX>L=A$T}O@8 zb<|j0M~&5W^y^rG+bsiX(Ps)r5xdDMxdrU48{fnJow&yf>m61gcRf&pIFpkic9Xr} z7M-g%p&sFD=wZ!sg z%*#nkm~@3Y!9A;;X>Dd3MPk%bR3S( zWZ5)NvQ~YS@=_ARlhz4tSoK*aSq^82&nqp}>HpV1z(kemCs_$QBMFlLZB=%7Jbr*YJ3Lj#ibw3wYY?UzP{!51j93TjI z(QtN_N8FCFay2WiJwK0@s*Zm13}mAZr-ZQ9H@$&1T@-P`?}~egGeBAzoMU4xeUV-}fsac%6VHNXolB%y#g74}px!YH{UvRZc zx#=rWtexo612jY6K8+A)I6Bv?9=g56s_a)>Z-sk>GFJ0`wR%;oxBC^vXm23(8t+%^ z%%#TXqBcuyEv%A}lB_&wouFdXZ8og;Se5;X3u$l{G2%t+1GLo%;qxZJ4Xe!S6;|C4Yy*~kF6Ti0G-MdVIWQD-go*kpTEpouob4z$HB30n z&1PZVKN - - - -server: src/http/request/parser/get_header.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/http/request/parser/get_header.c

-
-
-Go to the documentation of this file.
00001 #include "class.h"
-00002 #include "interface/class.h"
-00003 #include "http/header.h"
-00004 #include "http/request.h"
-00005 
-00006 void
-00007 httpRequestParserGetHeader(HttpRequest request, char * line)
-00008 {
-00009         char * name  = line;
-00010         char * value = strchr(line, ':');
-00011 
-00012         *value = 0;
-00013         for (; *value == ' ' && *value != 0; value++);
-00014 
-00015         (request->header)[request->nheader++] = new(HttpHeader, name, value);
-00016 }
-00017 
-00018 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/get__request__line_8c.html b/docs/html/get__request__line_8c.html deleted file mode 100644 index 19dbd0e..0000000 --- a/docs/html/get__request__line_8c.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - -server: src/http/request/parser/get_request_line.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/http/request/parser/get_request_line.c File Reference

-
-
-
#include <string.h>
-#include "http/request.h"
-
-Include dependency graph for get_request_line.c:
-
-
- - -
-
-

Go to the source code of this file.

- - - -

-Functions

void httpRequestParserGetRequestLine (HttpRequest request, char *line)
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void httpRequestParserGetRequestLine (HttpRequest request,
char * line 
)
-
-
- -

Definition at line 7 of file get_request_line.c.

-
{
-        char * method, * uri, * version;
-
-        method = line;
-
-        uri    = strchr(line, ' ');
-        *uri++ = 0;
-        for (; *uri == ' ' && *uri != 0; uri++);
-
-        version    = strchr(uri, ' ');
-        *version++ = 0;
-        for (; *version == ' ' && *version != 0; version++);
-
-        request->method  = malloc(strlen(method) + 1);
-        strcpy(request->method, method);
-        request->uri     = malloc(strlen(uri) + 1);
-        strcpy(request->uri, uri);
-        request->version = malloc(strlen(version) + 1);
-        strcpy(request->version, method);
-}
-
-

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/get__request__line_8c__incl.map b/docs/html/get__request__line_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/get__request__line_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/get__request__line_8c__incl.md5 b/docs/html/get__request__line_8c__incl.md5 deleted file mode 100644 index 6592b35..0000000 --- a/docs/html/get__request__line_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -cb6e586a8f9a0f50adfaac4b911b97f7 \ No newline at end of file diff --git a/docs/html/get__request__line_8c__incl.png b/docs/html/get__request__line_8c__incl.png deleted file mode 100644 index ebf53a219d047dc53864e3b54242b4fe42cf2ac1..0000000000000000000000000000000000000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eY;K$!C;OHos|Fds0=1D1cNy) vbW;A)qh1uuasNcRN9dINEEbE!I#d4uB48JtcFJag00000NkvXXu0mjfTmS_; diff --git a/docs/html/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.map b/docs/html/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.map deleted file mode 100644 index 77a4b0c..0000000 --- a/docs/html/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.md5 b/docs/html/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.md5 deleted file mode 100644 index 9616c5b..0000000 --- a/docs/html/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -99e054c8a121835084e75516f7b257cf \ No newline at end of file diff --git a/docs/html/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.png b/docs/html/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.png deleted file mode 100644 index e377d4c19d45d1c0f021fe4fcbc32ee200823e5c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1179 zcmV;M1Z4Y(P)%c00960 z|FG-Y`v3p{0d!JMQvg8b*k%9#1Q1C?K~#90?OBVGqaYCU4G3cK|37>4K)}Q#U{ZBi zLsyx~4n5#@GcxWrO+`gTMMXtL#pU6C16Nfgx#jg2P;6u&|9_zxnJ>^+qZ*kn&{v}x znJ>^+qZ*kn&{v}xnJ>^+qZ*kn&{yMukBJ!c(RU?NQpVwACukcx`Fbyj;VVRywN{!n3zUc%YMx(nrBX8Po{(F(8sD{kMof)t z+cJSjR59`uqMZ;zkGFZpphV2*`u^q0d9;K3On=?5x6}PiQF~mi_tLtU@ro);mz5&v?0V9_`>h(_eQnPOrupx~x;i$ek_P7})s0nw5)w zb5udjLW#i)1&>a>(nN}fJ((h_p$Dk7TQtorU5y6e{&CDx4vcIWWdcp38=BFLbP3mu zqu%K~jN{NW!0I~}{pM%~ITIxY>$~3J2u{@TuqRXGH7(1?d0m{{G_!EbDNqE3vQ#%( zT085-ED(>gVWFmf-T!lP?+xCrjAV$xwM$^#!ZoEdrj`(cgKz-n;7XSdn23VkbKL?ct*0y z8c!}gj2)kmQ=?<__Kc*Qt{L1`rF{4?d1vHfTE3AhN;{)UOYB%xid1DdBVu1hft56OtEX_ zPfdXVx>itoa3fWuk3ugCohT)5r3S6%q(^qh4>NgRkq>D(M(*+SMey}o;wSO;YH$2O zV2`J7c-gOiAHz=@St!sRf6_?#aOj7P)Q?7*uQl>Y__6 - - - -server: src/http/request/parser/get_request_line.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/http/request/parser/get_request_line.c

-
-
-Go to the documentation of this file.
00001 #include <string.h>
-00002 
-00003 #include "http/request.h"
-00004 
-00005 
-00006 void
-00007 httpRequestParserGetRequestLine(HttpRequest request, char * line)
-00008 {
-00009         char * method, * uri, * version;
-00010 
-00011         method = line;
-00012 
-00013         uri    = strchr(line, ' ');
-00014         *uri++ = 0;
-00015         for (; *uri == ' ' && *uri != 0; uri++);
-00016 
-00017         version    = strchr(uri, ' ');
-00018         *version++ = 0;
-00019         for (; *version == ' ' && *version != 0; version++);
-00020 
-00021         request->method  = malloc(strlen(method) + 1);
-00022         strcpy(request->method, method);
-00023         request->uri     = malloc(strlen(uri) + 1);
-00024         strcpy(request->uri, uri);
-00025         request->version = malloc(strlen(version) + 1);
-00026         strcpy(request->version, method);
-00027 }
-00028 
-00029 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/globals.html b/docs/html/globals.html deleted file mode 100644 index 4bf2c33..0000000 --- a/docs/html/globals.html +++ /dev/null @@ -1,576 +0,0 @@ - - - - -server: File Members - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - - - -
-
- -
-
-
- -
-
-
Here is a list of all file members with links to the files they belong to:
- -

- _ -

- - -

- c -

- - -

- d -

- - -

- e -

- - -

- f -

- - -

- h -

- - -

- i -

- - -

- l -

- - -

- m -

- - -

- n -

- - -

- p -

- - -

- r -

- - -

- s -

- - -

- t -

- - -

- v -

-
-
- - - - - -
- -
- - - - diff --git a/docs/html/globals_defs.html b/docs/html/globals_defs.html deleted file mode 100644 index 9c5b6e5..0000000 --- a/docs/html/globals_defs.html +++ /dev/null @@ -1,376 +0,0 @@ - - - - -server: File Members - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - - - -
-
- -
-
-
- -
-
-  - -

- _ -

- - -

- c -

- - -

- d -

- - -

- e -

- - -

- h -

- - -

- i -

- - -

- l -

- - -

- m -

- - -

- n -

- - -

- p -

- - -

- r -

- - -

- s -

- - -

- t -

- - -

- v -

-
-
- - - - - -
- -
- - - - diff --git a/docs/html/globals_enum.html b/docs/html/globals_enum.html deleted file mode 100644 index 26fbf61..0000000 --- a/docs/html/globals_enum.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - -server: File Members - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - - -
-
- -
-
-
- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/globals_eval.html b/docs/html/globals_eval.html deleted file mode 100644 index 0bfa9c7..0000000 --- a/docs/html/globals_eval.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - -server: File Members - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - - -
-
- -
-
-
- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/globals_func.html b/docs/html/globals_func.html deleted file mode 100644 index d3eda0a..0000000 --- a/docs/html/globals_func.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - -server: File Members - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - - - -
-
- -
-
-
- -
-
-  - -

- c -

- - -

- d -

- - -

- h -

- - -

- i -

- - -

- l -

- - -

- m -

- - -

- s -

- - -

- t -

-
-
- - - - - -
- -
- - - - diff --git a/docs/html/globals_type.html b/docs/html/globals_type.html deleted file mode 100644 index ce70047..0000000 --- a/docs/html/globals_type.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - -server: File Members - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - - -
-
- -
-
-
- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/globals_vars.html b/docs/html/globals_vars.html deleted file mode 100644 index 7b5a2f9..0000000 --- a/docs/html/globals_vars.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - -server: File Members - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - - -
-
- -
-
-
- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/graph_legend.html b/docs/html/graph_legend.html deleted file mode 100644 index ac28ee5..0000000 --- a/docs/html/graph_legend.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - -server: Graph Legend - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- -
-
- -
-
-
- -
-
-
-

Graph Legend

-
-
-

This page explains how to interpret the graphs that are generated by doxygen.

-

Consider the following example:

-
/*! Invisible class because of truncation */
-class Invisible { };
-
-/*! Truncated class, inheritance relation is hidden */
-class Truncated : public Invisible { };
-
-/* Class not documented with doxygen comments */
-class Undocumented { };
-
-/*! Class that is inherited using public inheritance */
-class PublicBase : public Truncated { };
-
-/*! A template class */
-template<class T> class Templ { };
-
-/*! Class that is inherited using protected inheritance */
-class ProtectedBase { };
-
-/*! Class that is inherited using private inheritance */
-class PrivateBase { };
-
-/*! Class that is used by the Inherited class */
-class Used { };
-
-/*! Super class that inherits a number of other classes */
-class Inherited : public PublicBase,
-                  protected ProtectedBase,
-                  private PrivateBase,
-                  public Undocumented,
-                  public Templ<int>
-{
-  private:
-    Used *m_usedClass;
-};
-

This will result in the following graph:

-
-graph_legend.png -
-

The boxes in the above graph have the following meaning:

-
    -
  • -A filled gray box represents the struct or class for which the graph is generated.
  • -
  • -A box with a black border denotes a documented struct or class.
  • -
  • -A box with a grey border denotes an undocumented struct or class.
  • -
  • -A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries.
  • -
-

The arrows have the following meaning:

-
    -
  • -A dark blue arrow is used to visualize a public inheritance relation between two classes.
  • -
  • -A dark green arrow is used for protected inheritance.
  • -
  • -A dark red arrow is used for private inheritance.
  • -
  • -A purple dashed arrow is used if a class is contained or used by another class. The arrow is labeled with the variable(s) through which the pointed class or struct is accessible.
  • -
  • -A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance.
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/graph_legend.md5 b/docs/html/graph_legend.md5 deleted file mode 100644 index f955910..0000000 --- a/docs/html/graph_legend.md5 +++ /dev/null @@ -1 +0,0 @@ -9db1b0ad00397ef229eb2a8ab06ab3c2 \ No newline at end of file diff --git a/docs/html/graph_legend.png b/docs/html/graph_legend.png deleted file mode 100644 index 8e50498df5a863e82ce9a84b23439f9caf16c005..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3907 zcma)9c|6qH`=5v`sS#4++AgDPl^B)mX3Rx{55w3Mav4S{W6#i4O(RQ~)Rb*xj2X*> zA!93D5?N;^S;}pZYtq<>!q@HI?{9hie!ti2cm6of^SsY_Kj*y8^Sqwdb8b32B4wl? zQXmjW#_kum3kW1a-`2+@M7QTVPC19S1>k%Jjo94Uq8#s?$O5$`fVN6OX%Gk~2($$P z9XuGRs;WvL5DE$l+n+saZEJfwF=1h0arEfX%*;$A66x>nuc)XP6BAQbR@T!vY-k!R6Q)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V#6Tj<1m*s-!&R&H+F==BygSMpeS{C^3nF?JQ#!3MndR{Vyg+I^J~7an z@v1iHR$fvirM^O}_vi+y=jaCZ4ep}(-OJ%}k#K$>Rb|2G`!~QA2)*gj@?+Blnu+^< zpXw(4zFk@wkK--*8Z;FH{mwC(IDkkG`{Agv*$l>PN;eZ2@7nK9aN9tc6?r{~SyiNV zLxyXyqxNRu@i(Uwy7-*2g+x|H1GAM;pvDMPoNp*SN}6pKlryT!TMIb&J=v|sNmVo> zKG(G@DbAZxcl-r^{v!VZux!BZcg;I;PQQ0oCMr3TQ4Ys*c^W%T%KnNmL*q~IpSgZ- zoF4nYVR4uOETif2z|zl;8wCt(I8Z!Ij`Z?ScEcO;fzv&~AB5BCky(6{o1*I*Q+C)f zy(<cVX$y;z^-os`=^UIO5u)kk8LP#2%%&98+-u1_H|KjHzfYtF}YSMg9>(|W# zDoIz&r)AZ3EEc|fJ=pi0BsH|nUt=cCTbwwT0Bqy!t1N%8f@YvAnv-N+$e@3ha7SlR zP(a&s#*()JS#@pWps - - - -server: src/server/handle_accept.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/server/handle_accept.c File Reference

-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
- - -
-
-

Go to the source code of this file.

- -
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/handle__accept_8c__dep__incl.map b/docs/html/handle__accept_8c__dep__incl.map deleted file mode 100644 index 00067f3..0000000 --- a/docs/html/handle__accept_8c__dep__incl.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/handle__accept_8c__dep__incl.md5 b/docs/html/handle__accept_8c__dep__incl.md5 deleted file mode 100644 index 92e43db..0000000 --- a/docs/html/handle__accept_8c__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -69eea7439dfde07e8705ce32eb0b68ff \ No newline at end of file diff --git a/docs/html/handle__accept_8c__dep__incl.png b/docs/html/handle__accept_8c__dep__incl.png deleted file mode 100644 index f8c435934b61008c41d196a93b956bc3cdd5bb4e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1085 zcmeAS@N?(olHy`uVBq!ia0vp^2Y|SggBeKbv&wx2QuYBpA+G=a|Cf|3ICS{1y}f;X zef_=r_vg)@FE1~@Z~y*DlP2lw>$|(V$H&JnU%tG&yj)ydyuZJH|Ni}#FJA^4@c;k+ zue(im16hnEL4Lsu4$p3+F)%Q%@pN$vshIP2R(H`H10Gl3NM_dC2Y&qjzqLy8hM)Na zPY3T+*1eq9oj!eRUNW=vT#C_5pZKtS%gq=*%ce5iGGfU6YtK+UoD5{$7j{s9-v9x;>7;Cs{7|%w>zSi8AdT)*U`CSk%v4xykNh zn5)ZkCiBb<kJGr8mP%00%a zhKeT}_)3=vZk(sf^X7TW>Iv*;l%_KnGX*;^$m|z+Y_Lw{>$NE#0yMM(tjZaa_ynUf z3eF|ZDil1yqW)+}p!&Ig0`qj{D8vZ=k&9(n5FKR`$=Daas!$?)Qq}D#2EI%IR{S{& z8Pg`uoAmdNxUh`S@|KI2L)M4spHGo;uvcKX8?>mC(W36IllP6PIy24d&7b=Zf8}CO ze{F76!1YY?!LbD6OLvZ(&|Gf#b(2O;U;^WWsSj@N4_DA@o@lV{$lF<;Dp{8l%R8Jq zpmRHK!DQw1gadair%W+fclD72TZ6DgyUoemCg!+v49BO-swBpA-Zp*ujAzNtl6TAp zvQwVuw&?dOe(UZ$d{n%dfu~3_EIv$X|AV;`+cw^L6z#E1;JCOa&>v-Vw{Xwa^^eNh8S7s1rCG}C2>X!*|v{6v#q~p+)KHP9>E`BH7-tC}faiPq#^wFF4 z zBtGMSX2D(Na)H_NmffyqdvS~HVi-5Gc*8r+2IE*3h4cd_&+(T0c*4VS=R+f7jQ8=X ztxfR^3HR4B_?|2gbYRw(x#tuhelBtE42zhG*%pi(zzBTHa==!hg7pA*>Mo84N|Faw zzFfB+6hyoZyB9HLgzvFGaQFX~45OL%Lh2blNo2%4P - - - -server: src/server/handle_accept.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/server/handle_accept.c

-
-
-Go to the documentation of this file.
00001 static
-00002 void
-00003 serverHandleAccept(Server this)
-00004 {
-00005         char remoteAddr[16] = "";
-00006         Sock acc;
-00007 
-00008         acc = socketAccept(this->sock, remoteAddr);
-00009 
-00010         if (-1 != acc->handle) {
-00011                 //* save the socket handle
-00012                 (this->conns)[acc->handle].sock   = acc; 
-00013 
-00014                 //* clone reader
-00015                 (this->conns)[acc->handle].reader = clone(this->reader);
-00016 
-00017                 (this->fds)[this->nfds].fd        = acc->handle;
-00018                 (this->fds)[this->nfds].events    = POLLIN;
-00019                 this->nfds++;
-00020         } else {
-00021                 delete(&acc);
-00022         }
-00023 
-00024 //      (this->fds)[0].revents |= POLLIN;
-00025 }
-00026 
-00027 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/header_8c.html b/docs/html/header_8c.html deleted file mode 100644 index 8ae8290..0000000 --- a/docs/html/header_8c.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - -server: src/http/header.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/http/header.c File Reference

-
-
-
#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
-#include "class.h"
-#include "interface/class.h"
-#include "http/header.h"
-
-Include dependency graph for header.c:
-
-
- - -
-
-

Go to the source code of this file.

- - - - -

-Functions

 INIT_IFACE (Class, ctor, dtor, NULL)
 CREATE_CLASS (HttpHeader, NULL, IFACE(Class))
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
CREATE_CLASS (HttpHeader ,
NULL ,
IFACE(Class)  
)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INIT_IFACE (Class ,
ctor ,
dtor ,
NULL  
)
-
-
- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/header_8c__incl.map b/docs/html/header_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/header_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/header_8c__incl.md5 b/docs/html/header_8c__incl.md5 deleted file mode 100644 index c900543..0000000 --- a/docs/html/header_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -29c51c46322a5a318c6a3d45d7016ed7 \ No newline at end of file diff --git a/docs/html/header_8c__incl.png b/docs/html/header_8c__incl.png deleted file mode 100644 index ee66920a09b36dd7c6c6a1b0960c9ee9756d9bba..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2575 zcmV+q3h?!bP)A#!cNZ5IkB^VPzrWMd z(*OVf|NsB>yEVH20004WQchCi&c#vp1q#0p?f~>y}0@f?D1sXFz_b+Glny_c^z zpd3?uRJuvHWFOG=Tbj_-v#u9^^S_>)o&GV1)rP&~CD78v4?Xw>Y|`}X#lkg+zr`y) zltZVF_WJ6n4MEp$X?A72^OZ(!nKTnO{d7u~-c?PS)OXSxrQ2P+5<_21A2k~=#}*BA zeZOXOiACpsaYXEuUY)r5t>{u~*R)BjQhje%vdP-j_l7QI2)ceuj(wNeCf(&Wd`Xwu zcTJn_Vuy9-`}d*ae;&`5+;^Fyf;D3Zx_(Sky7(>NQ(YOwjo-b$4I@IsjftP0-zSQD z##z%{9^!X}kNZ>IGx95=I%==8(hzk0m?FOk3i%)_P@wDk1-hVeilytm-v@L-TKF9a zsGL9-R8F7^Dksndl@sWK$_aEq<>dTV(&zK?z~;-Gxa(H;gxf zg0QcbbCNw1A4}IZUm)ze<(XaYEuYV3J4R9t(BGDKR^uVs#$%rz5cXa2Pv^$Hp5JXZ zT2MwH>>IQ-k7)=6tWJA9R4)+rx3xWiTQ_-W!^XJ#eN;aH_E)uc54X{_?VBBY))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kW&hxXec9k(rGeBQh~_BT6UY88?-}n3sTJns)1q?4gTYYl##ef311y zhOUagPzJ0zUFWcd&}DtORVz!}i31$2R)q052h``%)OB@{Wp4zlHrGoh8Yql)s`3<0 z<{_#S3%Zn_tg=c{6h$rxx=F>hr*OTlv(b5EW~0WKwab)_$1`p^1)G zsZ}KTju_XjTF#ubYL`o409~W6v=Sv&Had*QIiNnmpuWnf;qN1P$|~2U7H>HUV__tw zK%9a;lat3cj4m}yR#_!k>z6u|j%`n&t5@0Bisogb#*B2S(url$%#TiR%uCGHByD$O z-<7e`ZzI{eo!&F*>#cm>M6X@e*H~#AR&O~+?Hu@}ahxR{K#Ib+t*VZ{lBaMo4{qNu zx@t?8PSO@ehcdIKPoZ*Tqw~njMvWQiQZcI0O{Xx;t7X%)-I0BC2{!-RT)WcfGQJDC zW@}dp1meQqUewey*J^wNiuYGtQyA;FraT4v;P#EBODAck)~pyZwrLd?s#P{RkIZbA zbji|*cy@kN3X3bvB<C*>P(%=caHgk$N_NsiO2LaErMRqgK=+06G{so5;)lBE;zjGIcq1U0iY zNqcwVrb&qVI=+2j>h_?W-ZNfK_F5KCm-SuHrNT7!Wi$lBfS03^mqz8S?{7Qx;7mE# zSl!?>*RIj0U>@8F$IvBnR!Q2ooerf>O1D<7Y;+!(+2}DMlgfTHP)%BN3X{C#9sZd1 z?!*=P`Xk7<6-iwyUvu1N^%p_Y&WCDA#=$CNo2b}q!b%qz`ki!L_&cvPpV$OjxDVIz z!xzxC7xs7P5^HVa{9b6w!g*MKAZNal+ZO0@D6Djmq2EeZl6Af_=sGGi=pr))U8@+N zi_92wtzv*KGGoxSiUGRFj6v5b2IwL)23@Ndpo`2Hbgg30{j2Up1OgRvE@WJ;5`Qck l4-*gsK@bE%5Cr`t{R5XYb6oJqilG1i002ovPDHLkV1hX`{(S%d diff --git a/docs/html/header_8c_source.html b/docs/html/header_8c_source.html deleted file mode 100644 index 8d1d91a..0000000 --- a/docs/html/header_8c_source.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -server: src/http/header.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/http/header.c

-
-
-Go to the documentation of this file.
00001 #include <stdlib.h>
-00002 #include <string.h>
-00003 #include <ctype.h>
-00004 
-00005 #include "class.h"
-00006 #include "interface/class.h"
-00007 
-00008 #include "http/header.h"
-00009 
-00023 static
-00024 inline
-00025 unsigned long
-00026 sdbm(unsigned char * str)
-00027 {
-00028         unsigned long hash = 0;
-00029         int c;
-00030 
-00031         while ((c = tolower(*str++)))
-00032                 hash = c + (hash << 6) + (hash << 16) - hash;
-00033 
-00034         return hash;
-00035 }
-00036 
-00037 static
-00038 void
-00039 ctor(void * _this, va_list * params) {
-00040         HttpHeader this = _this;
-00041         char * name;
-00042         char * value;
-00043 
-00044         name  = va_arg(* params, char *);
-00045         value = va_arg(* params, char *);
-00046         
-00047         this->name = malloc(strlen(name) + 1);
-00048         strcpy(this->name, name);
-00049 
-00050         this->hash = sdbm((unsigned char *)name);
-00051 
-00052         this->value = malloc(strlen(value) + 1);
-00053         strcpy(this->value, value);
-00054 }
-00055 
-00056 static
-00057 void
-00058 dtor(void * _this)
-00059 {
-00060         HttpHeader this = _this;
-00061 
-00062         free(this->name);
-00063         free(this->value);
-00064 }
-00065 
-00066 INIT_IFACE(Class, ctor, dtor, NULL);
-00067 CREATE_CLASS(HttpHeader, NULL, IFACE(Class));
-00068 
-00069 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/header_8h.html b/docs/html/header_8h.html deleted file mode 100644 index 3872997..0000000 --- a/docs/html/header_8h.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - -server: include/http/header.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

include/http/header.h File Reference

-
-
-
#include "class.h"
-
-Include dependency graph for header.h:
-
-
- - -
-
-

Go to the source code of this file.

- - - - - - - -

-Classes

struct  HttpHeader

-Functions

HttpHeader httpHeaderParse (char *line)
void httpHeaderSort (const HttpHeader[], int)
char * httpHeaderGet (const HttpHeader[], int, const char *)
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
char* httpHeaderGet (const HttpHeader [],
int ,
const char *  
)
-
-
- -

Definition at line 31 of file get.c.

-
{
-        unsigned long hash = sdbm((unsigned char *)name);
-        HttpHeader    found;
-
-        found = bsearch(&hash, header, nheader, sizeof(HttpHeader), comp);
-
-        return (NULL != found)? found->value : NULL;
-}
-
-

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - -
HttpHeader httpHeaderParse (char * line)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void httpHeaderSort (const HttpHeader [],
int  
)
-
-
- -

Definition at line 14 of file sort.c.

-
{
-        qsort(header, nheader, sizeof(HttpHeader), comp);
-}
-
-

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/header_8h__incl.map b/docs/html/header_8h__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/header_8h__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/header_8h__incl.md5 b/docs/html/header_8h__incl.md5 deleted file mode 100644 index 7c2034f..0000000 --- a/docs/html/header_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -b00d694ef806d6e244e09e79f0fb1736 \ No newline at end of file diff --git a/docs/html/header_8h__incl.png b/docs/html/header_8h__incl.png deleted file mode 100644 index a7973b36651e3902ea838bcef7b7b7fb7d6af238..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 829 zcmeAS@N?(olHy`uVBq!ia0vp^vw^sjgBeKXeN6TNQkDTeA+G=a|Cf|3*tdWGy!rF( z?d|W~zb`K@UteFZudmsd`2YXSIfl+7JIvC3xZa(!l`@IZ zo6o$(Hg|X5(WH%bp&5Rxv-5q)yr!N)-S$a@>cmT_xo(K>KSKG zs9wpe5veMfd-7Xwz{j{X3k!;03$K6ndj>BX+hWtO^I2o2{Rj%JL&s$@89aj!{_TVU}|uITg%Cd&(l%*DpAE?JCQ5o}4|4v}b>uWh^h4 z_wXc8nV!|;oeACMDqq|m&Wl>}^w8s_FMw9IL>XQ0D1DszzR>IrS5ai}&k*zH1$WDG zR_3LK8%@vt*s);q(Z9vnEv?xej@X|JW+ zezR@6C9(c!j)`f{HIwM;7SXva`&XrIOWS{aan`2VKjlBPZ))}LH=2F(RS$^VbgcY8 zgYYr=Bm$Lr6eZL>ll k@28pnv1S*0egCSw=9BN+txr8p1}0?&Pgg&ebxsLQ08{CZY5)KL diff --git a/docs/html/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.map b/docs/html/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.map deleted file mode 100644 index 766089a..0000000 --- a/docs/html/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.md5 b/docs/html/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.md5 deleted file mode 100644 index c120109..0000000 --- a/docs/html/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -e121973e81d665acb1be05befc4d66dc \ No newline at end of file diff --git a/docs/html/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.png b/docs/html/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.png deleted file mode 100644 index 7f1e96563c0f98222b07bc771b9940149f11708c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 950 zcmV;n14;aeP)%c00960 z|FG-Y`v3p{0d!JMQvg8b*k%9#11m{HK~!jg?U;d*qaX~15kyoFC-48Vmjn^CdR3R( z>(27;;Itu7`1~8(3Q<*6RaI5>QG)N)XRq$LvL(;osoOwr=Kn8MpoLX|7FGpXSQTht zRiK4cffm*YQ1FKk{CS_>-48#48xJ$T3>3^^0!hg`Q}T$z$sVM|?Cj+WI`2Yz0MxsF z82T(VpJxxWY3?nQH)nKcYg8Iztlp1177wHmQmMC}d@b!@ov%P)3+e{Ye&lO^)}H}w znrA>Ev`y3;yZ1#ra2fITldq*6tTW&4n)H9sD~z!p?gW@ z$osTQK*xCkA06sp^aDakKyB~+h=JZ?nspO)LyThfklQ#$Ume=4x(8H=4ooCvu)ay$ z7VXB-PrC$kAaDsN;+fpM{QHk@ zoF{wEbOrAw96=5ZQOag~lsl*B9%$1%1bF2c5ljvZt4B^F9y}Z#AVvesVJ)0lG*fd|*+R`0XaK~UZ&f4^ z*k)h(<+mVd$ziF6Qj$`ZDbZ^iTp4BnaV6~u(8ZxEP;wm>$YA7+Lp_h0M?Q|G=+Grv z$f4%Yp{w)AH^yWRl_@Hui1lJ66&$~i;_fAR3-mPY3DA8F?Wr#Ic>K&3hRF?~hQ=s+ z)B3@V^fHU?YN#j!G}X|sTT7MAwpxZ7+6kMY`x?q)q-Y_!HWbH@ya9Tib{*(UK(Ki{ z^mnIx&jCEYr{3`?KR}EIbo2nw&wR3n+!0=Zu23HU6$(R&*mUWX4_C{97EgKHbqksu zx(JA*D?qo}yQ_r0@L<2yU!M>!KRy=IM*zLK(5-$X z(EhaR1AyAI9`Uh2|Al_puT2%`Q&pgaRe=^(1zK1YXkq0*zgKq``cqW&_Ec3>RsBN! Y0YH@MWMD6IQ~&?~07*qoM6N<$f{;qK!vFvP diff --git a/docs/html/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.map b/docs/html/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.map deleted file mode 100644 index e10b7bb..0000000 --- a/docs/html/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.md5 b/docs/html/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.md5 deleted file mode 100644 index b4ac569..0000000 --- a/docs/html/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -71394d12b5a7b8762f9e0e79e33ef3c6 \ No newline at end of file diff --git a/docs/html/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.png b/docs/html/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.png deleted file mode 100644 index 825f7b7e11614b25de46046aef7955012374f07b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 965 zcmV;$13LVPP)%c00960 z|FG-Y`v3p{0d!JMQvg8b*k%9#13F1WK~!jg?U;d*s~`+T5kyoFC;$Jmn-CCbb*paO z*PX|m(d~v{;dl*HA*!mXs;a8~h~U@t`6Ilj^_b^h)_JODJNzS6s&}YTy+f7i9ja9C zP^Ef@D%Cr*M-}`g2EX6tA8v|u;Ovc5!E9!blst3I&|~vr7t&(#`tuV%@A$YtwI2sR zxc(u>75^4go95(b!wik)V~I**jMd_hLPzQ$m3sNr$I>>&`Aii`S|_N&fTzKIpR;^* zLpnKHrV4x%QM2viCxwo&$IGuimbNj@^@Jw}cE*P|93BQozFSeXj-Kyf439ZJ?c)R~ zO4(@B$lmuMlY`(ks5Vh2N84#=g$5lC15#^SOup5+6#}!Agbbgf68m(a<8mLQ0&1ZP zNp6nGA@Vxy5Y=&>z$dSI81ZqoE2_5le#AiUG0nOOn;}IpdqA54ewwKicpp$>aLcPr zbCIeN9hij6V9k>_H=4Y$mZoZrQEjI?jAyDG#am)J$X+#839uM4bRij=V{(YRPCG<( zAbOc9@|oNm-yPsT&XZARI)ir;_8_lv)HD169X#gf?iE6XfNvdJ0nW`aQ#`iDe zD~%_qf|t5Xm7@mQ#nWjSqK1Hrj?la$nnbHFWdkbuY}ucD1rSHlu279$U8s^P zy^oeIyy`=*yjm?@-CC`F;#ITh)y0G4AY)cul{qS;NabU}#omv&LUT+msqUs-q54=? zd#a#4EK&?7?@* - - - -server: include/http/header.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

include/http/header.h

-
-
-Go to the documentation of this file.
00001 #ifndef __HTTP_HEADER_H__
-00002 #define __HTTP_HEADER_H__
-00003 
-00004 #include "class.h"
-00005 
-00006 CLASS(HttpHeader) {
-00007         unsigned long hash;
-00008         char *        name;
-00009         char *        value;
-00010 };
-00011 
-00012 HttpHeader httpHeaderParse(char * line);   // @INFO: destructive
-00013 void       httpHeaderSort(const HttpHeader [], int);
-00014 char *     httpHeaderGet(const HttpHeader [], int, const char *);
-00015 
-00016 #endif // __HTTP_HEADER_H__
-00017 
-00018 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/header__get_8c.html b/docs/html/header__get_8c.html deleted file mode 100644 index 2b0b4e3..0000000 --- a/docs/html/header__get_8c.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - -server: src/http/request/header_get.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/http/request/header_get.c File Reference

-
-
-
#include <stdlib.h>
-#include <ctype.h>
-#include "http/request.h"
-
-Include dependency graph for header_get.c:
-
-
- - -
-
-

Go to the source code of this file.

- - - -

-Functions

char * httpRequestHeaderGet (HttpRequest this, const char *name)
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
char* httpRequestHeaderGet (HttpRequest this,
const char * name 
)
-
-
- -

Definition at line 31 of file header_get.c.

-
{
-        unsigned long              hash = sdbm((unsigned char *)name);
-        struct HttpRequestHeader * header;
-
-        header = bsearch(
-                        &hash,
-                        this->header,
-                        this->nheader,
-                        sizeof(struct HttpRequestHeader),
-                        comp);
-
-        return (NULL != header)? header->value : NULL;
-}
-
-
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/header__get_8c__incl.map b/docs/html/header__get_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/header__get_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/header__get_8c__incl.md5 b/docs/html/header__get_8c__incl.md5 deleted file mode 100644 index 85eebb5..0000000 --- a/docs/html/header__get_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -ac8d131eabb03284335c71e7be280ce0 \ No newline at end of file diff --git a/docs/html/header__get_8c__incl.png b/docs/html/header__get_8c__incl.png deleted file mode 100644 index 7f67b411b037130bfd6aca76f63db90b2a9a1e18..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1745 zcmV;?1}^!DP)A#!cNZ5IkB^VPzrWMd z(*OVf|NsB>yEVH20004WQchCYR?nGEl4#MQMT-_KS~O|=33fCic7KbE+!h(REi!UjWaPHU z$Zh8`q7CD8wrQ0uNI~PSTXim@w%38t4!_1to+if)Qd3<#7>%d5?OaARGmQA3Kx%hX zIygR-n(g8vGiASI)OWmVDet?Uk*;f~$S2-*oG=DW@WrsT!z_a)(-WGZQ{799A{OZt zf;g1fQmT>lHOE&1LtC!BQdF7}RZT*M$#>0&_AeRnmbRS2x?mZU)`Yb!IBNz@y^o-k z_5w=FWX}eBw!jvE7)H`71tl~~N;NXx;B-U{RbC;g5%r=)HR*k%)^-jf$_d4v@B{8X zqbJ?Qu1Tj9l>ICz)d*qN4X1jj@>*4gYrtv>Zn;PHQ$~2( z{zng%gq~o2d@+*y2%E&B@g7rZ@1ve;uN0){w53#|+E(^HqSR(I+DDX{eI(X)79&-U zn9BJ^RK~xIWIbxA&LON74N;|oa!63Fy;eQ4rBowSXGVChtB&!S<(PUTn`BwjYdeb( zoFkpgH9Tw@TC*WAR&)FU2;y9;nLdmg@!lLxpumk+2+E~PSpK#iL9`yvVJ~I`2@FqIt-IsZ7%hBC3&u$Q3Ko*8Bkt~3 zV{}Q2jNBF(xh*nsTV&+6$jEJnGYW5?#kVuAU3M^|@b+=MpYy%QzQUj6@p&_)@7QN( zycg0$Knh({<;4P4L73Ozr zrNz3ubNoYWF+{KUpAN~9Dt_TV8uMY6aA~rFn$4BJxM(Tkv!J zd5{h`)}OYOjycsI19E{PG^G$}gd4a(YCBtpH94ryw_Em*s zq?Qp%Etu_%FeD$0W83=6gr{{GurWsvLm+9bsz?^3W-*xFM;$L#*z&#&hNZ4CoX&h-gMBypak#O^PvdH>0e~^E5-*s>Br= z!Hi(TjII|WF-k|TWs3qYD=lA`SVS*9sfpDiF6%nySuTaj0^Sb$C>Nm#t?KW-bTdM+ zyb#NQo111vu!NT?ozeATBt{L4q%6thrIH_Fk)cWN5UWRAqg*4vAIFLAm3^)$HEdYR zXs8;HY`A(YX#JIXE zCHb&vQ9jeL6ba$RYt^G-6(g+kP%*eX*DCv5%cRg2MkodgPsO@rKB$9|$d^f7e?~$% zHRo@d=*mF!>4|4_l0j^I@D8!+x&0Vzv31Yc8A+^4xkY&CbHTir-;{In{FG6SwJ9=M z@~fvTzt2Y9A6h;C6%{K|D nJICl(78-iAXwjlYJJ|jKsTimbJU&)y00000NkvXXu0mjf&eBdQ diff --git a/docs/html/header__get_8c_source.html b/docs/html/header__get_8c_source.html deleted file mode 100644 index c6ffde4..0000000 --- a/docs/html/header__get_8c_source.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - -server: src/http/request/header_get.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/http/request/header_get.c

-
-
-Go to the documentation of this file.
00001 #include <stdlib.h>
-00002 #include <ctype.h>
-00003 
-00004 #include "http/request.h"
-00005 
-00006 static
-00007 inline
-00008 unsigned long
-00009 sdbm(const unsigned char * str)
-00010 {
-00011         unsigned long hash = 0;
-00012         int c;
-00013 
-00014         while ((c = tolower(*str++)))
-00015                 hash = c + (hash << 6) + (hash << 16) - hash;
-00016 
-00017         return hash;
-00018 }
-00019 
-00020 static
-00021 inline
-00022 int
-00023 comp (const void * _a, const void * _b)
-00024 {
-00025         unsigned long a = *(unsigned long *)_a;
-00026         const struct HttpRequestHeader * b = _b;
-00027         return (a < b->hash)? -1 : (a > b->hash)? 1 : 0;
-00028 }
-00029 
-00030 char *
-00031 httpRequestHeaderGet(HttpRequest this, const char * name)
-00032 {
-00033         unsigned long              hash = sdbm((unsigned char *)name);
-00034         struct HttpRequestHeader * header;
-00035 
-00036         header = bsearch(
-00037                         &hash,
-00038                         this->header,
-00039                         this->nheader,
-00040                         sizeof(struct HttpRequestHeader),
-00041                         comp);
-00042 
-00043         return (NULL != header)? header->value : NULL;
-00044 }
-00045 
-00046 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/index.html b/docs/html/index.html deleted file mode 100644 index da89ff9..0000000 --- a/docs/html/index.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - -server: Main Page - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- -
-
- -
-
-
- -
-
-
-

server Documentation

-
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/installdox b/docs/html/installdox deleted file mode 100755 index edf5bbf..0000000 --- a/docs/html/installdox +++ /dev/null @@ -1,112 +0,0 @@ -#!/usr/bin/perl - -%subst = ( ); -$quiet = 0; - -while ( @ARGV ) { - $_ = shift @ARGV; - if ( s/^-// ) { - if ( /^l(.*)/ ) { - $v = ($1 eq "") ? shift @ARGV : $1; - ($v =~ /\/$/) || ($v .= "/"); - $_ = $v; - if ( /(.+)\@(.+)/ ) { - if ( exists $subst{$1} ) { - $subst{$1} = $2; - } else { - print STDERR "Unknown tag file $1 given with option -l\n"; - &usage(); - } - } else { - print STDERR "Argument $_ is invalid for option -l\n"; - &usage(); - } - } - elsif ( /^q/ ) { - $quiet = 1; - } - elsif ( /^\?|^h/ ) { - &usage(); - } - else { - print STDERR "Illegal option -$_\n"; - &usage(); - } - } - else { - push (@files, $_ ); - } -} - -foreach $sub (keys %subst) -{ - if ( $subst{$sub} eq "" ) - { - print STDERR "No substitute given for tag file `$sub'\n"; - &usage(); - } - elsif ( ! $quiet && $sub ne "_doc" && $sub ne "_cgi" ) - { - print "Substituting $subst{$sub} for each occurrence of tag file $sub\n"; - } -} - -if ( ! @files ) { - if (opendir(D,".")) { - foreach $file ( readdir(D) ) { - $match = ".html"; - next if ( $file =~ /^\.\.?$/ ); - ($file =~ /$match/) && (push @files, $file); - ($file =~ /\.svg/) && (push @files, $file); - ($file =~ "navtree.js") && (push @files, $file); - } - closedir(D); - } -} - -if ( ! @files ) { - print STDERR "Warning: No input files given and none found!\n"; -} - -foreach $f (@files) -{ - if ( ! $quiet ) { - print "Editing: $f...\n"; - } - $oldf = $f; - $f .= ".bak"; - unless (rename $oldf,$f) { - print STDERR "Error: cannot rename file $oldf\n"; - exit 1; - } - if (open(F,"<$f")) { - unless (open(G,">$oldf")) { - print STDERR "Error: opening file $oldf for writing\n"; - exit 1; - } - if ($oldf ne "tree.js") { - while () { - s/doxygen\=\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\" (xlink:href|href|src)=\"\2/doxygen\=\"$1:$subst{$1}\" \3=\"$subst{$1}/g; - print G "$_"; - } - } - else { - while () { - s/\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\", \"\2/\"$1:$subst{$1}\" ,\"$subst{$1}/g; - print G "$_"; - } - } - } - else { - print STDERR "Warning file $f does not exist\n"; - } - unlink $f; -} - -sub usage { - print STDERR "Usage: installdox [options] [html-file [html-file ...]]\n"; - print STDERR "Options:\n"; - print STDERR " -l tagfile\@linkName tag file + URL or directory \n"; - print STDERR " -q Quiet mode\n\n"; - exit 1; -} diff --git a/docs/html/interface_2class_8c.html b/docs/html/interface_2class_8c.html deleted file mode 100644 index c3988ab..0000000 --- a/docs/html/interface_2class_8c.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - -server: src/interface/class.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/interface/class.c File Reference

-
-
-
#include <stdarg.h>
-#include <stdlib.h>
-#include <assert.h>
-#include "class.h"
-#include "interface/class.h"
-
-Include dependency graph for class.c:
-
-
-
-
-

Go to the source code of this file.

- - - - - -

-Functions

void * classNew (class_ptr class,...)
void classDelete (void **object)
void * classClone (void *_object)
-

Function Documentation

- -
-
- - - - - - - - -
void* classClone (void * _object)
-
-
- -

Definition at line 42 of file class.c.

-
{
-        class_ptr class  = class_getClass(_object);
-        void *    object = calloc(1, class->object_size + sizeof(void*));
-
-        * (class_ptr *)object = class;
-        object += sizeof(void*);
-
-#undef clone
-        CALL(object, Class, clone, _object);
-
-        return object;
-}
-
-

-Here is the call graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - -
void classDelete (void ** object)
-
-
- -

Definition at line 33 of file class.c.

-
{
-        CALL(*object, Class, dtor);
-
-        free(*object - sizeof(void*));
-        *object = NULL;
-}
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
void* classNew (class_ptr class,
 ... 
)
-
-
- -

Definition at line 15 of file class.c.

-
{
-        void * object = calloc(1, class->object_size + sizeof(void*));
-        va_list params;
-
-        if (class->init)        class->init();
-
-        * (class_ptr *)object = class;
-        object += sizeof(void*);
-
-        va_start(params, class);
-        CALL(object, Class, ctor, &params);
-        va_end(params);
-
-        return object;
-}
-
-
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/interface_2class_8c__incl.map b/docs/html/interface_2class_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/interface_2class_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/interface_2class_8c__incl.md5 b/docs/html/interface_2class_8c__incl.md5 deleted file mode 100644 index 8a6a50e..0000000 --- a/docs/html/interface_2class_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -5cf44eac642aad62c08a8117fd264019 \ No newline at end of file diff --git a/docs/html/interface_2class_8c__incl.png b/docs/html/interface_2class_8c__incl.png deleted file mode 100644 index f37a2731aba869372e96b5f65ee26b750f209332..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2089 zcmV+^2-f$BP)A#!cNZ5IkB^VPzrWMd z(*OVf|NsB>yEVH20004WQchCiL#?A5QfdTPFxa;_kY)6 zRa8)xM$OoN-MLX{emeaHBxh>sWEl#DLZMJ76bgkxp`IpkCtY2P|6F9ekC1g*A?xP| zSwBa}`Z+?@&k?eIj`msiZEp`~tzCVqF1$WU$U3d|VGQ5Cn+blFKuK>OhOBR>eHia0 z+;QjDI1E|eNji-0hkS;fd_Ui@`+VA-?Zu2189pDnylL;qI=Yd^@Z0a3ur3iUd-)bF z4agM2&8L@foChK6lccjILqCw7ycz1ge|O_B2-YoY=a*f}I(Q6Uv!Y9e%U(82wrHcd z`KVqvYB2~|pCyfTPr6<{hS}2Vhf%IfLLa}9^`~bGmB(<_?3VO0T=ueIvW3Nn5MeIo z;8KH-^;uf%;VoUSVz~++Z$XsZN!H@;CEU^t z*EKy$5A8>UkFxhY8HnSY2;t_VdLjKd4MNr@34ccV93kuH2w6Wz$oe@#*3S{LevXj! zbA+s)BV_#?x&4ET*K6Idd%L+edTe!dF;Lm-wP`uH-!=#zV>9YDGLUvaYoUs?Z!7~G z11`5FX^6P*C?gjWD%Z9hThx^@6Nzlx^+sJI3k|PUr2PxBk??EYUD`~SDgJlQUAxy-5jrPjEd(hf7b(j`$pR4_fN8oe;iMY?xQLUqB zx?x1zr|784hy6$XKzX2Ib$om}bcha^b3xqcbX;7A!xccp9E!Np$f2$dm4^w@f{`|~ zTvm`%+1*as4nbNp;)au3H64%8fKhWe(uR>^Asx#N8#c!y?Pxh~kj~$gfaB%?h&x6e z<-0IY8-lb0;wU+KAg2WY#3}@+&=QGRYH8B&=9wi ze9M&bgAubMBkd!3S15IS@Y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3SjMQ=+qwRi>%#+tW&xpYe-*Y?Ji`U z(j8et`XXz0A?uXx$QsfYS-VST4gC*EmJ_A%1xPrhd)lO7vO%FxC=?2XLS3bQs2g-} T#pMl{00000NkvXXu0mjfz-k(k diff --git a/docs/html/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.map b/docs/html/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.map deleted file mode 100644 index f3be230..0000000 --- a/docs/html/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.md5 b/docs/html/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.md5 deleted file mode 100644 index bfff866..0000000 --- a/docs/html/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -1942056551c6d8f145bfbfe7cd2026ef \ No newline at end of file diff --git a/docs/html/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.png b/docs/html/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.png deleted file mode 100644 index f1a935225e6f047615c72caebd3f70ac18a2a56f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 778 zcmV+l1NHogP)%c00960 z|CUL=SO5S30d!JMQvg8b*k%9#0)I(FK~!jg?U{>`s~`-9DRNPPbn^Z$dlG^cdU30^ zGp93TW{qz1kK`i+x~o*TZr!?dyEFWf{U^hCYkYY9itT2wGybe~2A#pf`#OWpAU|{l zoq>A7AiSg!V#0aaiufP{dw_}shh}(7dXPa#aSVXtrx;u=uf~+~*~P%Rd;x7e>Mt^g zk*_d+jzLA?ECY@P;9GA_F@Tg};0(tZ6Oc=orq!iU7%>A{794QJNj!+#&0xh)$9w0% zaw6KG^W+@5VRgj@DtnC*?G=5bl+(hak`_@b-C_VKgc+Ct#xP-^49Q)K3-pV%QsNu} zXI%mzvho-M!BE9}XRYy^2!b8ZDjdkE#VrW5rOYTAmS{_%0^uetqDH#OfG0al%z&~T zktza0PPw>>0pCxFQl;9U`^19zFax4c#q*5WA!kMNh%~L<=FGfpgB0iGILJIO5NQ#$ z(oF`Eq^yNG($g4mrX-7#wJ>r&$Q>aUOvpd-Rjg)k*=yB^?2?E!2IxrxmAzVA6_h7D zTW$fe76eF<7EvSJt^>|j)`CngU8kFqo)}Y82Vt#)5NZZz>VWf=wV-pdnrD1bCmZVh0aZt85WLOc*_gaT*%zqg58!wU;Myqe z7GyM^3V?PIrA&svXC$pEX%V&3O$Hyd(`TeVOmk%qW~b`K`+oHMf~R@acYFTf_x&1! z89cnNGw2NRLub(c*Ve6Dw{C3z0INr^Fe?*u`~Uy|07*qo IM6N<$g5zsrod5s; diff --git a/docs/html/interface_2class_8c_source.html b/docs/html/interface_2class_8c_source.html deleted file mode 100644 index 52f29b0..0000000 --- a/docs/html/interface_2class_8c_source.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - -server: src/interface/class.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/interface/class.c

-
-
-Go to the documentation of this file.
00001 #include <stdarg.h>
-00002 #include <stdlib.h>
-00003 #include <assert.h>
-00004 
-00005 #include "class.h"
-00006 #include "interface/class.h"
-00007 
-00008 const
-00009 struct interface i_Class = {
-00010         "class",
-00011         3
-00012 };
-00013 
-00014 void *
-00015 classNew(class_ptr class, ...)
-00016 {
-00017         void * object = calloc(1, class->object_size + sizeof(void*));
-00018         va_list params;
-00019 
-00020         if (class->init)        class->init();
-00021 
-00022         * (class_ptr *)object = class;
-00023         object += sizeof(void*);
-00024 
-00025         va_start(params, class);
-00026         CALL(object, Class, ctor, &params);
-00027         va_end(params);
-00028 
-00029         return object;
-00030 }
-00031 
-00032 void
-00033 classDelete(void ** object)
-00034 {
-00035         CALL(*object, Class, dtor);
-00036 
-00037         free(*object - sizeof(void*));
-00038         *object = NULL;
-00039 }
-00040 
-00041 void *
-00042 classClone(void * _object)
-00043 {
-00044         class_ptr class  = class_getClass(_object);
-00045         void *    object = calloc(1, class->object_size + sizeof(void*));
-00046 
-00047         * (class_ptr *)object = class;
-00048         object += sizeof(void*);
-00049 
-00050 #undef clone
-00051         CALL(object, Class, clone, _object);
-00052 
-00053         return object;
-00054 }
-00055 
-00056 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/interface_2class_8h.html b/docs/html/interface_2class_8h.html deleted file mode 100644 index 121b960..0000000 --- a/docs/html/interface_2class_8h.html +++ /dev/null @@ -1,374 +0,0 @@ - - - - -server: include/interface/class.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

include/interface/class.h File Reference

-
-
-
#include <stdarg.h>
-#include "class.h"
-#include "interface.h"
-
-Include dependency graph for class.h:
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - -

-Classes

struct  i_Class

-Defines

#define new(class,...)   classNew(_##class, ##__VA_ARGS__)
#define delete(object)   classDelete((void **)(object))
#define clone(object)   classClone((void *)(object))

-Typedefs

typedef void(* fptr_ctor )(void *, va_list *)
typedef void(* fptr_dtor )(void *)
typedef void(* fptr_clone )(void *, void *const)

-Functions

void * classNew (class_ptr,...)
void classDelete (void **)
void * classClone (void *)
-

Define Documentation

- -
-
- - - - - - - - -
#define clone( object)   classClone((void *)(object))
-
-
- -

Definition at line 28 of file class.h.

- -
-
- -
-
- - - - - - - - -
#define delete( object)   classDelete((void **)(object))
-
-
- -

Definition at line 27 of file class.h.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define new( class,
 ... 
)   classNew(_##class, ##__VA_ARGS__)
-
-
- -

Definition at line 26 of file class.h.

- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef void(* fptr_clone)(void *, void *const)
-
-
- -

Definition at line 11 of file class.h.

- -
-
- -
-
- - - - -
typedef void(* fptr_ctor)(void *, va_list *)
-
-
- -

Definition at line 9 of file class.h.

- -
-
- -
-
- - - - -
typedef void(* fptr_dtor)(void *)
-
-
- -

Definition at line 10 of file class.h.

- -
-
-

Function Documentation

- -
-
- - - - - - - - -
void* classClone (void * )
-
-
- -

Definition at line 42 of file class.c.

-
{
-        class_ptr class  = class_getClass(_object);
-        void *    object = calloc(1, class->object_size + sizeof(void*));
-
-        * (class_ptr *)object = class;
-        object += sizeof(void*);
-
-#undef clone
-        CALL(object, Class, clone, _object);
-
-        return object;
-}
-
-

-Here is the call graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - -
void classDelete (void ** )
-
-
- -

Definition at line 33 of file class.c.

-
{
-        CALL(*object, Class, dtor);
-
-        free(*object - sizeof(void*));
-        *object = NULL;
-}
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
void* classNew (class_ptr ,
 ... 
)
-
-
- -

Definition at line 15 of file class.c.

-
{
-        void * object = calloc(1, class->object_size + sizeof(void*));
-        va_list params;
-
-        if (class->init)        class->init();
-
-        * (class_ptr *)object = class;
-        object += sizeof(void*);
-
-        va_start(params, class);
-        CALL(object, Class, ctor, &params);
-        va_end(params);
-
-        return object;
-}
-
-
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/interface_2class_8h__dep__incl.map b/docs/html/interface_2class_8h__dep__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/interface_2class_8h__dep__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/interface_2class_8h__dep__incl.md5 b/docs/html/interface_2class_8h__dep__incl.md5 deleted file mode 100644 index 654e096..0000000 --- a/docs/html/interface_2class_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -8c9abe4657c88d8f9637bba602be5521 \ No newline at end of file diff --git a/docs/html/interface_2class_8h__dep__incl.png b/docs/html/interface_2class_8h__dep__incl.png deleted file mode 100644 index c2a5065e651876485880951dc030cce15f975c10..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 651 zcmV;60(AX}P)CdCzrWMd(*OVf|Ns9oIffGe0004WQchC+#X0h$22k!h3i4vGKIFYo7PKP+ms$}0PB?ZfKmw$FfLTT(IpL59&N zn_(Dx3@)?j;`^TFKb^~*;0`_t(~yuY!!Qmp{6mb}M?LOmKDx=FEVBO0crp$$w#zFp z%!03w@p;datD}Cn4*A;g!MhG5#V_N*CmDBq?odE?n1Xl17gvKmJG;Rcf)ei4fWmp| zvq2Y{sf($HZ=1c!AcnESSk6S;n@%*t8#U$6;B(|sKsT4MJ)OK*6cT&<*qiz&{W}cy z^>i{C!|M!dP0TS_Gc=^}-dk(N0z~NYk!Exul07(|<3iERWk}c;fqo9H2ba4jO&f!8 z34{qc0sf|vCswj$D2U2mZ{!&Q1cq?U5Wpl}ZO?j$jAXSE5(WF%RtJw#nkpae)u~|Z z6ZraKsq@G&5TeuXGD3@~y=txN2<|qFknlh;aHS6x^HI)R4EA-I493KY#4aN%VXqF{ zVp~$T4a4tEc@do28^+wm2^7@&^{qE`P+kxWb|_!Oi}iU#yNud9BF6x48OS(oVPBod zdB-s`2Asj=HCK$d^P}%A2}*2T9AI~JFQdT~3{y)Hii}+QmT;HU3yoU}<0<#+EBD^5 l7!{**#$WiKSXpI9x8JK-Bm1m6zt8{x002ovPDHLkV1i;)FC_o~ diff --git a/docs/html/interface_2class_8h__incl.map b/docs/html/interface_2class_8h__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/interface_2class_8h__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/interface_2class_8h__incl.md5 b/docs/html/interface_2class_8h__incl.md5 deleted file mode 100644 index 36e8bf3..0000000 --- a/docs/html/interface_2class_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -4c03a02ce9c725212a6b91321da4dc7f \ No newline at end of file diff --git a/docs/html/interface_2class_8h__incl.png b/docs/html/interface_2class_8h__incl.png deleted file mode 100644 index f9e3766687e56be3edeae35e16ea682333eea4a1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1386 zcmV-w1(o`VP)0*FC*CuoGdSJIV-65(qK_z;CVH`whd`3G*xw_`+Ot6- zKB6RJu^$?fwT15^s~_W&wHtmz{Ct+YH~Y?R?)WT4)HX&kAmgpYrJx!iR&H%20P=N@ zbg6*~xIcH|Ez{Y3Pydb3uU6l-99~5@*%p!o=J(#g{=X5ZoFJE{?}c^GY6*6F`X>V7 zsUWJb6hOQM#8vhfkjrhQ+*^^X7JDa>r+{pfdK;3>LhnMdUFSVW0;+rr$Sp|1YD}Lb z^ppB;t2n_zD@>gv{2RwFt2k~k-#30&#c_-Kw(+YfPOztdM3$B=No-}Ql0?__7?4Cs zc2xBkkR(a=)s!B|&Waubk{rqIdJ+RUP)=GTN2*DQA9p5UJH6gh=Q(NCF?vnsfpWimxa}rpkQ&$l>^d6R_*DK} zrSDJXGF67EIBvh3@J1Gsg@TmzX6Ah$#Vmu(GnZRS77U`MZ??7LmexerpJzE)07z4- zy3#*cR@5r5RMzCGE+AD?H#(3vCa2Qx3$KdDt?SkOK#nq4Wd@g&3EZNz(dA?TAgU@W z1p`#nRjH{mCBUK6<(i{G7q-i@YBEq^AXZLi5M`McsEjj0p`u1NMVFIpgOsW$%}m#o zzSJ|KFB{BUjxN-0W-}fJV)|hQkj_yVK`0YsDJvUYP8PDX1Pu^&Y+z~Sf>NQ2mNUHH z1yYV6<}X9=Es9bmQl;o}vJem$^Z%R~afi^Ik>emR=4JT@LYZp)(iAqj8)V!gv?26X z%nJSExb&M-Km_apF@o4kxJQJILatpPaAGxCuFR>WmzF*}Dp8v;LsyNW2SG4{(8p8u zHzSk@vcRcjqGN|xkTq*StIB=hls}?;TcPKw!Hp85k{}37dR=&b2Kid+j#%4;Ic - - diff --git a/docs/html/interface_2class_8h_a51116659174ec46c5a04721d31631053_cgraph.md5 b/docs/html/interface_2class_8h_a51116659174ec46c5a04721d31631053_cgraph.md5 deleted file mode 100644 index bfff866..0000000 --- a/docs/html/interface_2class_8h_a51116659174ec46c5a04721d31631053_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -1942056551c6d8f145bfbfe7cd2026ef \ No newline at end of file diff --git a/docs/html/interface_2class_8h_a51116659174ec46c5a04721d31631053_cgraph.png b/docs/html/interface_2class_8h_a51116659174ec46c5a04721d31631053_cgraph.png deleted file mode 100644 index f1a935225e6f047615c72caebd3f70ac18a2a56f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 778 zcmV+l1NHogP)%c00960 z|CUL=SO5S30d!JMQvg8b*k%9#0)I(FK~!jg?U{>`s~`-9DRNPPbn^Z$dlG^cdU30^ zGp93TW{qz1kK`i+x~o*TZr!?dyEFWf{U^hCYkYY9itT2wGybe~2A#pf`#OWpAU|{l zoq>A7AiSg!V#0aaiufP{dw_}shh}(7dXPa#aSVXtrx;u=uf~+~*~P%Rd;x7e>Mt^g zk*_d+jzLA?ECY@P;9GA_F@Tg};0(tZ6Oc=orq!iU7%>A{794QJNj!+#&0xh)$9w0% zaw6KG^W+@5VRgj@DtnC*?G=5bl+(hak`_@b-C_VKgc+Ct#xP-^49Q)K3-pV%QsNu} zXI%mzvho-M!BE9}XRYy^2!b8ZDjdkE#VrW5rOYTAmS{_%0^uetqDH#OfG0al%z&~T zktza0PPw>>0pCxFQl;9U`^19zFax4c#q*5WA!kMNh%~L<=FGfpgB0iGILJIO5NQ#$ z(oF`Eq^yNG($g4mrX-7#wJ>r&$Q>aUOvpd-Rjg)k*=yB^?2?E!2IxrxmAzVA6_h7D zTW$fe76eF<7EvSJt^>|j)`CngU8kFqo)}Y82Vt#)5NZZz>VWf=wV-pdnrD1bCmZVh0aZt85WLOc*_gaT*%zqg58!wU;Myqe z7GyM^3V?PIrA&svXC$pEX%V&3O$Hyd(`TeVOmk%qW~b`K`+oHMf~R@acYFTf_x&1! z89cnNGw2NRLub(c*Ve6Dw{C3z0INr^Fe?*u`~Uy|07*qo IM6N<$g5zsrod5s; diff --git a/docs/html/interface_2class_8h_source.html b/docs/html/interface_2class_8h_source.html deleted file mode 100644 index ec01558..0000000 --- a/docs/html/interface_2class_8h_source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - -server: include/interface/class.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

include/interface/class.h

-
-
-Go to the documentation of this file.
00001 #ifndef __INTERFACE_CLASS_H__
-00002 #define __INTERFACE_CLASS_H__
-00003 
-00004 #include <stdarg.h>
-00005 
-00006 #include "class.h"
-00007 #include "interface.h"
-00008 
-00009 typedef void (* fptr_ctor)(void *, va_list *);
-00010 typedef void (* fptr_dtor)(void *);
-00011 typedef void (* fptr_clone)(void *, void * const);
-00012 
-00013 extern const struct interface i_Class;
-00014 
-00015 struct i_Class {
-00016         const struct interface * const _;
-00017         fptr_ctor                      ctor;
-00018         fptr_dtor                      dtor;
-00019         fptr_clone                     clone;
-00020 };
-00021 
-00022 extern void * classNew(class_ptr, ...);
-00023 extern void   classDelete(void **);
-00024 extern void * classClone(void *);
-00025 
-00026 #define new(class,...)          classNew(_##class, ##__VA_ARGS__)
-00027 #define delete(object)          classDelete((void **)(object))
-00028 #define clone(object)           classClone((void *)(object))
-00029 
-00030 #endif // __INTERFACE_CLASS_H__
-00031 
-00032 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/interface_2logger_8c.html b/docs/html/interface_2logger_8c.html deleted file mode 100644 index e3a0e12..0000000 --- a/docs/html/interface_2logger_8c.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - -server: src/interface/logger.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/interface/logger.c File Reference

-
-
-
#include <stdlib.h>
-#include <stdio.h>
-#include <stdarg.h>
-#include "logger.h"
-#include "interface/logger.h"
-
-Include dependency graph for logger.c:
-
-
- - -
-
-

Go to the source code of this file.

- - - -

-Functions

void loggerLog (void *_object, logger_level level, const char *const fmt,...)
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void loggerLog (void * _object,
logger_level level,
const char *const fmt,
 ... 
)
-
-
- -

Definition at line 14 of file logger.c.

-
                                                                           {
-        Logger object = _object;
-
-        if (level >= object->min_level) {
-                char *  msg      = NULL;
-                size_t  msg_size = 0;
-                va_list params;
-
-                va_start(params, fmt);
-                msg_size = vsnprintf(msg, msg_size, fmt, params);
-                va_end(params);
-
-                msg = malloc(msg_size + 1);
-
-                va_start(params, fmt);
-                vsnprintf(msg, msg_size + 1, fmt, params);
-                va_end(params);
-
-                CALL(_object, Logger, log, level, msg);
-
-                free(msg);
-        }
-}
-
-

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/interface_2logger_8c__incl.map b/docs/html/interface_2logger_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/interface_2logger_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/interface_2logger_8c__incl.md5 b/docs/html/interface_2logger_8c__incl.md5 deleted file mode 100644 index 4567e34..0000000 --- a/docs/html/interface_2logger_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -f814c1974f3868750c83967ad2aefc9a \ No newline at end of file diff --git a/docs/html/interface_2logger_8c__incl.png b/docs/html/interface_2logger_8c__incl.png deleted file mode 100644 index b617f1240ede4baf09eea6cb75f49ba05be17a0c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2162 zcmV-&2#xoNP)A#!cNZ5IkB^VPzrWMd z(*OVf|NsB>yEVH20004WQchCiMFFC5QfdTPQ>l-{_onX zMvWj#q25^kncKMv{FL>jkeKPyS%yNPP$(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 100644 index d4d2aea..0000000 --- a/docs/html/interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f_icgraph.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/docs/html/interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f_icgraph.md5 b/docs/html/interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f_icgraph.md5 deleted file mode 100644 index d7dff78..0000000 --- a/docs/html/interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -c3b0fd92be370d95b9e44b4a43e0f23e \ No newline at end of file diff --git a/docs/html/interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f_icgraph.png b/docs/html/interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f_icgraph.png deleted file mode 100644 index 8b800ca89998b027351abf019effcb14cbb72d4c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2102 zcmY*adpr|-A02J3xh&*vQ4xwkdbJ#h{yesz4LsY&-?cNbAIRi&iS5y56RI1At9zD1^@sgkao7t0Du6N&znVd z@sWN3W5$1uJEC0S+dQ74Vk8U(i;Ih6kB#N!=R+V6MoSBsOpc0*(%0Ab_4SpPmq#EF zB_$;-EiD5B1N>7Sk2j94dckJ`SDYPO0G8iA1pxrUfpthHiMTYNw@If4+Qw<<8~gBlDp&WY{;M zxnn2D;~uoy&RXZre$$Gn(WNXJj@p$oEKZ9!x0w{C>j?`tiVAhxKY}~xIU4I-hf@vO zyLN9k6yX|nPDfpgstxx>o;SZtO;n9Z!xp;kbDIe!IX#MI+`?v_T|qRoxiJ?&v4@y+ z63w{$$juo&W3g#=`Ds{cJBUu#5M;iK`4ps98=Lkt?BZAjQAWjmoMWh)q zGV9TE;KRpZv~H?p4Stk;UHQu}X|6<1Yzj!;i&tV&qKzKT={&vleW6gt@H^8QNE}u0 zVu5~sO1Q>+AJKCpyB!-S}T&SIszkanOt+={v4|7*+(bzu|qZ_nLdW&$)sunIFS$@!otQKOG1f{hySZo&v?V zTdfB2@t>d^-~X3p9dCXyDtKvSQ|_bD7=b*rBrYBcJz+Vo$(CYBH^pZVl!4Wnv%Lbu z!Tb0CAtu+(;%@?VrVo3sHtmUDg>UDKTcrOpyPAUQGTN!o%9N~q8GnfSTw&8tk@hXz zp`7%-fvSV}FCh!2)3%2?!P>>HEB3R+>vx*dPV|w3O9B)Y<{uSo_QJildpM%gUsCb zR|gNUth5-y+_(?L5}%(6J86Y)T?LJ{vWmPag`-xpDw`(FU_!dX9XFk{t^l3tkI6OA zE!3v`&(}!paVH=NDp&d;@Vc^})QnhX1s?4q19(K$;uDFCD82sWz4JQ|{CVhFt3L-# zMx4&W%+u=%rA6}22j;lEVG}=q?T@E?AO#3CJT&RvcvBA$$qTT5>eJg^#Wim009D6X z#LOF)k4pMJ;EJ*FS_q3f-6Ed(M`5vOy~AsbM$A*UjUA*krJKCwQ#;r11$Dhz)h34gmx_V<;Vp@Z-3j8J$FO7K~4s zF{}D9mh%Tn%^O05hZiOu_a7;;}eLP?S0q#^$Ik`1i%GstDzLbz>?8IgJ z&W}A(6poz>-&3xz*Fm(M)Sif4ZZMA^L!cC}O6ffDQW>hXhrMJrCIP^;W*cpJ#J|n7 zi9D93=p_}Dv?-HT4ei>ZsNit7u9xKy7QiEZt8monRKgr-t>oH%ld3R_D6VVM;2j~( zdFXm*@WaLZKR(yog&eN95TtGhj&wvN6-m_i>K z+AGKEx5)Sk9J#BYe)h=e#i@B<6{lzN)A3Cg+&_>m;P0t`aDI4untInOuzYDCF~7lC-tcmoT9fwOqOr+3 zV~S->x$)~~V3Z8zyLC{NhAFmmA~Me*Zlfr<5WCZ?C!@RA z>BB5AyR6FWNKwa|Bl#c>ku!wYmAYN={3 diff --git a/docs/html/interface_2logger_8c_source.html b/docs/html/interface_2logger_8c_source.html deleted file mode 100644 index 904bad2..0000000 --- a/docs/html/interface_2logger_8c_source.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - -server: src/interface/logger.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/interface/logger.c

-
-
-Go to the documentation of this file.
00001 #include <stdlib.h>
-00002 #include <stdio.h>
-00003 #include <stdarg.h>
-00004 
-00005 #include "logger.h"
-00006 #include "interface/logger.h"
-00007 
-00008 const struct interface i_Logger = {
-00009         "logger",
-00010         1
-00011 };
-00012 
-00013 void
-00014 loggerLog(void * _object, logger_level level, const char * const fmt, ...) {
-00015         Logger object = _object;
-00016 
-00017         if (level >= object->min_level) {
-00018                 char *  msg      = NULL;
-00019                 size_t  msg_size = 0;
-00020                 va_list params;
-00021 
-00022                 va_start(params, fmt);
-00023                 msg_size = vsnprintf(msg, msg_size, fmt, params);
-00024                 va_end(params);
-00025 
-00026                 msg = malloc(msg_size + 1);
-00027 
-00028                 va_start(params, fmt);
-00029                 vsnprintf(msg, msg_size + 1, fmt, params);
-00030                 va_end(params);
-00031 
-00032                 CALL(_object, Logger, log, level, msg);
-00033 
-00034                 free(msg);
-00035         }
-00036 }
-00037 
-00038 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/interface_2logger_8h.html b/docs/html/interface_2logger_8h.html deleted file mode 100644 index c11bfb2..0000000 --- a/docs/html/interface_2logger_8h.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - -server: include/interface/logger.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

include/interface/logger.h File Reference

-
-
-
#include <stdarg.h>
-#include "interface.h"
-#include "logger.h"
-
-Include dependency graph for logger.h:
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
-
-
-

Go to the source code of this file.

- - - - - - - -

-Classes

struct  i_Logger

-Typedefs

typedef void(* fptr_log )(void *, logger_level, const char *const)

-Functions

void loggerLog (void *, logger_level, const char *const,...)
-

Typedef Documentation

- -
-
- - - - -
typedef void(* fptr_log)(void *, logger_level, const char *const)
-
-
- -

Definition at line 9 of file logger.h.

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void loggerLog (void * ,
logger_level ,
const char * const,
 ... 
)
-
-
- -

Definition at line 14 of file logger.c.

-
                                                                           {
-        Logger object = _object;
-
-        if (level >= object->min_level) {
-                char *  msg      = NULL;
-                size_t  msg_size = 0;
-                va_list params;
-
-                va_start(params, fmt);
-                msg_size = vsnprintf(msg, msg_size, fmt, params);
-                va_end(params);
-
-                msg = malloc(msg_size + 1);
-
-                va_start(params, fmt);
-                vsnprintf(msg, msg_size + 1, fmt, params);
-                va_end(params);
-
-                CALL(_object, Logger, log, level, msg);
-
-                free(msg);
-        }
-}
-
-

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/interface_2logger_8h__dep__incl.map b/docs/html/interface_2logger_8h__dep__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/interface_2logger_8h__dep__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/interface_2logger_8h__dep__incl.md5 b/docs/html/interface_2logger_8h__dep__incl.md5 deleted file mode 100644 index de41a1b..0000000 --- a/docs/html/interface_2logger_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -fb55aa545a5fb04b36e5de592cf2ca4f \ No newline at end of file diff --git a/docs/html/interface_2logger_8h__dep__incl.png b/docs/html/interface_2logger_8h__dep__incl.png deleted file mode 100644 index 619de91e602dfc8e6e37bda96199bcd055eea670..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 640 zcmV-`0)PF9P)CdCzrWMd(*OVf|Ns9oIffGe0004WQchC`)0;ikc)=~WKIo7T!^Z>7Rc zcnQ<`hfQD387K;+>OpOyVJWd-MM6(?+Ybh*tWkrW?!{y9fgS99_xamFQ0l$z7N z=;s3tkDVSwU4sjW&vT~(aCUvz)pP>2Vp$C1QIOH(wdf-euq1}+A%uI-# zmz<-d9Gtynjxk`azmswz>&A|ZYwrR%D08^PLIe4aqXa#ahJ6luelIj{Y^SA5RK&Cm zu{K~iCj}MuT+V67%z{zMx$nc^o&}nL9F#enK$A1%upmJXr4v*WaL8#vC{dy1BljCe z$vDc!R*A!6hR&3O=1x4HOO0-cg9jt0^=WP=v>7lRlaodPPq2atEg!kxIm%+vDjXAb zadfcgM~wP8=LGzeGlK*@lwQD6KmH1i@ - diff --git a/docs/html/interface_2logger_8h__incl.md5 b/docs/html/interface_2logger_8h__incl.md5 deleted file mode 100644 index 3acfcfa..0000000 --- a/docs/html/interface_2logger_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -a30984a438e48f55f4f09e60064c3ef3 \ No newline at end of file diff --git a/docs/html/interface_2logger_8h__incl.png b/docs/html/interface_2logger_8h__incl.png deleted file mode 100644 index 6ebfa2c683be850edaa6ebdacd2d0dc0baa4e7f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1409 zcmV-{1%CR8P)jkzNr2W; zP*mDQ$IR@i1pegX)~dTjaocUT-FDm8>=CqR36+IW&MWR1Dm9(PRI$o*Dw^4hybO&+ zx)2QkU5N&GE=BV(JTn^UkS$!x(RI#j47wJZIjPIfBF{o`hG$MAg4w&*e3(_1%&GR7 z$g5duns=N9^#z)Kq25Bm{gTs3{U{AYQk*gDbivpt;TnTe0)nZYD{=^&F;r@5GsTQU zs(}r3IrIu$q%%3qWOK*g7aNk+u>sG;cT#%_uqaieOUqVn!nvmyqTpMs!S^ zYZ_gfDvY{CKWKXG(mIpVZ0x0k#5o&K(;RFal0boe;?DSNrx|FB8HX!Aqrn1DpP0mM zpGJ*fYEuPr(2^kUaK=VT&Od0h<3*#pR_jcjX8y5} z@*6ZX-$$b1^zmUQ_lT2w9OVa%c06fdEl)xXT4!>a`PYrELlyWYnuT>^G++y(Jq=P~ zgWc2c1h%7*_U9SR)LX}EY+!@pBhxyQ)6DK^q{-|-*Ll-DMDt@CFjwB2LqvnDX#}jQ zfpK$)XmISiz_$&inEr&N!@A{7v(k={JvqB96TQvW@N z$tbcc(E3kv|1f_RTXM^YCX~ds%RuyRCL9nx&LahqIXQ*=SbsJr~Yu zwx_~bPxeGO5vg8_<~%rYiJk-}HqCS3T#9DH4a^s_NMxICU%r+_D!UZT##^y3Ws%A* zMYH+7@+(=SvP;oyPcCPiOVR8}EnA#@iRFs3Gp{^x_GWc0nk;b+4g#NGLw?^;263}GvN-))%$vob0rg?9i%iHH9ufelN7yve9Nlmjf2?Slu2pRVKSfcss%%uzm8z{UVApowC_5cl!Fd&y@s>i;&PBH-Rc%uPTA>6MK+qCkIx3=iWzjf&7DZ##Ab_arvLay` z8{?{4DmGq!tXP^_Rka@Zwt-6+8@TK!e*G+>2;IjFh@#QWC;%##Buq3W5C*9m>-EQq zpJ~GM6*cd0rj^13q#`rN@q78|-)!Ekf>G;e@obRE zmIfz5TLrymquCSVrr8%MZNQr*Wu&wLZ<>^mtTT~)ReU|tZMWTa+m-A;7))Vdogg}^ P00000NkvXXu0mjf0Ai*C diff --git a/docs/html/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.map b/docs/html/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.map deleted file mode 100644 index d4d2aea..0000000 --- a/docs/html/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/docs/html/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.md5 b/docs/html/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.md5 deleted file mode 100644 index d7dff78..0000000 --- a/docs/html/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -c3b0fd92be370d95b9e44b4a43e0f23e \ No newline at end of file diff --git a/docs/html/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.png b/docs/html/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.png deleted file mode 100644 index 8b800ca89998b027351abf019effcb14cbb72d4c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2102 zcmY*adpr|-A02J3xh&*vQ4xwkdbJ#h{yesz4LsY&-?cNbAIRi&iS5y56RI1At9zD1^@sgkao7t0Du6N&znVd z@sWN3W5$1uJEC0S+dQ74Vk8U(i;Ih6kB#N!=R+V6MoSBsOpc0*(%0Ab_4SpPmq#EF zB_$;-EiD5B1N>7Sk2j94dckJ`SDYPO0G8iA1pxrUfpthHiMTYNw@If4+Qw<<8~gBlDp&WY{;M zxnn2D;~uoy&RXZre$$Gn(WNXJj@p$oEKZ9!x0w{C>j?`tiVAhxKY}~xIU4I-hf@vO zyLN9k6yX|nPDfpgstxx>o;SZtO;n9Z!xp;kbDIe!IX#MI+`?v_T|qRoxiJ?&v4@y+ z63w{$$juo&W3g#=`Ds{cJBUu#5M;iK`4ps98=Lkt?BZAjQAWjmoMWh)q zGV9TE;KRpZv~H?p4Stk;UHQu}X|6<1Yzj!;i&tV&qKzKT={&vleW6gt@H^8QNE}u0 zVu5~sO1Q>+AJKCpyB!-S}T&SIszkanOt+={v4|7*+(bzu|qZ_nLdW&$)sunIFS$@!otQKOG1f{hySZo&v?V zTdfB2@t>d^-~X3p9dCXyDtKvSQ|_bD7=b*rBrYBcJz+Vo$(CYBH^pZVl!4Wnv%Lbu z!Tb0CAtu+(;%@?VrVo3sHtmUDg>UDKTcrOpyPAUQGTN!o%9N~q8GnfSTw&8tk@hXz zp`7%-fvSV}FCh!2)3%2?!P>>HEB3R+>vx*dPV|w3O9B)Y<{uSo_QJildpM%gUsCb zR|gNUth5-y+_(?L5}%(6J86Y)T?LJ{vWmPag`-xpDw`(FU_!dX9XFk{t^l3tkI6OA zE!3v`&(}!paVH=NDp&d;@Vc^})QnhX1s?4q19(K$;uDFCD82sWz4JQ|{CVhFt3L-# zMx4&W%+u=%rA6}22j;lEVG}=q?T@E?AO#3CJT&RvcvBA$$qTT5>eJg^#Wim009D6X z#LOF)k4pMJ;EJ*FS_q3f-6Ed(M`5vOy~AsbM$A*UjUA*krJKCwQ#;r11$Dhz)h34gmx_V<;Vp@Z-3j8J$FO7K~4s zF{}D9mh%Tn%^O05hZiOu_a7;;}eLP?S0q#^$Ik`1i%GstDzLbz>?8IgJ z&W}A(6poz>-&3xz*Fm(M)Sif4ZZMA^L!cC}O6ffDQW>hXhrMJrCIP^;W*cpJ#J|n7 zi9D93=p_}Dv?-HT4ei>ZsNit7u9xKy7QiEZt8monRKgr-t>oH%ld3R_D6VVM;2j~( zdFXm*@WaLZKR(yog&eN95TtGhj&wvN6-m_i>K z+AGKEx5)Sk9J#BYe)h=e#i@B<6{lzN)A3Cg+&_>m;P0t`aDI4untInOuzYDCF~7lC-tcmoT9fwOqOr+3 zV~S->x$)~~V3Z8zyLC{NhAFmmA~Me*Zlfr<5WCZ?C!@RA z>BB5AyR6FWNKwa|Bl#c>ku!wYmAYN={3 diff --git a/docs/html/interface_2logger_8h_source.html b/docs/html/interface_2logger_8h_source.html deleted file mode 100644 index b507d8c..0000000 --- a/docs/html/interface_2logger_8h_source.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - -server: include/interface/logger.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

include/interface/logger.h

-
-
-Go to the documentation of this file.
00001 #ifndef __INTERFACE_LOGGER_H__
-00002 #define __INTERFACE_LOGGER_H__
-00003 
-00004 #include <stdarg.h>
-00005 
-00006 #include "interface.h"
-00007 #include "logger.h"
-00008 
-00009 typedef void (* fptr_log)(void *, logger_level, const char * const);
-00010 
-00011 extern const struct interface i_Logger;
-00012 
-00013 struct i_Logger {
-00014         const struct interface * const _;
-00015         fptr_log                       log;
-00016 };
-00017 
-00018 extern void loggerLog(void *, logger_level, const char * const, ...);
-00019 
-00020 #endif // __INTERFACE_LOGGER_H__
-00021 
-00022 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/interface_8c.html b/docs/html/interface_8c.html deleted file mode 100644 index 39637bf..0000000 --- a/docs/html/interface_8c.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - -server: src/interface.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/interface.c File Reference

-
-
-
#include <sys/types.h>
-#include <stdlib.h>
-#include "interface.h"
-
-Include dependency graph for interface.c:
-
-
-
-
-

Go to the source code of this file.

- - - - - -

-Defines

#define TRUE   1

-Functions

struct interfaceinterfaceGet (iface_impl_ptr iface_impl, const iface_ptr _iface)
-

Define Documentation

- -
-
- - - - -
#define TRUE   1
-
-
- -

Definition at line 7 of file interface.c.

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
struct interface* interfaceGet (iface_impl_ptr iface_impl,
const iface_ptr _iface 
) [read]
-
-
-

this one is important in selector functions to get the correct interface implementation of a class.

- -

Definition at line 25 of file interface.c.

-
{
-        const iface_ptr * iface = &_iface;
-        void *            dummy;
-
-    if (! iface_impl->simpl) {
-        qsort((void**)(iface_impl->impl), iface_impl->nimpl, sizeof(iface_ptr), comp);
-        iface_impl->simpl=TRUE;
-    }
-
-    dummy = bsearch(
-                        &iface,
-                        iface_impl->impl,
-                        iface_impl->nimpl,
-                        sizeof(iface_ptr),
-                        comp);
-
-        return dummy? *(struct interface **)dummy : dummy;
-}
-
-
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/interface_8c__incl.map b/docs/html/interface_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/interface_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/interface_8c__incl.md5 b/docs/html/interface_8c__incl.md5 deleted file mode 100644 index 21eb7a9..0000000 --- a/docs/html/interface_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -8edae7e960b28841eda5ff8e5606de40 \ No newline at end of file diff --git a/docs/html/interface_8c__incl.png b/docs/html/interface_8c__incl.png deleted file mode 100644 index 379a39c4ea4312a78678f127538937bfac92209f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1522 zcmVA#!cNZ5IkB^VPzrWMd z(*OVf|NsAns7S&90004WQchC*_{tIAEdL zuG33O_YS5*4lo98`%0NE9Bz9-t|dN7s%=`;sLDWUno16Bit}*Ke#sDRAs~S7p_8KqO5+9|Zuk{+iC4!r! zLKf!EQo^5G5s>+-uc}&&=Q#EbPlG5a>4%#7-!$lxY3OC!zELu(rD>j&aGBw7*E@^` zQBtz!k~>!Fx_P5io0F#=Dd}T;kgCVwu6JmiL6nqQ{n)}Cr>oTGay7hA8Y+WHKf8wK zTGEfQw(fBFV0&S#Yl)B2xnfF8i76#ai6*8*5mTawDN)3fC}K(!5q>HA*xwM_?{>HK zIMni6ddvWrYx-$Uv&GXJe?#-7?`i!3Efl`5IdUzYHH+;($Z5IcBR!F7rQl;-F>0;c zqkXYy{e)TX{25Lgh5B{JqOCH0`(x1dmhm5Odl4$!9uoQCL@F=Tn7fKr8);O$n241H zWO+kT>!QMpk`uY8@B{B7dP!%Dyoq)cbk5KlXxABX*4V3SUoE>vM{|bnE#%zc7uD`6 z_6Ed&X@3o;W4)Y?92*C?-kZ~**&hkIGp1v6{}|e9=-|u`vb`y%qtpI$+&6XnwLKnq zJ5C-G{!ZvO1!{lag8$!j4!Mjf~CNdGZ;t^|Kdm&WvX`F7mK z8`5(Q*TaQ{`M+ZcLCH?T*X0Dklmg5u1f&FJ62d01!qgVfDG=?T3OJ`wP8Y-!AH?PS!CV|EGcg1c~!g#PZEAqLPFw49zjS_}| zwVNy6CgxUO!#*io?`E#)j*}XAA|*@{Z}hPQ=Gcg7RN_AK$c{sg8-9dC*P&9QO1mh#+<@t|bl|65&4 z-jwWIM@n|Z=*^Lo*;vUAO7@r$FlW4xc1vKRJ29l$&GLD69i=p$ONA(B&ZSx3y_D=+ z9VLB=Cz<&Y(CjKH=#pOVd?@EKQ5pK)2T;Jb$s z&K%}Ct|k3YD(D}riIMs*q;0wa2AWjV% - - - -server: src/interface.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/interface.c

-
-
-Go to the documentation of this file.
00001 #include <sys/types.h>
-00002 #include <stdlib.h>
-00003 
-00004 #include "interface.h"
-00005 
-00006 #ifndef TRUE
-00007 #define TRUE    1
-00008 #endif // TRUE
-00009 
-00010 static
-00011 inline
-00012 int
-00013 comp(const void * _a, const void * _b)
-00014 {
-00015         const struct interface * a = **(const struct interface ***)_a;
-00016         const struct interface * b = **(const struct interface ***)_b;
-00017     return ((a)<(b))? -1 : ((a)>(b))? 1 : 0;
-00018 }
-00019 
-00024 struct interface *
-00025 interfaceGet(iface_impl_ptr iface_impl, const iface_ptr _iface)
-00026 {
-00027         const iface_ptr * iface = &_iface;
-00028         void *            dummy;
-00029 
-00030     if (! iface_impl->simpl) {
-00031         qsort((void**)(iface_impl->impl), iface_impl->nimpl, sizeof(iface_ptr), comp);
-00032         iface_impl->simpl=TRUE;
-00033     }
-00034 
-00035     dummy = bsearch(
-00036                         &iface,
-00037                         iface_impl->impl,
-00038                         iface_impl->nimpl,
-00039                         sizeof(iface_ptr),
-00040                         comp);
-00041 
-00042         return dummy? *(struct interface **)dummy : dummy;
-00043 }
-00044 
-00045 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/interface_8h.html b/docs/html/interface_8h.html deleted file mode 100644 index ccfc05a..0000000 --- a/docs/html/interface_8h.html +++ /dev/null @@ -1,382 +0,0 @@ - - - - -server: include/interface.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

include/interface.h File Reference

-
-
-
#include <sys/types.h>
-
-Include dependency graph for interface.h:
-
-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
- - -
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - -

-Classes

struct  interface
struct  iface_impl

-Defines

#define MAX_IFACE   32
#define IFACE(name)   ((const struct i_##name const*)&i_##name##_impl)
#define INIT_IFACE(name,...)   static const struct i_##name i_##name##_impl = {&i_##name,__VA_ARGS__}
#define NUMARGS(...)   (sizeof((const void*[]){__VA_ARGS__})/sizeof(void*))
#define INIT_IMPL(...)   {NUMARGS(__VA_ARGS__), 0, {__VA_ARGS__}}
#define CREATE_IMPL(...)   static struct iface_impl iface_impl = INIT_IMPL(__VA_ARGS__)
#define METHOD_GET(iface, method)   (iface->method)

-Typedefs

typedef struct interfaceiface_ptr
typedef struct iface_impliface_impl_ptr

-Functions

struct interfaceinterfaceGet (iface_impl_ptr, const iface_ptr)
-

Define Documentation

- -
-
- - - - - - - - -
#define CREATE_IMPL( ...)   static struct iface_impl iface_impl = INIT_IMPL(__VA_ARGS__)
-
-
- -

Definition at line 16 of file interface.h.

- -
-
- -
-
- - - - - - - - -
#define IFACE( name)   ((const struct i_##name const*)&i_##name##_impl)
-
-
- -

Definition at line 8 of file interface.h.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define INIT_IFACE( name,
 ... 
)   static const struct i_##name i_##name##_impl = {&i_##name,__VA_ARGS__}
-
-
- -

Definition at line 10 of file interface.h.

- -
-
- -
-
- - - - - - - - -
#define INIT_IMPL( ...)   {NUMARGS(__VA_ARGS__), 0, {__VA_ARGS__}}
-
-
- -

Definition at line 15 of file interface.h.

- -
-
- -
-
- - - - -
#define MAX_IFACE   32
-
-
- -

Definition at line 6 of file interface.h.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define METHOD_GET( iface,
 method 
)   (iface->method)
-
-
- -

Definition at line 19 of file interface.h.

- -
-
- -
-
- - - - - - - - -
#define NUMARGS( ...)   (sizeof((const void*[]){__VA_ARGS__})/sizeof(void*))
-
-
- -

Definition at line 13 of file interface.h.

- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef struct iface_impl* iface_impl_ptr
-
-
- -

Definition at line 33 of file interface.h.

- -
-
- -
-
- - - - -
typedef struct interface* iface_ptr
-
-
- -

Definition at line 26 of file interface.h.

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
struct interface* interfaceGet (iface_impl_ptr iface_impl,
const iface_ptr _iface 
) [read]
-
-
-

this one is important in selector functions to get the correct interface implementation of a class.

- -

Definition at line 25 of file interface.c.

-
{
-        const iface_ptr * iface = &_iface;
-        void *            dummy;
-
-    if (! iface_impl->simpl) {
-        qsort((void**)(iface_impl->impl), iface_impl->nimpl, sizeof(iface_ptr), comp);
-        iface_impl->simpl=TRUE;
-    }
-
-    dummy = bsearch(
-                        &iface,
-                        iface_impl->impl,
-                        iface_impl->nimpl,
-                        sizeof(iface_ptr),
-                        comp);
-
-        return dummy? *(struct interface **)dummy : dummy;
-}
-
-
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/interface_8h__dep__incl.map b/docs/html/interface_8h__dep__incl.map deleted file mode 100644 index 33f25c1..0000000 --- a/docs/html/interface_8h__dep__incl.map +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/docs/html/interface_8h__dep__incl.md5 b/docs/html/interface_8h__dep__incl.md5 deleted file mode 100644 index b1baac0..0000000 --- a/docs/html/interface_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -418c7896641110a6113b21204b897600 \ No newline at end of file diff --git a/docs/html/interface_8h__dep__incl.png b/docs/html/interface_8h__dep__incl.png deleted file mode 100644 index 9840e91decafdfb138523b23ad143c7204d7e534..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2660 zcmb7``8U*!9>)h+lbx|W7$StJN7BLwQ^+ur?P;55a4jX0lqFwA3R$91wqZg-3Rx44 z-6+e%)MFWDEW=c`8Dp7|X71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5Ek}Gp0M2Gy>!JPnbA6?KINPvu88LRkzY!ouB=Mej9y=Q1-1-2>d>f_bt?-RYMGET10+-I3|XU@OybPHJ9nVtH8|^4eH*-5okRe%QW>V^y4a&q$uOMWhs; z?}_BrDuOAAo8EKZZy%zLiuRaCf1o)5k#au0r1TJb!L~Z~vUFj)NHMS*@K?6r zkiN_*i@4JJd+-8*0Vd31^IHp)7H0R#etMuQ`s#+$o<1k(8i^qxy$-9Vu_HmeHxo68 zvnRpCle>s#Zt={eIOMT^$hl%cKb<`jJZAvMyXOTE?&JV znM(?)*_R$DBB8#{JQa4BAkuxgO~j+gr^Sy@4LyA$ZU^{vQW!Hv9ou;X)Wrze(3Z}mu59?p^3#kfR{prqxESs_ z3vre}ij6km?zwxM^j~-EWZ*jOpUc^HUM9y~q33+mOKk>fB&|GBtSr=Ux9W^<4`#^O zI{-40R(>fDuTN!U*QR}@hda&MJ~PU7Jl0@*dzdQ!KYzX~s6nYUVEs`^M>sZuq$Q}I wOhNrP2 - diff --git a/docs/html/interface_8h__incl.md5 b/docs/html/interface_8h__incl.md5 deleted file mode 100644 index 317c66c..0000000 --- a/docs/html/interface_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -ce2fcdb53a96d7c44bdb8ad01b08694f \ No newline at end of file diff --git a/docs/html/interface_8h__incl.png b/docs/html/interface_8h__incl.png deleted file mode 100644 index 80ea6c2a00d5c5d3a550e9b6eaca1f9adde9e78d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 875 zcmeAS@N?(olHy`uVBq!ia0vp^y+B;b!3-o_949>nQkDTeA+G=a|Cf|3u(!9budly% z|NgxB^X28`_wC=Wudmv#lCD!0AN{@mjoICVnAjk{D--9w`meN+ z-(>!U8D6SR8zR=+Uw5M+%;fXqB&lUT*P0|ce>=vPCLMEf&+fw#eV2Y5Ht}0Osrl}b zx9Wcy(pH`MVxtO+xSI)WBPdUcI{^eeq!B5fN?Rp1HHk)f2Si74{>E^O^NR)1}mF%CdQB z+au>&^&Z>0g->VuB2T^*Mz<&ARhzX;*lftie8b3N@)?O0ew~-DRBewgoz<{&%DzR8 z?QIrXTYW#KNpT5yR9(EB^61j}%7~Y<^Djm0V2myE%D<+@^1RGMq~hWQp@6wUf2Xj0 zzpc=F_;~wfso%$zuoZ&|r*}7#30?#vBrruhV`8-&-)cS1g{=_<$ z;;(P#YMn6==ijx~;PM;^mA?~>0{`)xHSoI1=d1ptvEKfUgYl{rZ1c<1`cfXa9ds=_ zWuY}yuX^b(qlOGN(cjsbj}+Kv@Rzx#GV8T(F}tamtnU8c#oj5g`=2aXI9K9d-2BZZ zM&DM>lVUwHh4-QAyO2V!B|#s|%Dnpy92L2KspI1DJdt~km!vq{R^YYV*!*DWpXqAP zIh1zJa$E9L?&<~IV+I1eme;eDQ%~;fRNLNo=$y)7??sB~FQw=II<~*+wV0HJ_yzex z$EQyW^DHs6R+W*p37&WF6T^WWjcTj^U%xCq*L|Li_+<~%cb8B6{A{xL)%VDom2Zq+ yd(B#X#6(;?ZB{q?-LM^ovzG1qxhdj*=RXF;8!tXI`74966@#a%pUXO@geCx@rJsBN diff --git a/docs/html/interface_8h_source.html b/docs/html/interface_8h_source.html deleted file mode 100644 index 7e89d10..0000000 --- a/docs/html/interface_8h_source.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - -server: include/interface.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

include/interface.h

-
-
-Go to the documentation of this file.
00001 #ifndef __INTERFACE_H__
-00002 #define __INTERFACE_H__
-00003 
-00004 #include <sys/types.h>
-00005 
-00006 #define MAX_IFACE       32      // ATTENTION: every iface_impl will use MAX_IFACE * sizeof(void*)
-00007 
-00008 #define IFACE(name)             ((const struct i_##name const*)&i_##name##_impl)
-00009 
-00010 #define INIT_IFACE(name,...) \
-00011         static const struct i_##name i_##name##_impl = {&i_##name,__VA_ARGS__}
-00012 
-00013 #define NUMARGS(...)    (sizeof((const void*[]){__VA_ARGS__})/sizeof(void*))
-00014 
-00015 #define INIT_IMPL(...)  {NUMARGS(__VA_ARGS__), 0, {__VA_ARGS__}}
-00016 #define CREATE_IMPL(...) \
-00017         static struct iface_impl iface_impl = INIT_IMPL(__VA_ARGS__)
-00018 
-00019 #define METHOD_GET(iface,method)        (iface->method)
-00020 
-00021 
-00022 struct interface {
-00023         const char * name;
-00024         const size_t nmethods;
-00025 };
-00026 typedef const struct interface * iface_ptr;
-00027 
-00028 struct iface_impl {
-00029         const size_t nimpl;           // number of interface implementations
-00030         char         simpl;           // implementations sorted??
-00031         const void * impl[MAX_IFACE]; // implementations
-00032 };
-00033 typedef struct iface_impl * iface_impl_ptr;
-00034 
-00035 extern struct interface * interfaceGet(iface_impl_ptr, const iface_ptr);
-00036 
-00037 #endif // __INTERFACE_H__
-00038 
-00039 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/jquery.js b/docs/html/jquery.js deleted file mode 100644 index c052173..0000000 --- a/docs/html/jquery.js +++ /dev/null @@ -1,54 +0,0 @@ -/* - * jQuery JavaScript Library v1.3.2 - * http://jquery.com/ - * - * Copyright (c) 2009 John Resig - * Dual licensed under the MIT and GPL licenses. - * http://docs.jquery.com/License - * - * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009) - * Revision: 6246 - */ -(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("",""]||!O.indexOf("",""]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"","
"]||!O.indexOf("",""]||(!O.indexOf("",""]||!O.indexOf("",""]||!o.support.htmlSerialize&&[1,"div
","
"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}}); -/* - * Sizzle CSS Selector Engine - v0.9.3 - * Copyright 2009, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * More information: http://sizzlejs.com/ - */ -(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return UT[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="

";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="
";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0) -{I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("
").append(M.responseText.replace(//g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function() -{G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='
';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})(); -/* - * jQuery UI 1.7.2 - * - * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. - * - * http://docs.jquery.com/UI - */ -jQuery.ui||(function(c){var i=c.fn.remove,d=c.browser.mozilla&&(parseFloat(c.browser.version)<1.9);c.ui={version:"1.7.2",plugin:{add:function(k,l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.plugins[l];if(!n||!j.element[0].parentNode){return}for(var m=0;m0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);;/* * jQuery UI Resizable 1.7.2 - * - * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. - * - * http://docs.jquery.com/UI/Resizables - * - * Depends: - * ui.core.js - */ -(function(c){c.widget("ui.resizable",c.extend({},c.ui.mouse,{_init:function(){var e=this,j=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(j.aspectRatio),aspectRatio:j.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:j.helper||j.ghost||j.animate?j.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){if(/relative/.test(this.element.css("position"))&&c.browser.opera){this.element.css({position:"relative",top:"auto",left:"auto"})}this.element.wrap(c('
').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=j.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var k=this.handles.split(",");this.handles={};for(var f=0;f
');if(/sw|se|ne|nw/.test(h)){g.css({zIndex:++j.zIndex})}if("se"==h){g.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[h]=".ui-resizable-"+h;this.element.append(g)}}this._renderAxis=function(p){p=p||this.element;for(var m in this.handles){if(this.handles[m].constructor==String){this.handles[m]=c(this.handles[m],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var n=c(this.handles[m],this.element),o=0;o=/sw|ne|nw|se|n|s/.test(m)?n.outerHeight():n.outerWidth();var l=["padding",/ne|nw|n/.test(m)?"Top":/se|sw|s/.test(m)?"Bottom":/^e$/.test(m)?"Right":"Left"].join("");p.css(l,o);this._proportionallyResize()}if(!c(this.handles[m]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!e.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}e.axis=i&&i[1]?i[1]:"se"}});if(j.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){c(this).removeClass("ui-resizable-autohide");e._handles.show()},function(){if(!e.resizing){c(this).addClass("ui-resizable-autohide");e._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var d=function(f){c(f).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){d(this.element);var e=this.element;e.parent().append(this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")})).end().remove()}this.originalElement.css("resize",this.originalResizeStyle);d(this.originalElement)},_mouseCapture:function(e){var f=false;for(var d in this.handles){if(c(this.handles[d])[0]==e.target){f=true}}return this.options.disabled||!!f},_mouseStart:function(f){var i=this.options,e=this.element.position(),d=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(d.is(".ui-draggable")||(/absolute/).test(d.css("position"))){d.css({position:"absolute",top:e.top,left:e.left})}if(c.browser.opera&&(/relative/).test(d.css("position"))){d.css({position:"relative",top:"auto",left:"auto"})}this._renderProxy();var j=b(this.helper.css("left")),g=b(this.helper.css("top"));if(i.containment){j+=c(i.containment).scrollLeft()||0;g+=c(i.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:j,top:g};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:j,top:g};this.sizeDiff={width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:f.pageX,top:f.pageY};this.aspectRatio=(typeof i.aspectRatio=="number")?i.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var h=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",h=="auto"?this.axis+"-resize":h);d.addClass("ui-resizable-resizing");this._propagate("start",f);return true},_mouseDrag:function(d){var g=this.helper,f=this.options,l={},p=this,i=this.originalMousePosition,m=this.axis;var q=(d.pageX-i.left)||0,n=(d.pageY-i.top)||0;var h=this._change[m];if(!h){return false}var k=h.apply(this,[d,q,n]),j=c.browser.msie&&c.browser.version<7,e=this.sizeDiff;if(this._aspectRatio||d.shiftKey){k=this._updateRatio(k,d)}k=this._respectSize(k,d);this._propagate("resize",d);g.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(k);this._trigger("resize",d,this.ui());return false},_mouseStop:function(g){this.resizing=false;var h=this.options,l=this;if(this._helper){var f=this._proportionallyResizeElements,d=f.length&&(/textarea/i).test(f[0].nodeName),e=d&&c.ui.hasScroll(f[0],"left")?0:l.sizeDiff.height,j=d?0:l.sizeDiff.width;var m={width:(l.size.width-j),height:(l.size.height-e)},i=(parseInt(l.element.css("left"),10)+(l.position.left-l.originalPosition.left))||null,k=(parseInt(l.element.css("top"),10)+(l.position.top-l.originalPosition.top))||null;if(!h.animate){this.element.css(c.extend(m,{top:k,left:i}))}l.helper.height(l.size.height);l.helper.width(l.size.width);if(this._helper&&!h.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",g);if(this._helper){this.helper.remove()}return false},_updateCache:function(d){var e=this.options;this.offset=this.helper.offset();if(a(d.left)){this.position.left=d.left}if(a(d.top)){this.position.top=d.top}if(a(d.height)){this.size.height=d.height}if(a(d.width)){this.size.width=d.width}},_updateRatio:function(g,f){var h=this.options,i=this.position,e=this.size,d=this.axis;if(g.height){g.width=(e.height*this.aspectRatio)}else{if(g.width){g.height=(e.width/this.aspectRatio)}}if(d=="sw"){g.left=i.left+(e.width-g.width);g.top=null}if(d=="nw"){g.top=i.top+(e.height-g.height);g.left=i.left+(e.width-g.width)}return g},_respectSize:function(k,f){var i=this.helper,h=this.options,q=this._aspectRatio||f.shiftKey,p=this.axis,s=a(k.width)&&h.maxWidth&&(h.maxWidthk.width),r=a(k.height)&&h.minHeight&&(h.minHeight>k.height);if(g){k.width=h.minWidth}if(r){k.height=h.minHeight}if(s){k.width=h.maxWidth}if(l){k.height=h.maxHeight}var e=this.originalPosition.left+this.originalSize.width,n=this.position.top+this.size.height;var j=/sw|nw|w/.test(p),d=/nw|ne|n/.test(p);if(g&&j){k.left=e-h.minWidth}if(s&&j){k.left=e-h.maxWidth}if(r&&d){k.top=n-h.minHeight}if(l&&d){k.top=n-h.maxHeight}var m=!k.width&&!k.height;if(m&&!k.left&&k.top){k.top=null}else{if(m&&!k.top&&k.left){k.left=null}}return k},_proportionallyResize:function(){var j=this.options;if(!this._proportionallyResizeElements.length){return}var f=this.helper||this.element;for(var e=0;e');var d=c.browser.msie&&c.browser.version<7,f=(d?1:0),g=(d?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+g,height:this.element.outerHeight()+g,position:"absolute",left:this.elementOffset.left-f+"px",top:this.elementOffset.top-f+"px",zIndex:++h.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(f,e,d){return{width:this.originalSize.width+e}},w:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{left:h.left+e,width:f.width-e}},n:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{top:h.top+d,height:f.height-d}},s:function(f,e,d){return{height:this.originalSize.height+d}},se:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},sw:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[f,e,d]))},ne:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},nw:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[f,e,d]))}},_propagate:function(e,d){c.ui.plugin.call(this,e,[d,this.ui()]);(e!="resize"&&this._trigger(e,d,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}));c.extend(c.ui.resizable,{version:"1.7.2",eventPrefix:"resize",defaults:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,cancel:":input,option",containment:false,delay:0,distance:1,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000}});c.ui.plugin.add("resizable","alsoResize",{start:function(e,f){var d=c(this).data("resizable"),g=d.options;_store=function(h){c(h).each(function(){c(this).data("resizable-alsoresize",{width:parseInt(c(this).width(),10),height:parseInt(c(this).height(),10),left:parseInt(c(this).css("left"),10),top:parseInt(c(this).css("top"),10)})})};if(typeof(g.alsoResize)=="object"&&!g.alsoResize.parentNode){if(g.alsoResize.length){g.alsoResize=g.alsoResize[0];_store(g.alsoResize)}else{c.each(g.alsoResize,function(h,i){_store(h)})}}else{_store(g.alsoResize)}},resize:function(f,h){var e=c(this).data("resizable"),i=e.options,g=e.originalSize,k=e.originalPosition;var j={height:(e.size.height-g.height)||0,width:(e.size.width-g.width)||0,top:(e.position.top-k.top)||0,left:(e.position.left-k.left)||0},d=function(l,m){c(l).each(function(){var p=c(this),q=c(this).data("resizable-alsoresize"),o={},n=m&&m.length?m:["width","height","top","left"];c.each(n||["width","height","top","left"],function(r,t){var s=(q[t]||0)+(j[t]||0);if(s&&s>=0){o[t]=s||null}});if(/relative/.test(p.css("position"))&&c.browser.opera){e._revertToRelativePosition=true;p.css({position:"absolute",top:"auto",left:"auto"})}p.css(o)})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.nodeType){c.each(i.alsoResize,function(l,m){d(l,m)})}else{d(i.alsoResize)}},stop:function(e,f){var d=c(this).data("resizable");if(d._revertToRelativePosition&&c.browser.opera){d._revertToRelativePosition=false;el.css({position:"relative"})}c(this).removeData("resizable-alsoresize-start")}});c.ui.plugin.add("resizable","animate",{stop:function(h,m){var n=c(this).data("resizable"),i=n.options;var g=n._proportionallyResizeElements,d=g.length&&(/textarea/i).test(g[0].nodeName),e=d&&c.ui.hasScroll(g[0],"left")?0:n.sizeDiff.height,k=d?0:n.sizeDiff.width;var f={width:(n.size.width-k),height:(n.size.height-e)},j=(parseInt(n.element.css("left"),10)+(n.position.left-n.originalPosition.left))||null,l=(parseInt(n.element.css("top"),10)+(n.position.top-n.originalPosition.top))||null;n.element.animate(c.extend(f,l&&j?{top:l,left:j}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var o={width:parseInt(n.element.css("width"),10),height:parseInt(n.element.css("height"),10),top:parseInt(n.element.css("top"),10),left:parseInt(n.element.css("left"),10)};if(g&&g.length){c(g[0]).css({width:o.width,height:o.height})}n._updateCache(o);n._propagate("resize",h)}})}});c.ui.plugin.add("resizable","containment",{start:function(e,q){var s=c(this).data("resizable"),i=s.options,k=s.element;var f=i.containment,j=(f instanceof c)?f.get(0):(/parent/.test(f))?k.parent().get(0):f;if(!j){return}s.containerElement=c(j);if(/document/.test(f)||f==document){s.containerOffset={left:0,top:0};s.containerPosition={left:0,top:0};s.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var m=c(j),h=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){h[p]=b(m.css("padding"+o))});s.containerOffset=m.offset();s.containerPosition=m.position();s.containerSize={height:(m.innerHeight()-h[3]),width:(m.innerWidth()-h[1])};var n=s.containerOffset,d=s.containerSize.height,l=s.containerSize.width,g=(c.ui.hasScroll(j,"left")?j.scrollWidth:l),r=(c.ui.hasScroll(j)?j.scrollHeight:d);s.parentData={element:j,left:n.left,top:n.top,width:g,height:r}}},resize:function(f,p){var s=c(this).data("resizable"),h=s.options,e=s.containerSize,n=s.containerOffset,l=s.size,m=s.position,q=s._aspectRatio||f.shiftKey,d={top:0,left:0},g=s.containerElement;if(g[0]!=document&&(/static/).test(g.css("position"))){d=n}if(m.left<(s._helper?n.left:0)){s.size.width=s.size.width+(s._helper?(s.position.left-n.left):(s.position.left-d.left));if(q){s.size.height=s.size.width/h.aspectRatio}s.position.left=h.helper?n.left:0}if(m.top<(s._helper?n.top:0)) -{s.size.height=s.size.height+(s._helper?(s.position.top-n.top):s.position.top);if(q){s.size.width=s.size.height*h.aspectRatio}s.position.top=s._helper?n.top:0}s.offset.left=s.parentData.left+s.position.left;s.offset.top=s.parentData.top+s.position.top;var k=Math.abs((s._helper?s.offset.left-d.left:(s.offset.left-d.left))+s.sizeDiff.width),r=Math.abs((s._helper?s.offset.top-d.top:(s.offset.top-n.top))+s.sizeDiff.height);var j=s.containerElement.get(0)==s.element.parent().get(0),i=/relative|absolute/.test(s.containerElement.css("position"));if(j&&i){k-=s.parentData.left}if(k+s.size.width>=s.parentData.width){s.size.width=s.parentData.width-k;if(q){s.size.height=s.size.width/s.aspectRatio}}if(r+s.size.height>=s.parentData.height){s.size.height=s.parentData.height-r;if(q){s.size.width=s.size.height*s.aspectRatio}}},stop:function(e,m){var p=c(this).data("resizable"),f=p.options,k=p.position,l=p.containerOffset,d=p.containerPosition,g=p.containerElement;var i=c(p.helper),q=i.offset(),n=i.outerWidth()-p.sizeDiff.width,j=i.outerHeight()-p.sizeDiff.height;if(p._helper&&!f.animate&&(/relative/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}if(p._helper&&!f.animate&&(/static/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}}});c.ui.plugin.add("resizable","ghost",{start:function(f,g){var d=c(this).data("resizable"),h=d.options,e=d.size;d.ghost=d.originalElement.clone();d.ghost.css({opacity:0.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof h.ghost=="string"?h.ghost:"");d.ghost.appendTo(d.helper)},resize:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost){d.ghost.css({position:"relative",height:d.size.height,width:d.size.width})}},stop:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost&&d.helper){d.helper.get(0).removeChild(d.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(d,l){var n=c(this).data("resizable"),g=n.options,j=n.size,h=n.originalSize,i=n.originalPosition,m=n.axis,k=g._aspectRatio||d.shiftKey;g.grid=typeof g.grid=="number"?[g.grid,g.grid]:g.grid;var f=Math.round((j.width-h.width)/(g.grid[0]||1))*(g.grid[0]||1),e=Math.round((j.height-h.height)/(g.grid[1]||1))*(g.grid[1]||1);if(/^(se|s|e)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e}else{if(/^(ne)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e}else{if(/^(sw)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.left=i.left-f}else{n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e;n.position.left=i.left-f}}}}});var b=function(d){return parseInt(d,10)||0};var a=function(d){return !isNaN(parseInt(d,10))}})(jQuery);; -/** - * jQuery.ScrollTo - Easy element scrolling using jQuery. - * Copyright (c) 2008 Ariel Flesler - aflesler(at)gmail(dot)com - * Licensed under GPL license (http://www.opensource.org/licenses/gpl-license.php). - * Date: 2/8/2008 - * @author Ariel Flesler - * @version 1.3.2 - */ -;(function($){var o=$.scrollTo=function(a,b,c){o.window().scrollTo(a,b,c)};o.defaults={axis:'y',duration:1};o.window=function(){return $($.browser.safari?'body':'html')};$.fn.scrollTo=function(l,m,n){if(typeof m=='object'){n=m;m=0}n=$.extend({},o.defaults,n);m=m||n.speed||n.duration;n.queue=n.queue&&n.axis.length>1;if(n.queue)m/=2;n.offset=j(n.offset);n.over=j(n.over);return this.each(function(){var a=this,b=$(a),t=l,c,d={},w=b.is('html,body');switch(typeof t){case'number':case'string':if(/^([+-]=)?\d+(px)?$/.test(t)){t=j(t);break}t=$(t,this);case'object':if(t.is||t.style)c=(t=$(t)).offset()}$.each(n.axis.split(''),function(i,f){var P=f=='x'?'Left':'Top',p=P.toLowerCase(),k='scroll'+P,e=a[k],D=f=='x'?'Width':'Height';if(c){d[k]=c[p]+(w?0:e-b.offset()[p]);if(n.margin){d[k]-=parseInt(t.css('margin'+P))||0;d[k]-=parseInt(t.css('border'+P+'Width'))||0}d[k]+=n.offset[p]||0;if(n.over[p])d[k]+=t[D.toLowerCase()]()*n.over[p]}else d[k]=t[p];if(/^\d+$/.test(d[k]))d[k]=d[k]<=0?0:Math.min(d[k],h(D));if(!i&&n.queue){if(e!=d[k])g(n.onAfterFirst);delete d[k]}});g(n.onAfter);function g(a){b.animate(d,m,n.easing,a&&function(){a.call(this,l)})};function h(D){var b=w?$.browser.opera?document.body:document.documentElement:a;return b['scroll'+D]-b['client'+D]}})};function j(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery); - diff --git a/docs/html/listen_8c.html b/docs/html/listen_8c.html deleted file mode 100644 index 3230b36..0000000 --- a/docs/html/listen_8c.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - -server: src/socket/listen.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/socket/listen.c File Reference

-
-
-
#include <stdlib.h>
-#include <errno.h>
-#include "socket.h"
-#include "interface/class.h"
-#include "interface/logger.h"
-
-Include dependency graph for listen.c:
-
-
-
-
-

Go to the source code of this file.

- - - -

-Functions

void socketListen (Sock this, int backlog)
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void socketListen (Sock this,
int backlog 
)
-
-
- -

Definition at line 10 of file listen.c.

-
{
-    (this->addr).sin_family      = AF_INET;           /* Internet address family */
-    (this->addr).sin_addr.s_addr = htonl(INADDR_ANY); /* Any incoming interface */
-    (this->addr).sin_port        = htons(this->port); /* Local port */
-
-    /* Bind to the local address */
-    if (-1 == bind(this->handle, (struct sockaddr *) &(this->addr), sizeof(this->addr))) {
-        loggerLog(this->log, LOGGER_CRIT,
-                "error binding socket: %s - service terminated",
-                strerror(errno));
-        exit(EXIT_FAILURE);
-    }
-
-    /* Mark the socket so it will listen for incoming connections */
-    if (-1 == listen(this->handle, backlog)) {
-        loggerLog(this->log, LOGGER_CRIT,
-                "error binding socket: %s - service terminated",
-                strerror(errno));
-        exit(EXIT_FAILURE);
-    }
-}
-
-

-Here is the call graph for this function:
-
-
- - -
-

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/listen_8c__incl.map b/docs/html/listen_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/listen_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/listen_8c__incl.md5 b/docs/html/listen_8c__incl.md5 deleted file mode 100644 index 41d4b44..0000000 --- a/docs/html/listen_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -6cf723d16c4a55e23f06ca7cd5ee39ed \ No newline at end of file diff --git a/docs/html/listen_8c__incl.png b/docs/html/listen_8c__incl.png deleted file mode 100644 index 975c2e9eed017dc70f01cfb1a8f819fb17314f49..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2305 zcmV+c3I6tpP)7YiaKgjGKR-Wze}CTJ-=3eJA0HpSzrT`_k}oeWM@L6rUtg!Er+0UE7Z(?gkB`5< zzthvx00030|Nn^wV(I_@00DGTPE!Ct=GbNc00?bKL_t(|ob6qQcB?oPWWA=X4R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^lM7oQyXZajPlx&EgS$SNT=^-8NDAi@M7s^F$_(WF%hp zvM9*i<576TFCFLlJa*Jk}++OpXQO%ToU`Y=SLk-%t@d!%hh zQ`4WKC>!#u^;}aojT}PhTT+^+%;ja%u<@vE{-HlDW1;7CB;<#1ULLQep`COU%SqW( zvP*t1q5PCe1}am+W2QIoWvA_vjJ>L>e5%oLs45~%@#+`Ne69(JhUq8sLpy!8L>(rg zw6>6@(UH31#-PpXir$m*$djH30`e^Cx#e86ENRZ3CFN<^4`u0CKSlSfswiF_ucD#O z;GGoZvl_cpH3RsWDk4yx5>8l%n<(@>h+fszqOQj{R23Pfc=d~B;gNu7DxIIYX_=<- zFcrlb(kzU!5@Q!P{5XzO%!K0Z+U2n1q9yxWx6g{-Up2DC@``vB4U4&|X&L8HUCOE< z{7e+;P)+4wDvC9v+1TAl zU-H`RbYCO0%|90YpLY(PHZror^Xhn2D%hLnvzv7p%r7~m41%!GH__65q|bGCd^w`x z&{ag3^3^Yzg+~ISk&8-|pNh!CGDEu|&2r8h_V4aE5~L-wY*j5iQbhB%B1ri;p=WK$ z<87y12J_EV5rm^E@`ERORafcYKE|Oxn<7l{>KBdCBhJz6k0WD-oIRq~BXZJOtVill zEju>#bt{jk^++)9dOgyK)zq|0MxVeVf>5i%j99WC-mAJQ){C-dRb{>&@ruUi5$9;k z>ya@-){v&ru{}*&Jc-!Xw9|b}S?G_xzm`SEHbyIts0DX0uZVZt*ATIvDA+0QlHZHs z4)+MB5rq0C=&qpd8riGvu9(K5s)#Vft6wym9`TB1vajKqHtH}D#TwF8pPA!Xytz0C zEptHqln1YnuBs(GVlECsNk_4^spY{dq^oKPkC=l@|M{Iyc;1L_(5qQJ~cmy7?0Um)zY?yi^-LL%3ySOUvQT!>QIVqUEkN^Mx00000 b;9B?}QwNIuMhKk000000NkvXXu0mjfa&%@3 diff --git a/docs/html/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.map b/docs/html/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.map deleted file mode 100644 index 2fd1014..0000000 --- a/docs/html/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.md5 b/docs/html/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.md5 deleted file mode 100644 index 8831f43..0000000 --- a/docs/html/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -8abcb500cd410e634be8b7931a7e0a32 \ No newline at end of file diff --git a/docs/html/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.png b/docs/html/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.png deleted file mode 100644 index 41e24ebc8b97709a38f5f5a8b63c46596a18e6da..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 655 zcmV;A0&x9_P)%c00960 z|GiSOk^lez0d!JMQvg8b*k%9#0t87!K~!jg?U(D4!XONVD{Y~WQYP>JvKvUS7ppFI zyXp+*he&eh@R`8arm3o`s``B4*?RwmmJbi-s+_iTLCFIvZKbWWmA2BpytzM70WI9- z5$+`ZoYwqiF`Bbz!OygA6+A+FxqK)sUTN=HUZTA$fd7ql^619^*85mE=e>o9;yk38 z3zT1WGW%1|@fsX?ET_Hlu4#?ax~H$L#!g`#nm$DhDy=fDIJ4t9Esii^umb>XnHXVk z1m%VZYh|{iWq9 zeW0oZ7%7%^AIm!pYg+NgAg3ueZ9Bb)HUh6{BTK6r-O{v085&Jd)luHeoy^YccupH8 zi^G(N=p#c7gN>U`+SE4rxynhLThm^OwWLiaSDLEe-2Tnnu@v*S0kR8%68+R|)t zse}_34`551{JFLOd$gz3)|eG-d2Mgct>s%P1Z(q*x)p%I=X1;HqqN)2-95K1o?9oh z%8<&>Emah$qVt`Md?$xEr6AD^xNK_nry!?~(C%z*aVPijs?~XDDC(qR^BcQ3v*S7K z89MUsVwQ^S+IBKLc-D^N!)VvqUC?XQDBa5NVD*mU`)Ff>N}s02euTSqd?D=tRoY5h pX)Em)(Vng1&AojGRaI3Vq93k9w- - - - -server: src/socket/listen.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/socket/listen.c

-
-
-Go to the documentation of this file.
00001 #include <stdlib.h>     /* for atoi() and exit() */
-00002 #include <errno.h>      /* for errno */
-00003 
-00004 #include "socket.h"
-00005 #include "interface/class.h"
-00006 #include "interface/logger.h"
-00007 
-00008 
-00009 void
-00010 socketListen(Sock this, int backlog)
-00011 {
-00012     (this->addr).sin_family      = AF_INET;           /* Internet address family */
-00013     (this->addr).sin_addr.s_addr = htonl(INADDR_ANY); /* Any incoming interface */
-00014     (this->addr).sin_port        = htons(this->port); /* Local port */
-00015 
-00016     /* Bind to the local address */
-00017     if (-1 == bind(this->handle, (struct sockaddr *) &(this->addr), sizeof(this->addr))) {
-00018         loggerLog(this->log, LOGGER_CRIT,
-00019                 "error binding socket: %s - service terminated",
-00020                 strerror(errno));
-00021         exit(EXIT_FAILURE);
-00022     }
-00023 
-00024     /* Mark the socket so it will listen for incoming connections */
-00025     if (-1 == listen(this->handle, backlog)) {
-00026         loggerLog(this->log, LOGGER_CRIT,
-00027                 "error binding socket: %s - service terminated",
-00028                 strerror(errno));
-00029         exit(EXIT_FAILURE);
-00030     }
-00031 }
-00032 
-00033 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/logger_8c.html b/docs/html/logger_8c.html deleted file mode 100644 index 4b84284..0000000 --- a/docs/html/logger_8c.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - -server: src/logger.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/logger.c File Reference

-
-
-
#include <stdarg.h>
-#include "logger.h"
-#include "interface/class.h"
-#include "interface/logger.h"
-
-Include dependency graph for logger.c:
-
-
-
-
-

Go to the source code of this file.

- - - - - - -

-Functions

 INIT_IFACE (Class, ctor, dtor, NULL)
 CREATE_CLASS (Logger, NULL, IFACE(Class))

-Variables

const char *const logger_level_str []
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
CREATE_CLASS (Logger ,
NULL ,
IFACE(Class)  
)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INIT_IFACE (Class ,
ctor ,
dtor ,
NULL  
)
-
-
- -
-
-

Variable Documentation

- -
-
- - - - -
const char* const logger_level_str[]
-
-
-Initial value:
 {
-        "DEBUG",
-        "INFO",
-        "NOTICE",
-        "WARNING",
-        "ERR",
-        "CRIT",
-        "ALERT",
-        "EMERG"
-}
-
-

Definition at line 9 of file logger.c.

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/logger_8c__incl.map b/docs/html/logger_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/logger_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/logger_8c__incl.md5 b/docs/html/logger_8c__incl.md5 deleted file mode 100644 index 3036892..0000000 --- a/docs/html/logger_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -14c6cdc7c9053f4e10b4cedf828e0f80 \ No newline at end of file diff --git a/docs/html/logger_8c__incl.png b/docs/html/logger_8c__incl.png deleted file mode 100644 index 3db613949b60c2792b037b10c6ac0e0bfc237757..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1960 zcmV;Z2UqxsP)A#!cNZ5IkB^VPzrWMd z(*OVf|NsB>yEVH20004WQchCiE^Vl5Jlm!KAXjq{{LS` zD<(1mt$^{pRk0l*x?A^vBr>TODyvEnmjpMVY6D_CN zKgY47$A^(TUPQgIKD1TzpX3>!d9D^T$H2JzJGMnFmRgBN8eL$!}#hcaQQZM zPu_?3pVS$kd9L0xd(!pnmA;Gv{V+`I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8r#g`ZcU#dEFRBS=mN4EWtUH-0{>*YAov@XWH zZi-G;1}%zX``I=th}hH8nU?OQ>aG#j6mM#HAYYnl%O*pqh_toK=IK0;CNKXTQI^h! z!4fjt#8Liy!dt|?PjnF$h*v{74m6#LF&iX0Ss7&c6RDP+Ul*psE`tf2fyu4 z_5uvDtfHhBYpWi@w&Lx#%TPNJ_k-V-W`IGqRnXhMDUC;+e(EkmZAaV>ep{LW2I1dO z9CfW~wA`TSsB2ZDB|#7bK@bG}fc^on6dM(!Z0aWf0000 - - - -server: src/logger.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/logger.c

-
-
-Go to the documentation of this file.
00001 #include <stdarg.h>
-00002 
-00003 #include "logger.h"
-00004 #include "interface/class.h"
-00005 #include "interface/logger.h"
-00006 
-00007 const
-00008 char * const
-00009 logger_level_str[] = {
-00010         "DEBUG",
-00011         "INFO",
-00012         "NOTICE",
-00013         "WARNING",
-00014         "ERR",
-00015         "CRIT",
-00016         "ALERT",
-00017         "EMERG"
-00018 };
-00019 
-00020 static
-00021 void
-00022 ctor(void * _this, va_list * params)
-00023 {
-00024         Logger this = _this;
-00025         this->min_level = va_arg(*params, int);
-00026 }
-00027 
-00028 static void dtor(void * _this) {}
-00029 
-00030 INIT_IFACE(Class, ctor, dtor, NULL);
-00031 CREATE_CLASS(Logger, NULL, IFACE(Class));
-00032 
-00033 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/logger_8h.html b/docs/html/logger_8h.html deleted file mode 100644 index f039f4f..0000000 --- a/docs/html/logger_8h.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - -server: include/logger.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

include/logger.h File Reference

-
-
-
#include "class.h"
-
-Include dependency graph for logger.h:
-
-
- - -
-
-This graph shows which files directly or indirectly include this file:
-
-
- - -
-
-

Go to the source code of this file.

- - - - - - - - - - - -

-Classes

struct  Logger
struct  LoggerStderr
struct  LoggerSyslog

-Typedefs

typedef enum logger_level logger_level

-Enumerations

enum  logger_level {
-  LOGGER_DEBUG = 0, -LOGGER_INFO, -LOGGER_NOTICE, -LOGGER_WARNING, -
-  LOGGER_ERR, -LOGGER_CRIT, -LOGGER_ALERT, -LOGGER_EMERG -
- }

-Variables

const char *const logger_level_str []
-

Typedef Documentation

- -
-
- - - - -
typedef enum logger_level logger_level
-
-
- -
-
-

Enumeration Type Documentation

- -
-
- - - - -
enum logger_level
-
-
-
Enumerator:
- - - - - - - - -
LOGGER_DEBUG  -
LOGGER_INFO  -
LOGGER_NOTICE  -
LOGGER_WARNING  -
LOGGER_ERR  -
LOGGER_CRIT  -
LOGGER_ALERT  -
LOGGER_EMERG  -
-
-
- -

Definition at line 6 of file logger.h.

- -
-
-

Variable Documentation

- -
-
- - - - -
const char* const logger_level_str[]
-
-
- -

Definition at line 9 of file logger.c.

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/logger_8h__dep__incl.map b/docs/html/logger_8h__dep__incl.map deleted file mode 100644 index 596ed72..0000000 --- a/docs/html/logger_8h__dep__incl.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/html/logger_8h__dep__incl.md5 b/docs/html/logger_8h__dep__incl.md5 deleted file mode 100644 index 89107c6..0000000 --- a/docs/html/logger_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -f5539c413e54a1366d8c5375fba84b49 \ No newline at end of file diff --git a/docs/html/logger_8h__dep__incl.png b/docs/html/logger_8h__dep__incl.png deleted file mode 100644 index 22eac47ba0aac1fcc000b5555b9a3abe15b46405..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1413 zcmV;01$z34P))3M;8|tcXxMRUtg!Er@z0y)6>%c00960 z|HxAzzyJUM0d!JMQvg8b*k%9#1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7CHPJ T_v7Q500000NkvXXu0mjf6!*x3 diff --git a/docs/html/logger_8h__incl.map b/docs/html/logger_8h__incl.map deleted file mode 100644 index e430c8d..0000000 --- a/docs/html/logger_8h__incl.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/html/logger_8h__incl.md5 b/docs/html/logger_8h__incl.md5 deleted file mode 100644 index 78417cc..0000000 --- a/docs/html/logger_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -d7c08b53f2bdcca8562994ce1eca44f6 \ No newline at end of file diff --git a/docs/html/logger_8h__incl.png b/docs/html/logger_8h__incl.png deleted file mode 100644 index 004f2f377c752631d9d006b6b318725ae5e0a2c9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3031 zcmb_eS5y<&76lZfcSU*^&;UajLhm6!C=z-L%@B$d6_6r=f?$v)CG;R*Kta0FJBW0I zAVq~B2uL$h5&}f?n3*@PeZRZbUFWQG?>TF)z0b!+Ubg_VF!C`{QBkp&7#l*VsHib# zm!1CHSw)Je!09Y#UN^G={i0C%`ull#gS)!B(Z$6&Iyy@@oUpKPOiYZtynI?(8W;@b z;o-S^_pY0pTSY}hcXu}yi#_Y6P$+MlBaY58>JX@fHI?rAyf+mUlZlC;o=te+Zc$=J zl`1=EK~(#bI}e3YU-g)QhFgK<$YxjZiu7T9e8R>p1n*h%*;x)e)LEX3E(cT81RQSD zp`@uG+_933J)E@eNE&enKCeDy4!=QOZp#D$XqB2~9G(4y>p~>>dzb1CgKn{-po&F% zCq%-Ecx6;4I*6Fx&aT~NPpRE~`ykaae1FIqz1R?!1`9e=`?*S3wwV9Uit5XCjO=nI zuH#|&qwc^PFQeYz-&IjUEblL4n>_IcxYP0Y*R>aPUZ|WD0#%o0EeKPg;Dz9UfVTraCZBWAebCbgqHy%~ zvF5Q>;!k|zEw_w~$6QVhNpVx0Zqvx$mnyd1*g6MSb?R&vGcCh2e@Cm5ruic#ew%lf zq2WNYYqi7?i$CrZvq2^d>t^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1z_C(*eBqg;i^p% zbunTEmeLxB3HTw;!_%xxVYYHGP)R!5!?rfe%PS6w*$j|driqf^8Xp-}y=q>6)4ANs zlC?R3Byun*@o8KsUxD>6jK1^+`Sc09+*}EhdK(&ZO?{-MeAB6u_f|=&Ylz4#Icy`7 z#z;-+=Eu|qf1fse;ieK?|0tUT>z?*fpOuj_)>YtXlVQu|#P!|nXu6Ep8$m(q(&8_X z?wN5Vvm2)@64cc&tY3g3eJHv7oQW=G`)*hk$EG&YsCnHTjX793 zc*(f18LqSZythX;|Mp;T&(uRK=zOYK;Wg>t*L_HuJEi4?X^jKxfL&FY3VJrWX`$}4 z_jqUB2f`N^Qg=ve1-$2m(Z!D#Q(Z{o&V1*Fvscg2frSJFlvVe?4z=_?1rFnIZTFa; zi*$W~aDcO;IZ_`Uugh6pe?8VL*tx8s_*^ax_C4ax1T-F`cwbXgMtx5_a_ey15Gjnk zgIFjxIm|_C@~E4XBII;Lcusyk7PPr+3K|&FxAY5-_ljPq7`Kn15ze6HLW$A*hij`d ze6Z+lS7fd*N}jLde!A#>=@_ux!Qo&!68PI_r}6>KSth}vVCjrQ&Xl%JcuZc=B*uLl z&YXBMQ+9QV22-(UAbpp2GnSwhG6x{Dn|riYA)? z?Cb`w(lgkNqLHlXFuT6l^ti4mPgLu=hm2SzujTV?9yKbJzogGWXszv*aJJD8Ln}Fw%7a z;v7F5?<==*q3#cem_=eNog595%I6av{-JWPU T2)v3&`lDb1vM{XCcYpW~jETY8 diff --git a/docs/html/logger_8h_source.html b/docs/html/logger_8h_source.html deleted file mode 100644 index c678614..0000000 --- a/docs/html/logger_8h_source.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - -server: include/logger.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

include/logger.h

-
-
-Go to the documentation of this file.
00001 #ifndef __LOGGER_H__
-00002 #define __LOGGER_H__
-00003 
-00004 #include "class.h"
-00005 
-00006 typedef enum logger_level {
-00007         LOGGER_DEBUG=0,
-00008         LOGGER_INFO,
-00009         LOGGER_NOTICE,
-00010         LOGGER_WARNING,
-00011         LOGGER_ERR,
-00012         LOGGER_CRIT,
-00013         LOGGER_ALERT,
-00014         LOGGER_EMERG
-00015 } logger_level;
-00016 
-00017 extern const char * const logger_level_str[];
-00018 
-00019 CLASS(Logger) {
-00020         logger_level min_level;
-00021 };
-00022 
-00023 CLASS(LoggerStderr) {
-00024         EXTENDS(Logger);
-00025 };
-00026 
-00027 CLASS(LoggerSyslog) {
-00028         EXTENDS(Logger);
-00029 };
-00030 
-00031 #endif // __LOGGER_H__
-00032 
-00033 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/nav_f.png b/docs/html/nav_f.png deleted file mode 100644 index 1b07a16207e67c95fe2ee17e7016e6d08ac7ac99..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 159 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQfZzpjv*C{Z|{2YIT`Y>1X`Eg z-tTbne1`SITM8Q!Pb(<)UFZ(m>wMzvKZQqKM~~GcZ=A7j<~E6K62>ozFS=cD3)mf8 z9WX0+R&m(l9KUsLdTx4?9~({T__KA%`}olPJ^N;y|F^pHgs_K%!rj~{8>RwnWbkzL Kb6Mw<&;$VTdq1fF diff --git a/docs/html/nav_h.png b/docs/html/nav_h.png deleted file mode 100644 index 01f5fa6a596e36bd12c2d6ceff1b0169fda7e699..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 97 zcmeAS@N?(olHy`uVBq!ia0vp^j6lr8!2~3AUOE6t1`SUa$B+ufw|6&kG8phMJMJ~w va4>Y+bZ&9QY?(VEUPY_cGd9nQ`um^ZSUyYpAAuKhL7F^W{an^LB{Ts5DmojT diff --git a/docs/html/navtree.css b/docs/html/navtree.css deleted file mode 100644 index e46ffcd..0000000 --- a/docs/html/navtree.css +++ /dev/null @@ -1,123 +0,0 @@ -#nav-tree .children_ul { - margin:0; - padding:4px; -} - -#nav-tree ul { - list-style:none outside none; - margin:0px; - padding:0px; -} - -#nav-tree li { - white-space:nowrap; - margin:0px; - padding:0px; -} - -#nav-tree .plus { - margin:0px; -} - -#nav-tree .selected { - background-image: url('tab_a.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); -} - -#nav-tree img { - margin:0px; - padding:0px; - border:0px; - vertical-align: middle; -} - -#nav-tree a { - text-decoration:none; - padding:0px; - margin:0px; - outline:none; -} - -#nav-tree .label { - margin:0px; - padding:0px; -} - -#nav-tree .label a { - padding:2px; -} - -#nav-tree .selected a { - text-decoration:none; - padding:2px; - margin:0px; - color:#fff; -} - -#nav-tree .children_ul { - margin:0px; - padding:0px; -} - -#nav-tree .item { - margin:0px; - padding:0px; -} - -#nav-tree { - padding: 0px 0px; - background-color: #FAFAFF; - font-size:14px; - overflow:auto; -} - -#doc-content { - overflow:auto; - display:block; - padding:0px; - margin:0px; -} - -#side-nav { - padding:0 6px 0 0; - margin: 0px; - display:block; - position: absolute; - left: 0px; - width: 300px; -} - -.ui-resizable .ui-resizable-handle { - display:block; -} - -.ui-resizable-e { - background:url("ftv2splitbar.png") repeat scroll right center transparent; - cursor:e-resize; - height:100%; - right:0; - top:0; - width:6px; -} - -.ui-resizable-handle { - display:none; - font-size:0.1px; - position:absolute; - z-index:1; -} - -#nav-tree-contents { - margin: 6px 0px 0px 0px; -} - -#nav-tree { - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; -} - - - diff --git a/docs/html/navtree.js b/docs/html/navtree.js deleted file mode 100644 index 9530369..0000000 --- a/docs/html/navtree.js +++ /dev/null @@ -1,320 +0,0 @@ -var NAVTREE = -[ - [ "server", "index.html", [ - [ "Class List", "annotated.html", [ - [ "class", "structclass.html", null ], - [ "HttpHeader", "structHttpHeader.html", null ], - [ "HttpRequest", "structHttpRequest.html", null ], - [ "HttpRequestParser", "structHttpRequestParser.html", null ], - [ "HttpRequestQueue", "structHttpRequestQueue.html", null ], - [ "HttpResponse", "structHttpResponse.html", null ], - [ "i_Class", "structi__Class.html", null ], - [ "i_Logger", "structi__Logger.html", null ], - [ "i_StreamReader", "structi__StreamReader.html", null ], - [ "iface_impl", "structiface__impl.html", null ], - [ "interface", "structinterface.html", null ], - [ "Logger", "structLogger.html", null ], - [ "LoggerStderr", "structLoggerStderr.html", null ], - [ "LoggerSyslog", "structLoggerSyslog.html", null ], - [ "Server", "structServer.html", null ], - [ "Sock", "structSock.html", null ] - ] ], - [ "Class Index", "classes.html", null ], - [ "Class Members", "functions.html", null ], - [ "File List", "files.html", [ - [ "config.h", "config_8h.html", null ], - [ "include/class.h", "class_8h.html", null ], - [ "include/interface.h", "interface_8h.html", null ], - [ "include/logger.h", "logger_8h.html", null ], - [ "include/server.h", "server_8h.html", null ], - [ "include/signalHandling.h", "signalHandling_8h.html", null ], - [ "include/socket.h", "socket_8h.html", null ], - [ "include/http/header.h", "header_8h.html", null ], - [ "include/http/request.h", "request_8h.html", null ], - [ "include/http/request_parser.h", "request__parser_8h.html", null ], - [ "include/http/request_queue.h", "request__queue_8h.html", null ], - [ "include/http/response.h", "response_8h.html", null ], - [ "include/interface/class.h", "interface_2class_8h.html", null ], - [ "include/interface/logger.h", "interface_2logger_8h.html", null ], - [ "include/interface/stream_reader.h", "stream__reader_8h.html", null ], - [ "src/class.c", "class_8c.html", null ], - [ "src/daemonize.c", "daemonize_8c.html", null ], - [ "src/interface.c", "interface_8c.html", null ], - [ "src/logger.c", "logger_8c.html", null ], - [ "src/server.c", "server_8c.html", null ], - [ "src/signalHandling.c", "signalHandling_8c.html", null ], - [ "src/socket.c", "socket_8c.html", null ], - [ "src/testserver.c", "testserver_8c.html", null ], - [ "src/http/header.c", "header_8c.html", null ], - [ "src/http/request.c", "request_8c.html", null ], - [ "src/http/header/get.c", "get_8c.html", null ], - [ "src/http/header/sort.c", "sort_8c.html", null ], - [ "src/http/request/header_get.c", "header__get_8c.html", null ], - [ "src/http/request/parser.c", "parser_8c.html", null ], - [ "src/http/request/queue.c", "queue_8c.html", null ], - [ "src/http/request/parser/get_header.c", "get__header_8c.html", null ], - [ "src/http/request/parser/get_request_line.c", "get__request__line_8c.html", null ], - [ "src/http/request/parser/parse.c", "parse_8c.html", null ], - [ "src/interface/class.c", "interface_2class_8c.html", null ], - [ "src/interface/logger.c", "interface_2logger_8c.html", null ], - [ "src/interface/stream_reader.c", "stream__reader_8c.html", null ], - [ "src/logger/stderr.c", "stderr_8c.html", null ], - [ "src/logger/syslog.c", "syslog_8c.html", null ], - [ "src/server/close_conn.c", "close__conn_8c.html", null ], - [ "src/server/handle_accept.c", "handle__accept_8c.html", null ], - [ "src/server/poll.c", "poll_8c.html", null ], - [ "src/server/read.c", "read_8c.html", null ], - [ "src/server/run.c", "run_8c.html", null ], - [ "src/socket/accept.c", "accept_8c.html", null ], - [ "src/socket/connect.c", "connect_8c.html", null ], - [ "src/socket/listen.c", "listen_8c.html", null ] - ] ], - [ "File Members", "globals.html", null ] - ] ] -]; - -function createIndent(o,domNode,node,level) -{ - if (node.parentNode && node.parentNode.parentNode) - { - createIndent(o,domNode,node.parentNode,level+1); - } - var imgNode = document.createElement("img"); - if (level==0 && node.childrenData) - { - node.plus_img = imgNode; - node.expandToggle = document.createElement("a"); - node.expandToggle.href = "javascript:void(0)"; - node.expandToggle.onclick = function() - { - if (node.expanded) - { - $(node.getChildrenUL()).slideUp("fast"); - if (node.isLast) - { - node.plus_img.src = node.relpath+"ftv2plastnode.png"; - } - else - { - node.plus_img.src = node.relpath+"ftv2pnode.png"; - } - node.expanded = false; - } - else - { - expandNode(o, node, false); - } - } - node.expandToggle.appendChild(imgNode); - domNode.appendChild(node.expandToggle); - } - else - { - domNode.appendChild(imgNode); - } - if (level==0) - { - if (node.isLast) - { - if (node.childrenData) - { - imgNode.src = node.relpath+"ftv2plastnode.png"; - } - else - { - imgNode.src = node.relpath+"ftv2lastnode.png"; - domNode.appendChild(imgNode); - } - } - else - { - if (node.childrenData) - { - imgNode.src = node.relpath+"ftv2pnode.png"; - } - else - { - imgNode.src = node.relpath+"ftv2node.png"; - domNode.appendChild(imgNode); - } - } - } - else - { - if (node.isLast) - { - imgNode.src = node.relpath+"ftv2blank.png"; - } - else - { - imgNode.src = node.relpath+"ftv2vertline.png"; - } - } - imgNode.border = "0"; -} - -function newNode(o, po, text, link, childrenData, lastNode) -{ - var node = new Object(); - node.children = Array(); - node.childrenData = childrenData; - node.depth = po.depth + 1; - node.relpath = po.relpath; - node.isLast = lastNode; - - node.li = document.createElement("li"); - po.getChildrenUL().appendChild(node.li); - node.parentNode = po; - - node.itemDiv = document.createElement("div"); - node.itemDiv.className = "item"; - - node.labelSpan = document.createElement("span"); - node.labelSpan.className = "label"; - - createIndent(o,node.itemDiv,node,0); - node.itemDiv.appendChild(node.labelSpan); - node.li.appendChild(node.itemDiv); - - var a = document.createElement("a"); - node.labelSpan.appendChild(a); - node.label = document.createTextNode(text); - a.appendChild(node.label); - if (link) - { - a.href = node.relpath+link; - } - else - { - if (childrenData != null) - { - a.className = "nolink"; - a.href = "javascript:void(0)"; - a.onclick = node.expandToggle.onclick; - node.expanded = false; - } - } - - node.childrenUL = null; - node.getChildrenUL = function() - { - if (!node.childrenUL) - { - node.childrenUL = document.createElement("ul"); - node.childrenUL.className = "children_ul"; - node.childrenUL.style.display = "none"; - node.li.appendChild(node.childrenUL); - } - return node.childrenUL; - }; - - return node; -} - -function showRoot() -{ - var headerHeight = $("#top").height(); - var footerHeight = $("#nav-path").height(); - var windowHeight = $(window).height() - headerHeight - footerHeight; - navtree.scrollTo('#selected',0,{offset:-windowHeight/2}); -} - -function expandNode(o, node, imm) -{ - if (node.childrenData && !node.expanded) - { - if (!node.childrenVisited) - { - getNode(o, node); - } - if (imm) - { - $(node.getChildrenUL()).show(); - } - else - { - $(node.getChildrenUL()).slideDown("fast",showRoot); - } - if (node.isLast) - { - node.plus_img.src = node.relpath+"ftv2mlastnode.png"; - } - else - { - node.plus_img.src = node.relpath+"ftv2mnode.png"; - } - node.expanded = true; - } -} - -function getNode(o, po) -{ - po.childrenVisited = true; - var l = po.childrenData.length-1; - for (var i in po.childrenData) - { - var nodeData = po.childrenData[i]; - po.children[i] = newNode(o, po, nodeData[0], nodeData[1], nodeData[2], - i==l); - } -} - -function findNavTreePage(url, data) -{ - var nodes = data; - var result = null; - for (var i in nodes) - { - var d = nodes[i]; - if (d[1] == url) - { - return new Array(i); - } - else if (d[2] != null) // array of children - { - result = findNavTreePage(url, d[2]); - if (result != null) - { - return (new Array(i).concat(result)); - } - } - } - return null; -} - -function initNavTree(toroot,relpath) -{ - var o = new Object(); - o.toroot = toroot; - o.node = new Object(); - o.node.li = document.getElementById("nav-tree-contents"); - o.node.childrenData = NAVTREE; - o.node.children = new Array(); - o.node.childrenUL = document.createElement("ul"); - o.node.getChildrenUL = function() { return o.node.childrenUL; }; - o.node.li.appendChild(o.node.childrenUL); - o.node.depth = 0; - o.node.relpath = relpath; - - getNode(o, o.node); - - o.breadcrumbs = findNavTreePage(toroot, NAVTREE); - if (o.breadcrumbs == null) - { - o.breadcrumbs = findNavTreePage("index.html",NAVTREE); - } - if (o.breadcrumbs != null && o.breadcrumbs.length>0) - { - var p = o.node; - for (var i in o.breadcrumbs) - { - var j = o.breadcrumbs[i]; - p = p.children[j]; - expandNode(o,p,true); - } - p.itemDiv.className = p.itemDiv.className + " selected"; - p.itemDiv.id = "selected"; - $(window).load(showRoot); - } -} - diff --git a/docs/html/open.png b/docs/html/open.png deleted file mode 100644 index 7b35d2c2c389743089632fe24c3104f2173d97af..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 118 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{Vww^AIAr*{o=Nbw!DDW^(zOibV zl!F8B0?t?i!vld4k#$~0_AX3zElaokn - - - -server: src/http/request/parser/parse.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/http/request/parser/parse.c File Reference

-
-
-
#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-#include <ctype.h>
-#include "http/request_parser.h"
-#include "interface/class.h"
-
-Include dependency graph for parse.c:
-
-
- - -
-
-

Go to the source code of this file.

- - - - - - -

-Defines

#define REMAINS(pars, done)   ((pars)->buffer_used - ((done) - (pars)->buffer))

-Functions

void httpRequestParserGetRequestLine (HttpRequest, char *)
void httpRequestParserParse (HttpRequestParser this)
-

Define Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
#define REMAINS( pars,
 done 
)   ((pars)->buffer_used - ((done) - (pars)->buffer))
-
-
- -

Definition at line 10 of file parse.c.

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void httpRequestParserGetRequestLine (HttpRequest ,
char *  
)
-
-
- -

Definition at line 7 of file get_request_line.c.

-
{
-        char * method, * uri, * version;
-
-        method = line;
-
-        uri    = strchr(line, ' ');
-        *uri++ = 0;
-        for (; *uri == ' ' && *uri != 0; uri++);
-
-        version    = strchr(uri, ' ');
-        *version++ = 0;
-        for (; *version == ' ' && *version != 0; version++);
-
-        request->method  = malloc(strlen(method) + 1);
-        strcpy(request->method, method);
-        request->uri     = malloc(strlen(uri) + 1);
-        strcpy(request->uri, uri);
-        request->version = malloc(strlen(version) + 1);
-        strcpy(request->version, method);
-}
-
-

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - -
void httpRequestParserParse (HttpRequestParser this)
-
-
- -

enqueue current request

-

remove processed stuff from input buffer.

-

dont continue loop if input buffer is empty

-

prepare for next request

-

- -

Definition at line 43 of file parse.c.

-
{
-        static HttpRequest request  = NULL;
-        static char *      data; // static pointer to unprocessed data
-        char *             line;
-        int                cont = 1;
-
-        while(cont) {
-                switch(this->state) {
-                        case HTTP_REQUEST_GARBAGE:
-                                data = this->buffer; // initialize static pointer
-                                httpRequestSkip(&data);
-                                request = new(HttpRequest);
-
-                                this->state = HTTP_REQUEST_START;
-                                break;
-
-                        case HTTP_REQUEST_START:
-                                if (NULL == (line = httpRequestParserGetLine(&data))) {
-                                        cont = 0;
-                                        break;
-                                }
-                                
-                                httpRequestParserGetRequestLine(request, line);
-
-                                this->state = HTTP_REQUEST_REQUEST_LINE_DONE;
-                                break;
-
-                        case HTTP_REQUEST_REQUEST_LINE_DONE:
-                                if (NULL == (line = httpRequestParserGetLine(&data))) {
-                                        cont = 0;
-                                        break;
-                                }
-
-                                if (0 == strlen(line)) {
-                                        this->state = HTTP_REQUEST_HEADERS_DONE;
-                                        break;
-                                }
-
-                                httpRequestParserGetHeader(request, line);
-                                break;
-
-                        case HTTP_REQUEST_HEADERS_DONE:
-                                httpHeaderSort(request->header, request->nheader);
-
-                                {
-                                        char * nbody;
-
-                                        if (0 == request->nbody) {
-                                                nbody = httpHeaderGet(
-                                                                request->header,
-                                                                request->nheader,
-                                                                "Content-Length");
-
-                                                if (NULL == nbody) {
-                                                        this->state = HTTP_REQUEST_DONE;
-                                                        break;
-                                                }
-                                                else {
-                                                        request->nbody = atoi(nbody);
-                                                }
-                                        }
-
-                                        if (REMAINS(this, data) >= request->nbody) {
-                                                request->body = calloc(1, request->nbody + 1);
-                                                memcpy(request->body, data, request->nbody);
-                                                data += request->nbody;
-                                                this->state = HTTP_REQUEST_DONE;
-                                        }
-                                }
-                                        
-                                break;
-
-                        case HTTP_REQUEST_DONE:
-                                this->request_queue->requests[(this->request_queue->nrequests)++] =
-                                        request;
-
-                                memmove(this->buffer, data, REMAINS(this, data));
-
-                                this->buffer_used -= data - this->buffer;
-
-                                if (0 == this->buffer_used) {
-                                        cont = 0;
-                                }
-
-                                this->state = HTTP_REQUEST_GARBAGE;
-
-                                break;
-
-                        default:
-                                break;
-                }
-        }
-}
-
-

-Here is the call graph for this function:
-
-
- - -
-

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/parse_8c__incl.map b/docs/html/parse_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/parse_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/parse_8c__incl.md5 b/docs/html/parse_8c__incl.md5 deleted file mode 100644 index 60c81a0..0000000 --- a/docs/html/parse_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -50bccfb87ca517a880afde699909857f \ No newline at end of file diff --git a/docs/html/parse_8c__incl.png b/docs/html/parse_8c__incl.png deleted file mode 100644 index a1ae072a4fb6ab43741f0ed764e114479df3c54a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3001 zcmV;q3r6&bP)A#!cNZ5IkB^VPzrWMd z(*OVf|NsB>yEVH20004WQchCYLsBA+}ySt7=B9TZW5{X12kw_#GiA36s*pc+@Vv?$e&BqZj zc?=Pgq`irlB<)SaBx!FVCP{k}F-h8+!c0#0nN8k9Ns5n8b=D##kD)M=kC$R{dWxUr zp-4f$`1tt9m59k>D9q$-)=V<-vpf_j=ocR!AGs1Sc?{W{y`Jp(nAq$2n#bq!KFO;n zdpy}V&-@VonZ?nkxVG{`I+7peLAMuRD-ncNX(+ntc+vNDW8$Ff4iOj+hSOaS0+G;+ zkzgzZITDkHlg%W1Ob<43xcGEW(`}p|90GQmd81k<`O)bmA$-gbc^8on&N7EaGYPF= z2#`X&?91*GIP&fgf$_41N9sW!5}F|rjR8shkeED_EG8#5PU2twk64kW$1Ij1_LA3c z&EzB&#aSGJ$Vn_`a;o??WKpJb#S1R~{AjD$d$F6Kx~9!`sE z_noguk|5kf-teK#Btmw>$N23B5pP|)p%Dxr?q>SFZnrx);*cs{Z9MfL5DCo?iN>?Z zk(fN37EFq@?tjt3_iyuS6qoKdCSeH^ha@Xv;hH9UoqRFX3Wky?h=;yr<;5WYhfpHzFbyS#%~GYMP0`=qYPVuN=dpD)}`@(Vswt=4`L;$>fc z%QBA)mrvYJLcF=i!yp(5OhP0Y&kvO&F?l@MO!AxOClW9|`T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K`fJ1=oV$9GN)ZdtGPefPQ3SKD+Z zweN~a80Mm%rZdUU__AClVJzz;Jnm8V-F%BKo!~8E{RYGc|8v$Onn`JV(r;^=I<<`% z)y=(p*8opYwVEkHsigR=?l4}!0c!w#%+{uaNjW6sV80c>hg5aKqbFTCxX*+T$O!Y= zoRHE_l1e@gxr(F)@B4CfK5D6Aeil5~%Tuy(%7;%;$Kpf0N_c;=y>`OnS-zJxw6NY( zl6fze9b&SjcEY4s<1fxn8q2M>lwywW&c=Npoy=swH2@q#m3&H0Ozz3Lp?NBkUlcL9 zCu?F-h?v}yH8CkfOzz2=m=q!=_hd~>3K5fgvL+^lh{-)!6O%%_WwPF%)L0HtK@F{U v`L|g6E&; diff --git a/docs/html/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.map b/docs/html/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.map deleted file mode 100644 index 77a4b0c..0000000 --- a/docs/html/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.md5 b/docs/html/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.md5 deleted file mode 100644 index 9616c5b..0000000 --- a/docs/html/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -99e054c8a121835084e75516f7b257cf \ No newline at end of file diff --git a/docs/html/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.png b/docs/html/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.png deleted file mode 100644 index e377d4c19d45d1c0f021fe4fcbc32ee200823e5c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1179 zcmV;M1Z4Y(P)%c00960 z|FG-Y`v3p{0d!JMQvg8b*k%9#1Q1C?K~#90?OBVGqaYCU4G3cK|37>4K)}Q#U{ZBi zLsyx~4n5#@GcxWrO+`gTMMXtL#pU6C16Nfgx#jg2P;6u&|9_zxnJ>^+qZ*kn&{v}x znJ>^+qZ*kn&{v}xnJ>^+qZ*kn&{yMukBJ!c(RU?NQpVwACukcx`Fbyj;VVRywN{!n3zUc%YMx(nrBX8Po{(F(8sD{kMof)t z+cJSjR59`uqMZ;zkGFZpphV2*`u^q0d9;K3On=?5x6}PiQF~mi_tLtU@ro);mz5&v?0V9_`>h(_eQnPOrupx~x;i$ek_P7})s0nw5)w zb5udjLW#i)1&>a>(nN}fJ((h_p$Dk7TQtorU5y6e{&CDx4vcIWWdcp38=BFLbP3mu zqu%K~jN{NW!0I~}{pM%~ITIxY>$~3J2u{@TuqRXGH7(1?d0m{{G_!EbDNqE3vQ#%( zT085-ED(>gVWFmf-T!lP?+xCrjAV$xwM$^#!ZoEdrj`(cgKz-n;7XSdn23VkbKL?ct*0y z8c!}gj2)kmQ=?<__Kc*Qt{L1`rF{4?d1vHfTE3AhN;{)UOYB%xid1DdBVu1hft56OtEX_ zPfdXVx>itoa3fWuk3ugCohT)5r3S6%q(^qh4>NgRkq>D(M(*+SMey}o;wSO;YH$2O zV2`J7c-gOiAHz=@St!sRf6_?#aOj7P)Q?7*uQl>Y__6 - - - - - diff --git a/docs/html/parse_8c_a9bb74bc564fe961a7ab5459ef5806de6_cgraph.md5 b/docs/html/parse_8c_a9bb74bc564fe961a7ab5459ef5806de6_cgraph.md5 deleted file mode 100644 index 6c34dcf..0000000 --- a/docs/html/parse_8c_a9bb74bc564fe961a7ab5459ef5806de6_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -b26b7c22015997556a16c3a3d9590d98 \ No newline at end of file diff --git a/docs/html/parse_8c_a9bb74bc564fe961a7ab5459ef5806de6_cgraph.png b/docs/html/parse_8c_a9bb74bc564fe961a7ab5459ef5806de6_cgraph.png deleted file mode 100644 index f31910478aabed4c23f78961b7c18693a76f139e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2558 zcmZXWc{CJiAIFE>C>Mi4W3Fu|V^X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z3ASG5ZUi&2J`n8t=r!aqkOfAiq2>djKV@i6+dJNozegNwyUcYCE;C`% diff --git a/docs/html/parse_8c_source.html b/docs/html/parse_8c_source.html deleted file mode 100644 index 45be40f..0000000 --- a/docs/html/parse_8c_source.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - -server: src/http/request/parser/parse.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/http/request/parser/parse.c

-
-
-Go to the documentation of this file.
00001 #include <stdlib.h>
-00002 #include <string.h>
-00003 #include <unistd.h>
-00004 #include <ctype.h>
-00005 
-00006 #include "http/request_parser.h"
-00007 #include "interface/class.h"
-00008 
-00009 
-00010 #define REMAINS(pars,done) \
-00011         ((pars)->buffer_used - ((done) - (pars)->buffer))
-00012 
-00013 
-00014 static
-00015 inline
-00016 char *
-00017 httpRequestParserGetLine(char ** data)
-00018 {
-00019         char * line_end = strstr(*data, "\r\n");
-00020         char * ret      = *data;
-00021 
-00022         if (NULL == line_end) {
-00023                 return NULL;
-00024         }
-00025 
-00026         *line_end = 0;
-00027         *data = line_end + 2;
-00028 
-00029         return ret;
-00030 }
-00031 
-00032 static
-00033 inline
-00034 void
-00035 httpRequestSkip(char ** data)
-00036 {
-00037         for (; 0 != **data && ! isalpha(**data); (*data)++);
-00038 }
-00039 
-00040 void httpRequestParserGetRequestLine(HttpRequest, char *);
-00041 
-00042 void
-00043 httpRequestParserParse(HttpRequestParser this)
-00044 {
-00045         static HttpRequest request  = NULL;
-00046         static char *      data; // static pointer to unprocessed data
-00047         char *             line;
-00048         int                cont = 1;
-00049 
-00050         while(cont) {
-00051                 switch(this->state) {
-00052                         case HTTP_REQUEST_GARBAGE:
-00053                                 data = this->buffer; // initialize static pointer
-00054                                 httpRequestSkip(&data);
-00055                                 request = new(HttpRequest);
-00056 
-00057                                 this->state = HTTP_REQUEST_START;
-00058                                 break;
-00059 
-00060                         case HTTP_REQUEST_START:
-00061                                 if (NULL == (line = httpRequestParserGetLine(&data))) {
-00062                                         cont = 0;
-00063                                         break;
-00064                                 }
-00065                                 
-00066                                 httpRequestParserGetRequestLine(request, line);
-00067 
-00068                                 this->state = HTTP_REQUEST_REQUEST_LINE_DONE;
-00069                                 break;
-00070 
-00071                         case HTTP_REQUEST_REQUEST_LINE_DONE:
-00072                                 if (NULL == (line = httpRequestParserGetLine(&data))) {
-00073                                         cont = 0;
-00074                                         break;
-00075                                 }
-00076 
-00077                                 if (0 == strlen(line)) {
-00078                                         this->state = HTTP_REQUEST_HEADERS_DONE;
-00079                                         break;
-00080                                 }
-00081 
-00082                                 httpRequestParserGetHeader(request, line);
-00083                                 break;
-00084 
-00085                         case HTTP_REQUEST_HEADERS_DONE:
-00086                                 httpHeaderSort(request->header, request->nheader);
-00087 
-00088                                 {
-00089                                         char * nbody;
-00090 
-00091                                         if (0 == request->nbody) {
-00092                                                 nbody = httpHeaderGet(
-00093                                                                 request->header,
-00094                                                                 request->nheader,
-00095                                                                 "Content-Length");
-00096 
-00097                                                 if (NULL == nbody) {
-00098                                                         this->state = HTTP_REQUEST_DONE;
-00099                                                         break;
-00100                                                 }
-00101                                                 else {
-00102                                                         request->nbody = atoi(nbody);
-00103                                                 }
-00104                                         }
-00105 
-00106                                         if (REMAINS(this, data) >= request->nbody) {
-00107                                                 request->body = calloc(1, request->nbody + 1);
-00108                                                 memcpy(request->body, data, request->nbody);
-00109                                                 data += request->nbody;
-00110                                                 this->state = HTTP_REQUEST_DONE;
-00111                                         }
-00112                                 }
-00113                                         
-00114                                 break;
-00115 
-00116                         case HTTP_REQUEST_DONE:
-00120                                 this->request_queue->requests[(this->request_queue->nrequests)++] =
-00121                                         request;
-00122 
-00126                                 memmove(this->buffer, data, REMAINS(this, data));
-00127 
-00128                                 this->buffer_used -= data - this->buffer;
-00129 
-00133                                 if (0 == this->buffer_used) {
-00134                                         cont = 0;
-00135                                 }
-00136 
-00140                                 this->state = HTTP_REQUEST_GARBAGE;
-00141 
-00142                                 break;
-00143 
-00144                         default:
-00145                                 break;
-00146                 }
-00147         }
-00148 }
-00149 
-00150 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/parser_8c.html b/docs/html/parser_8c.html deleted file mode 100644 index d1bde55..0000000 --- a/docs/html/parser_8c.html +++ /dev/null @@ -1,371 +0,0 @@ - - - - -server: src/http/request/parser.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/http/request/parser.c File Reference

-
-
-
#include <string.h>
-#include <stdlib.h>
-#include <sys/types.h>
-#include "class.h"
-#include "http/request_parser.h"
-#include "interface/class.h"
-#include "interface/stream_reader.h"
-#include "http/request.h"
-#include "http/request_queue.h"
-
-Include dependency graph for parser.c:
-
-
- - -
-
-

Go to the source code of this file.

- - - - - - -

-Functions

void httpRequestParserParse (HttpRequestParser)
 INIT_IFACE (Class, ctor, dtor, _clone)
 INIT_IFACE (StreamReader, get_data)
 CREATE_CLASS (HttpRequestParser, NULL, IFACE(Class), IFACE(StreamReader))
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CREATE_CLASS (HttpRequestParser ,
NULL ,
IFACE(Class) ,
IFACE(StreamReader)  
)
-
-
- -
-
- -
-
- - - - - - - - -
void httpRequestParserParse (HttpRequestParser )
-
-
- -

enqueue current request

-

remove processed stuff from input buffer.

-

dont continue loop if input buffer is empty

-

prepare for next request

-

- -

Definition at line 43 of file parse.c.

-
{
-        static HttpRequest request  = NULL;
-        static char *      data; // static pointer to unprocessed data
-        char *             line;
-        int                cont = 1;
-
-        while(cont) {
-                switch(this->state) {
-                        case HTTP_REQUEST_GARBAGE:
-                                data = this->buffer; // initialize static pointer
-                                httpRequestSkip(&data);
-                                request = new(HttpRequest);
-
-                                this->state = HTTP_REQUEST_START;
-                                break;
-
-                        case HTTP_REQUEST_START:
-                                if (NULL == (line = httpRequestParserGetLine(&data))) {
-                                        cont = 0;
-                                        break;
-                                }
-                                
-                                httpRequestParserGetRequestLine(request, line);
-
-                                this->state = HTTP_REQUEST_REQUEST_LINE_DONE;
-                                break;
-
-                        case HTTP_REQUEST_REQUEST_LINE_DONE:
-                                if (NULL == (line = httpRequestParserGetLine(&data))) {
-                                        cont = 0;
-                                        break;
-                                }
-
-                                if (0 == strlen(line)) {
-                                        this->state = HTTP_REQUEST_HEADERS_DONE;
-                                        break;
-                                }
-
-                                httpRequestParserGetHeader(request, line);
-                                break;
-
-                        case HTTP_REQUEST_HEADERS_DONE:
-                                httpHeaderSort(request->header, request->nheader);
-
-                                {
-                                        char * nbody;
-
-                                        if (0 == request->nbody) {
-                                                nbody = httpHeaderGet(
-                                                                request->header,
-                                                                request->nheader,
-                                                                "Content-Length");
-
-                                                if (NULL == nbody) {
-                                                        this->state = HTTP_REQUEST_DONE;
-                                                        break;
-                                                }
-                                                else {
-                                                        request->nbody = atoi(nbody);
-                                                }
-                                        }
-
-                                        if (REMAINS(this, data) >= request->nbody) {
-                                                request->body = calloc(1, request->nbody + 1);
-                                                memcpy(request->body, data, request->nbody);
-                                                data += request->nbody;
-                                                this->state = HTTP_REQUEST_DONE;
-                                        }
-                                }
-                                        
-                                break;
-
-                        case HTTP_REQUEST_DONE:
-                                this->request_queue->requests[(this->request_queue->nrequests)++] =
-                                        request;
-
-                                memmove(this->buffer, data, REMAINS(this, data));
-
-                                this->buffer_used -= data - this->buffer;
-
-                                if (0 == this->buffer_used) {
-                                        cont = 0;
-                                }
-
-                                this->state = HTTP_REQUEST_GARBAGE;
-
-                                break;
-
-                        default:
-                                break;
-                }
-        }
-}
-
-

-Here is the call graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INIT_IFACE (Class ,
ctor ,
dtor ,
_clone  
)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
INIT_IFACE (StreamReader ,
get_data  
)
-
-
- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/parser_8c__incl.map b/docs/html/parser_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/parser_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/parser_8c__incl.md5 b/docs/html/parser_8c__incl.md5 deleted file mode 100644 index 7e523d1..0000000 --- a/docs/html/parser_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -56e3545a5b9794c9ffcf0b4fb6d2f733 \ No newline at end of file diff --git a/docs/html/parser_8c__incl.png b/docs/html/parser_8c__incl.png deleted file mode 100644 index cb09e7dcd0caa4158a4ff848bc31f3ee37f82933..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4179 zcmai1XHXN+vJOZQ>7j%wDm{pF6qMeJ5kf+5A|fEYMI@m~6{Up;(g`gDLoY%o7K-#P zMG%x45D=+?fs5Yv=gqvCw?EF=J!iIkyE8i*ZvxR{yu@<}001x==xaj(04mHmA9(S? z`T6eK71a5qW?~G}IXye$=JxsU@uQlWT3A@v*ZKL}ygUH`fwuPc)YMcdDJeZYJqHJe z($Z1{0s#Vnl9H0z+uO&+#?B3#ot^Cy6^Q2?MF13H22fv_asdFCKNx6hz@B7p+Qm04 z;+Xn#-bnd2ES{ZBcDp~I_28sKLncThNR=2}1ej}nc6#$%{r@KGJ%!5yX@;*2>v)A;E$Lty!mj>?o{$L^(6gdQ4(>TY&6%&h!05T zEo^KllHB&&Ej+lLWQqwW7a7MpZ|XP%6DGZ1b~;whyRM#Na%B1z;d8Uv%9O{630<*L zTyCiAQn6D1``}F-VrwCwP-Hx4vU+>tX{(#=;^<7)Gl?NHwZDE@Y~iUVIcGgI!7aP% zON_IzU=lg8rAS+Q%Wn&TsN7rkEEj3%)Ag)8NhC@w{_^_q672TR9~_x0FKQnQInOi%gdg8`p?~;SPz{$IEI6-KxetuA^CRz= z2_mKyMs%1j1h-bU{t|zh^wt@~U0zD+Tjtk(d>lMAH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5Gx`$T$$#FNv%rvpzX86U;3@&b0kcj-YA?d^YgGiO zgSJh9CT42(=4%~2jM$l8i=614^O - - - - - diff --git a/docs/html/parser_8c_a659e7ea125685d797a099638b3376320_cgraph.md5 b/docs/html/parser_8c_a659e7ea125685d797a099638b3376320_cgraph.md5 deleted file mode 100644 index 6c34dcf..0000000 --- a/docs/html/parser_8c_a659e7ea125685d797a099638b3376320_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -b26b7c22015997556a16c3a3d9590d98 \ No newline at end of file diff --git a/docs/html/parser_8c_a659e7ea125685d797a099638b3376320_cgraph.png b/docs/html/parser_8c_a659e7ea125685d797a099638b3376320_cgraph.png deleted file mode 100644 index f31910478aabed4c23f78961b7c18693a76f139e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2558 zcmZXWc{CJiAIFE>C>Mi4W3Fu|V^Xdq*|KD2jD3x34}-{3GKomJDtirgM3ym2mKek^ z*+pt7Dr1a&?(N!#Y|+hnNAExHdEawB=X-wVcfQ}}_dMr3=R8lUgPn!QaoOVl06@eN zjc@`0_!zvpP3Qs+B-T-OiU6J6BQH`iV1`%4#&d6;?bi= z8X6kDzP>UtGBGhRWo2a@9UV+2lNUWWIH={0?eHqTXeT>ofa&Z=5CCxOh9$zx@5f$smelPCM!XnX1)dc+Ry(c0H9)Xc-ge5B$fCXQ9 z8>6cN%VK2f6pDf^V=aZ10wmlut*k$Fme0GgGWFg+bp6y)%e;AIlQ$$yx$be-DcnVC zXEBY+bcIkj6UV429L_wUr0qoSo3bj14T=9@?2FH&Atg2g`_LOlQI5I(=H#cs#bGAN-SHI{A}SZk0LH}F6p(0V#P6B9KV;O}V; z_tC);*$g6{p(J(YxznAi4L=-e*=X_4sGd_d8?OdFH(RoRxK?^!ef7|lY7=n<>}Yst zl0H4fo3m!WY*bKv0kUr4paRrIXsr;12OjK-$A43H-#=DLaKO~<7AV5B{PvqB;vzs` ziMPr@m}b3&6sU9H%}YHdU^FmbCACNV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e}iphh-K`(@G7Enrr(K+appa}uW?Cetn7Vn^*B zA+u<1sY4(7-4s!~ADPAEu-cxH?(Wt*6G5Yp!H|Qi`mxvVF zq9=Eq^*kHJ3zs_tW{ znoFpst}mY8A(r~L7-(l9&x1<-!}EHEqrnw#Tk_t>SC+QPBMp+V3q?u&s!47vn|(Y( ze!%bIaQ(WRDUJ?QKeGp=FM5(0cayK@e+6YwP+ccE$H(#mXuQ>s&2SPZRd#2mssmzHtDV(&GPS>KDl-X z{&FWR`AG8*j8*vrc-5&>iXTt@@*jq!ZD<9s8&C4e7e2pyR~e_G_r}0V5Z(@5(>^Vq zN)di8&_$x0mQZdX0I`*K_g#eb_=}5YxuYWD2m=yYv8IBIR>S}Uk1A!Wlin*LvXOs) zlhJi4TE7D=r5(qVP>ws>yQ6QmJ0S^n6TT#Mq_Njw<14wk(O_0ByQPC8Hq>sM*eDkz z3ASG5ZUi&2J`n8t=r!aqkOfAiq2>djKV@i6+dJNozegNwyUcYCE;C`% diff --git a/docs/html/parser_8c_source.html b/docs/html/parser_8c_source.html deleted file mode 100644 index 3e0d40a..0000000 --- a/docs/html/parser_8c_source.html +++ /dev/null @@ -1,199 +0,0 @@ - - - - -server: src/http/request/parser.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/http/request/parser.c

-
-
-Go to the documentation of this file.
00001 #include <string.h>
-00002 #include <stdlib.h>
-00003 #include <sys/types.h>
-00004 
-00005 #include "class.h"
-00006 #include "http/request_parser.h"
-00007 #include "interface/class.h"
-00008 #include "interface/stream_reader.h"
-00009 #include "http/request.h"
-00010 #include "http/request_queue.h"
-00011 
-00012 void httpRequestParserParse(HttpRequestParser);
-00013 
-00014 static
-00015 void
-00016 ctor(void * _this, va_list * params)
-00017 {
-00018         HttpRequestParser this = _this;
-00019 
-00020         this->request_queue = new(HttpRequestQueue);
-00021 
-00022         this->buffer = malloc(HTTP_REQUEST_PARSER_READ_CHUNK);
-00023         this->buffer[0] = 0;
-00024 }
-00025 
-00026 static
-00027 void
-00028 dtor(void * _this)
-00029 {
-00030         HttpRequestParser this = _this;
-00031 
-00032         free(this->buffer);
-00033         delete(&(this->request_queue));
-00034 } 
-00035 
-00036 static
-00037 void
-00038 _clone(void * _this, void * _base)
-00039 {
-00040         HttpRequestParser this = _this;
-00041         HttpRequestParser base = _base;
-00042         size_t            chunks;
-00043 
-00047         this->request_queue = new(HttpRequestQueue);
-00048         this->buffer_used   = base->buffer_used;
-00049 
-00050         chunks = this->buffer_used / HTTP_REQUEST_PARSER_READ_CHUNK;
-00051         chunks++;
-00052 
-00053         this->buffer = malloc(chunks * HTTP_REQUEST_PARSER_READ_CHUNK);
-00054         memcpy(this->buffer, base->buffer, this->buffer_used);
-00055 }
-00056 
-00057 static
-00058 size_t
-00059 get_data(void * _this, int fd)
-00060 {
-00061         HttpRequestParser this = _this;
-00062         size_t            remaining, chunks;
-00063         char              buffer[1024];
-00064 
-00065         size_t size = read(fd, buffer, 1024);
-00066 
-00067         if (0 < size) {
-00068                 remaining = this->buffer_used % HTTP_REQUEST_PARSER_READ_CHUNK;
-00069                 chunks    = this->buffer_used / HTTP_REQUEST_PARSER_READ_CHUNK;
-00070 
-00079                 chunks++;
-00080 
-00081                 if (size >= remaining) {
-00082                         this->buffer =
-00083                                 realloc(this->buffer, chunks * HTTP_REQUEST_PARSER_READ_CHUNK);
-00084                 }
-00085 
-00086                 memcpy(this->buffer + this->buffer_used, buffer, size);
-00087                 this->buffer_used += size;
-00088                 this->buffer[this->buffer_used] = 0;
-00089 
-00090                 httpRequestParserParse(this);
-00091         }
-00092 
-00093         return size;
-00094 }
-00095 
-00096 INIT_IFACE(Class, ctor, dtor, _clone);
-00097 INIT_IFACE(StreamReader, get_data);
-00098 CREATE_CLASS(HttpRequestParser, NULL, IFACE(Class), IFACE(StreamReader));
-00099 
-00100 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/poll_8c.html b/docs/html/poll_8c.html deleted file mode 100644 index 8d3d7db..0000000 --- a/docs/html/poll_8c.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - -server: src/server/poll.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/server/poll.c File Reference

-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
- - -
-
-

Go to the source code of this file.

- - - -

-Defines

#define POLLFD(ptr)   ((struct pollfd *)(ptr))
-

Define Documentation

- -
-
- - - - - - - - -
#define POLLFD( ptr)   ((struct pollfd *)(ptr))
-
-
- -

Definition at line 1 of file poll.c.

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/poll_8c__dep__incl.map b/docs/html/poll_8c__dep__incl.map deleted file mode 100644 index 56bf18c..0000000 --- a/docs/html/poll_8c__dep__incl.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/poll_8c__dep__incl.md5 b/docs/html/poll_8c__dep__incl.md5 deleted file mode 100644 index 2bb0a7c..0000000 --- a/docs/html/poll_8c__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -1b9313d52607cd037c0aa921a3cd23ae \ No newline at end of file diff --git a/docs/html/poll_8c__dep__incl.png b/docs/html/poll_8c__dep__incl.png deleted file mode 100644 index 411e9c7bbf5d6826b252f151028227e90e106cd4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 827 zcmV-B1H}A^P)A#!cNZ5IkB^VPzrWMd z(*OVf|NsB>yEVH20004WQchCJ-v3=M z38;0tJ+a#>JJ)1(Vdf|NpCoiT9gWe@(0F%Xjo9hS`$OqU|FLxNg?@L5fc*D8dYlXC zcZsi{kA?92#Ow5V!YKmI)4YUf@*wpTkrqh_i!6?T4dz>k5_z7u{@|0m(UaFH9V0{p z92pKkkQlQ_7M>MZj1xc8QHsPGVJ7V2M}R5p^z3y;2MoX?4SZUN3m;!ZQfQn$v3 zaF8UCW`3|V@AT|-UU^UFkUa=nH$@~xA{i2z6KEDXSpYHqk@93pp3IBwCC6uo8s`RI$dBJa) z=c9Rn$Mf)}CjNuzO?7%TeDm@2O87?Ub?8k~6JM8}9-$gp=}K3+(v_}sr7K{ql zm9BK9EBzDb&%fSy#fyL# zLqC|V?}L?kib#v3bVe52j`t0>5+$aY?D!uYFG(b)0y;YD&|=GQYYF097Re;AB8#r) zXF5vG$h^@5J0-X{ozpFLmPZ=+wAL9uzKEpIIJC0J=MLRLl0<8EI#njovr|ds13f=) z&O4=>BCg*?vdCyoxRKff-RXAqz+=__MyI=rzgVHpo1x>vC(+75txfcycWo|5k~ndr z4+na3Dxv4To7}A+wMsa-qWtxhF$N7p-5o;K0NX*ZEsbazdr zhdixPn~zQVD0!#zBu*vtH-*xbu5_ippI-Hsl!nGT;|~$J^NLnsEE@m-002ovPDHLk FV1n3Sl;;2d diff --git a/docs/html/poll_8c_source.html b/docs/html/poll_8c_source.html deleted file mode 100644 index 0a84ad4..0000000 --- a/docs/html/poll_8c_source.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - -server: src/server/poll.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/server/poll.c

-
-
-Go to the documentation of this file.
00001 #define POLLFD(ptr)     ((struct pollfd *)(ptr))
-00002 
-00003 static
-00004 inline
-00005 int
-00006 sortEvents(const void * a, const void * b)
-00007 {
-00008         return POLLFD(a)->events > POLLFD(b)->events ?
-00009                 -1 : POLLFD(a)->events < POLLFD(b)->events ?
-00010                 1 : 0;
-00011 }
-00012 
-00013 static
-00014 inline
-00015 int
-00016 sortRevents(const void * a, const void * b)
-00017 {
-00018         return POLLFD(a)->revents > POLLFD(b)->revents ?
-00019                 -1 : POLLFD(a)->revents < POLLFD(b)->revents ?
-00020                 1 : 0;
-00021 }
-00022 
-00023 static
-00024 int
-00025 serverPoll(Server this) {
-00026         int events;
-00027 
-00028         qsort(this->fds, this->nfds, sizeof(struct pollfd), sortEvents);
-00029         this->nfds -= this->ndel;
-00030         this->ndel  = 0;
-00031 
-00032         /*
-00033          * wait for handles to become ready
-00034          */
-00035         if (-1 == (events = poll(this->fds, this->nfds, -1))) {
-00036                 switch (errno) {
-00037                         default:
-00038                         case EBADF:
-00039                         case EINVAL:
-00040                         case ENOMEM:
-00041                                 doShutdown = 1;
-00042                                 /* Fallthrough */
-00043 
-00044                         case EINTR:
-00045                                 loggerLog(this->logger, LOGGER_CRIT,
-00046                                                 "poll systemcall failed: [%s] - service terminated",
-00047                                                 strerror(errno));
-00048                                 //exit(EXIT_FAILURE); /* @TODO do real shutdown here */
-00049                 }
-00050         }
-00051 
-00052         qsort(this->fds, this->nfds, sizeof(struct pollfd), sortRevents);
-00053 
-00054         return events;
-00055 }
-00056 
-00057 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/queue_8c.html b/docs/html/queue_8c.html deleted file mode 100644 index b4d0dfe..0000000 --- a/docs/html/queue_8c.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - -server: src/http/request/queue.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/http/request/queue.c File Reference

-
-
-
#include <stdarg.h>
-#include "class.h"
-#include "interface/class.h"
-#include "http/request_queue.h"
-
-Include dependency graph for queue.c:
-
-
- - -
-
-

Go to the source code of this file.

- - - - -

-Functions

 INIT_IFACE (Class, ctor, dtor, NULL)
 CREATE_CLASS (HttpRequestQueue, NULL, IFACE(Class))
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
CREATE_CLASS (HttpRequestQueue ,
NULL ,
IFACE(Class)  
)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INIT_IFACE (Class ,
ctor ,
dtor ,
NULL  
)
-
-
- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/queue_8c__incl.map b/docs/html/queue_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/queue_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/queue_8c__incl.md5 b/docs/html/queue_8c__incl.md5 deleted file mode 100644 index d1f90ce..0000000 --- a/docs/html/queue_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -596f0e38facc39d2e21f01a90b5651af \ No newline at end of file diff --git a/docs/html/queue_8c__incl.png b/docs/html/queue_8c__incl.png deleted file mode 100644 index f5eb37621e71e2822751e75bf7f2138ed8f7afa9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2205 zcmV;O2x9k%P)A#!cNZ5IkB^VPzrWMd z(*OVf|NsB>yEVH20004WQchCiFT_v42EG?hX8@&_kY)G zc>zOg;|)lt{?pzPTb6`Ayd<4D%`y}Ug+ifFC=?2XLfsU?s$}0pMF9q;G`T_o>|Im3i5918;h)ism zUH}g;6KCk+mh^k-z3S^vIa-MNwfhB6YPIBx#;E8!wUTYn9pG7TBhMJ zs55vXvXwg=pb_kq89c2+cSDxo2sn*2d$8OFU+ko_2h8{2*C3Z(*g9YRdlGvvUDt_h zRrX-87e>-X81074qX>?G(?|tOPr2_&9&pKP=;jsh+!6SqIM^w=lY8s@Vy~%vH^Nbg zdLT9Vbzz-J!ez=1FUxWPMwW&>ZS^6}(yG(yhdA@JZn^|4hdQo>ugT^1Q z-Vf@2>9Ckc9TCK7{B_b32?d-X(u8P*%UfM_@w4$>mhi%K+mv zPAs=-`j$Kr5i(9C$3ps-I~ouoP9WDJhSWNq4^HD)x&P|tOy^c7$T(c?wF~^@B52g7 z8)O_LkFtdpI2jm3>@A;?g;zHn7o5gk@~hT20M3xHyF3dOQ`W>t5V3=NixgMW)I@L^ zAIQ5tvGq*P0~wnYP@3-poZ(V!P)J!4d>j?+LF*M6?-f*$6jeNn1Tt0?Sd4E5oFU^? zq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Mf_5hw`T9vMeFAtthd{}Jj_(Ngd<#=6@;In=~F__ zX?5SoGaGGcn4=)T;D8@ng;yR;{*XQ+0JF?{er#1vnh=Wzm%W899g&DN9aq3ClL8)| z8UhxX+}(J5`6i{Lp~%|0mR~8E#%}xaFjL15+FBT28{g02N0mC+-qgCj;SG9Y8~~Uu z7xaxnz|QTF zei8725O9zXuycE)Uj%$01RNv;?A#vd7Xcqg1)TbSmDmP4$8Um!(`9p4GFHVsA1D+G fg+ifFD5L%X3eu)3%&Ju100000NkvXXu0mjf)x{M! diff --git a/docs/html/queue_8c_source.html b/docs/html/queue_8c_source.html deleted file mode 100644 index 095f639..0000000 --- a/docs/html/queue_8c_source.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - -server: src/http/request/queue.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/http/request/queue.c

-
-
-Go to the documentation of this file.
00001 #include <stdarg.h>
-00002 
-00003 #include "class.h"
-00004 #include "interface/class.h"
-00005 
-00006 #include "http/request_queue.h"
-00007 
-00008 static
-00009 void
-00010 ctor(void * _this, va_list * params) {}
-00011 
-00012 static
-00013 void
-00014 dtor(void * _this)
-00015 {
-00016         HttpRequestQueue this = _this;
-00017         int              i;
-00018 
-00019         for (i=0; i<this->nrequests; i++) {
-00020                 delete(&(this->requests)[i]);
-00021         }
-00022 }
-00023 
-00024 INIT_IFACE(Class, ctor, dtor, NULL);
-00025 CREATE_CLASS(HttpRequestQueue, NULL, IFACE(Class));
-00026 
-00027 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/read_8c.html b/docs/html/read_8c.html deleted file mode 100644 index 88c3554..0000000 --- a/docs/html/read_8c.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - -server: src/server/read.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/server/read.c File Reference

-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
- - -
-
-

Go to the source code of this file.

- -
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/read_8c__dep__incl.map b/docs/html/read_8c__dep__incl.map deleted file mode 100644 index 4f8558b..0000000 --- a/docs/html/read_8c__dep__incl.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/read_8c__dep__incl.md5 b/docs/html/read_8c__dep__incl.md5 deleted file mode 100644 index 1370a97..0000000 --- a/docs/html/read_8c__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -e26ae7a3e4e14e74d919797c4e981f08 \ No newline at end of file diff --git a/docs/html/read_8c__dep__incl.png b/docs/html/read_8c__dep__incl.png deleted file mode 100644 index 1b786fd123fb790fcd60737be44858c2de86a562..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 884 zcmeAS@N?(olHy`uVBq!ia0vp^tw3DL!3-qBr(F^UQuYBpA+G=a|Cf|3ICS{1y}f;X zef_=r_vg)@FE1~@Z~y*DlP2lw>$|(V$H&JnU%tG&yj)ydyuZJH|Ni}#FJA^4@c;k+ zue(im16hnEL4Lsu4$p3+F)%Pa_H=O!$!L5#vpa8z0gr2Fcl#?i zj4TD#x%xFEo9|ns@ag}PfOc_zUP0pzs?HM@PqXxUc`qq&K~CrK;Lj_?=6pO7^F+^T z-ZB&MKB;$?4xFE}KSD31>&?TAgF=Nlm3m3%BAf+37EkEAP_o+~SMBL>$@BB)dV6ov zFnDA0OJULMpVABa0<0~Pd5`jYYff>}obpJrYx0C$|2M1j>iW>>e;Z04J@Q&8 zQr~{)$Eh<{8_x&a*l1K-`oLHuHuu@91MfADF|uVR$Q)ZH&z8UAT+SmktJ=e}WBuRv zR&z6_9xeI8uamn`!rR{56*4)Cn$K^1?7OP@J--$GtMS~0KNK}vgEU%${?v6v|KSf@x@)!_gV-|$Wro1>iomqb;OXk;vd$@?2>|8` BjdcJ3 diff --git a/docs/html/read_8c_source.html b/docs/html/read_8c_source.html deleted file mode 100644 index d63bd8e..0000000 --- a/docs/html/read_8c_source.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - -server: src/server/read.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/server/read.c

-
-
-Go to the documentation of this file.
00001 static
-00002 int
-00003 serverRead(Server this, unsigned int i)
-00004 {
-00005         int fd = (this->fds)[i].fd;
-00006         int size;
-00007 
-00008         if (NULL == (this->conns)[fd].reader) {
-00009                 loggerLog(
-00010                                 this->logger,
-00011                                 LOGGER_INFO,
-00012                                 "initialization error: NULL reader");
-00013                 serverCloseConn(this, i);
-00014         }
-00015 
-00016         switch ((size = streamReaderRead((this->conns)[fd].reader, fd))) {
-00017                 case 0:
-00018                         /*
-00019                          * normal close: write remaining data
-00020                          * @TODO: actually we have no remaining data here....
-00021                          */
-00022                         /* DROP-THROUGH */
-00023 
-00024                 case -1: 
-00025                         /*
-00026                          * read failure / close connection
-00027                          */
-00028                         loggerLog(this->logger, LOGGER_INFO, "connection closed...");
-00029                         serverCloseConn(this, i);
-00030                         break;
-00031 
-00032                 default:
-00033                         break;
-00034         }
-00035 
-00036         return size;
-00037 }
-00038 
-00039 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/request_8c.html b/docs/html/request_8c.html deleted file mode 100644 index 55c54e3..0000000 --- a/docs/html/request_8c.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - -server: src/http/request.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/http/request.c File Reference

-
-
-
#include <stdlib.h>
-#include <stdarg.h>
-#include "class.h"
-#include "interface/class.h"
-#include "http/request.h"
-
-Include dependency graph for request.c:
-
-
-
-
-

Go to the source code of this file.

- - - - -

-Functions

 INIT_IFACE (Class, ctor, dtor, NULL)
 CREATE_CLASS (HttpRequest, NULL, IFACE(Class))
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
CREATE_CLASS (HttpRequest ,
NULL ,
IFACE(Class)  
)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INIT_IFACE (Class ,
ctor ,
dtor ,
NULL  
)
-
-
- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/request_8c__incl.map b/docs/html/request_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/request_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/request_8c__incl.md5 b/docs/html/request_8c__incl.md5 deleted file mode 100644 index e6a727e..0000000 --- a/docs/html/request_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -f6f59d2fba8fd35459da15f30c900197 \ No newline at end of file diff --git a/docs/html/request_8c__incl.png b/docs/html/request_8c__incl.png deleted file mode 100644 index af72897e463a9ea03b701a6aeedd224ddcdf043b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2339 zcmV+;3EcLHP)A#!cNZ5IkB^VPzrWMd z(*OVf|NsB>yEVH20004WQchCiM@kK^jR$8}ld<@g;MH?RzZB%Om?Hxb7{I5wI`D91FC`GjN zGYz6u7|v^hGzAUUl|jQuhLQbC|Do^bX?#uWolHLbYBAF=vV~w`UE)ak{dutCrMrdxKhx{k>~iBG!4^(urFF}eoyh3 z_XAJ)7zHNbqiwQJ9TCp^EKAiv!KQDZS z32A`_NDDMTTA%^a0u7KBXn?f*e+zZHEgN=zceQPK;cu;eO1ImpWw*iExakM|iZ*H& z(&8AZIsn8kYO8EvP2P3@@q5~?SZJHSqrw&Ar{pMB)D~f<IgSMGZO=ZGD{fRG^Kl5&^DvpY!kvG`N_9r~o9Ya{O)c_FjH3dv{$PGhG#E4_n5D@VNg-mkTgQK{pF-PlB zAflkcW;gI|Au@E_;d&f^D5Jo64Si%(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(-#G`-a`{W=OX2?5moH&3|v+Q{0755)DgRw%2Wk zPVIYXQ|B-byQd&x6E9swH1$Jy9-x6|K8QWMv0G=cL~zwxZ>1v>@um|@15c%%Z}aL( zU1dcA>YnXRV-ek|=YKc+$xo(xmRIY%ZN`)7P5GW@c%OCb#W|S>EzG!5st|2PfB!h?p4wuu4_=emQ2?Kq$zqiv!p!)GW - - - -server: src/http/request.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/http/request.c

-
-
-Go to the documentation of this file.
00001 #include <stdlib.h>
-00002 #include <stdarg.h>
-00003 
-00004 #include "class.h"
-00005 #include "interface/class.h"
-00006 
-00007 #include "http/request.h"
-00008 
-00009 static
-00010 void
-00011 _free(void ** data)
-00012 {
-00013         if (NULL != *data) {
-00014                 free(*data);
-00015         }
-00016 }
-00017 
-00018 static
-00019 void
-00020 ctor(void * _this, va_list * params) {}
-00021 
-00022 static
-00023 void
-00024 dtor(void * _this)
-00025 {
-00026         HttpRequest this = _this;
-00027         int         i;
-00028 
-00029         _free((void **)&(this->version));
-00030         _free((void **)&(this->uri));
-00031         _free((void **)&(this->method));
-00032 
-00033         for (i=0; i<128; i++) {
-00034                 if (NULL == (this->header)[i]) break;
-00035                 delete(&(this->header)[i]);
-00036         }
-00037 
-00038         _free((void **)&(this->body));
-00039 } 
-00040 
-00041 INIT_IFACE(Class, ctor, dtor, NULL);
-00042 CREATE_CLASS(HttpRequest, NULL, IFACE(Class));
-00043 
-00044 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/request_8h.html b/docs/html/request_8h.html deleted file mode 100644 index 9516909..0000000 --- a/docs/html/request_8h.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - -server: include/http/request.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

include/http/request.h File Reference

-
-
-
#include "class.h"
-#include "http/header.h"
-
-Include dependency graph for request.h:
-
-
- - -
-
-

Go to the source code of this file.

- - - - - -

-Classes

struct  HttpRequest

-Functions

char * httpRequestHeaderGet (HttpRequest this, const char *name)
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
char* httpRequestHeaderGet (HttpRequest this,
const char * name 
)
-
-
- -

Definition at line 31 of file header_get.c.

-
{
-        unsigned long              hash = sdbm((unsigned char *)name);
-        struct HttpRequestHeader * header;
-
-        header = bsearch(
-                        &hash,
-                        this->header,
-                        this->nheader,
-                        sizeof(struct HttpRequestHeader),
-                        comp);
-
-        return (NULL != header)? header->value : NULL;
-}
-
-
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/request_8h__incl.map b/docs/html/request_8h__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/request_8h__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/request_8h__incl.md5 b/docs/html/request_8h__incl.md5 deleted file mode 100644 index bb0d6ba..0000000 --- a/docs/html/request_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -44c04c30805a38e40ef2bc5ab893f713 \ No newline at end of file diff --git a/docs/html/request_8h__incl.png b/docs/html/request_8h__incl.png deleted file mode 100644 index e43ed9e1f15a635ae70ebaff060f480acc120c70..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1252 zcmV)3M;8|tcXxMRUtg!Er@z0y)6>%c00960 z|F^b}(*OVf0d!JMQvg8b*k%9#1X)Q$K~#90?VEves~`|XRYXMvhyVZC?k-?VA}K1V zXxT}sS>WD1fHd=_uPAcl$dMz*--b>yHd9OqMy5z7GDSM^?=(>Q`rH(}SgQwJTe>=EyU?K#?UvyK_BN3dC}g^`L!A!vPJq9!#iC@=v| z(*Rzgn|ip|u5%}a6F*@S-J70n+^j=crKNh>QQ~!19i&jCXCxOClz^RKzN*pQw_TUp z4u5p^-hQjI<7OQ*Ui7$JPtU~{C}3Mp!tE&WvKC6=hI*qgYk^Hvo$0w;3!z0#`uC^?KbTEz;k_g7ZGVVc<2FBqc zQlN-X!>Jf$v?g%o9@D zZ5>lAiq?t7=Tf99x5YMX!E-#%p}2(RFOCVT9{$U|Z|QFG_Eix)3mfw>BUAX4!tyaA zQ}~p^@-gG~6#Ubl6Kn2Q^5)+M86)XyS*>EF?+FyVG4DB8bwvvOqFsAeX|;-AineJa z$MIFIn-(sOZrFSwDc0zAGX)I-5qfi7feme_Sq_Zb*%dzNnrWBC{?)4WIz`)XUbjf0 zC1=2{8AmmHp@QmyJx@vq1r2g*!FA0mD37sOu9ax)T-%002ko-Zzgo9mr@#s4jGSO% z(6_}=_F@XEUY9n6f(AV(U_5II$!EC+{c7tRkZMaelFOm)D8-IE^tFRIVp{?ab- - - - -server: include/http/request.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

include/http/request.h

-
-
-Go to the documentation of this file.
00001 #ifndef __HTTP_REQUEST_H__
-00002 #define __HTTP_REQUEST_H__
-00003 
-00004 #include "class.h"
-00005 #include "http/header.h"
-00006 
-00007 CLASS(HttpRequest) {
-00008         char *     method;
-00009         char *     uri;
-00010         char *     version;
-00011         
-00012         HttpHeader header[128];
-00013         int        nheader;
-00014 
-00015         char *     body;
-00016         int        nbody;
-00017 };
-00018 
-00019 char *
-00020 httpRequestHeaderGet(HttpRequest this, const char * name);
-00021 
-00022 #endif /* __HTTP_REQUEST_H__ */
-00023 
-00024 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/request__parser_8c.html b/docs/html/request__parser_8c.html deleted file mode 100644 index a6f5f83..0000000 --- a/docs/html/request__parser_8c.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - -server: src/http/request_parser.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/http/request_parser.c File Reference

-
-
-
#include <stdlib.h>
-#include <string.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <ctype.h>
-#include <sys/types.h>
-#include "class.h"
-#include "http/request_parser.h"
-#include "interface/class.h"
-#include "interface/stream_reader.h"
-#include "http/request.h"
-#include "http/request_queue.h"
-
-Include dependency graph for request_parser.c:
-
-
-
-
-

Go to the source code of this file.

- - - - - -

-Functions

 INIT_IFACE (Class, ctor, dtor, _clone)
 INIT_IFACE (StreamReader, get_data)
 CREATE_CLASS (HttpRequestParser, NULL, IFACE(Class), IFACE(StreamReader))
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CREATE_CLASS (HttpRequestParser ,
NULL ,
IFACE(Class) ,
IFACE(StreamReader)  
)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INIT_IFACE (Class ,
ctor ,
dtor ,
_clone  
)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
INIT_IFACE (StreamReader ,
get_data  
)
-
-
- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/request__parser_8c__incl.map b/docs/html/request__parser_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/request__parser_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/request__parser_8c__incl.md5 b/docs/html/request__parser_8c__incl.md5 deleted file mode 100644 index de6ca67..0000000 --- a/docs/html/request__parser_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -57f7b5ddf1ef5b9ca385f2afdf5318a6 \ No newline at end of file diff --git a/docs/html/request__parser_8c__incl.png b/docs/html/request__parser_8c__incl.png deleted file mode 100644 index c070a326d51f5715fa82acaa77cf72cef3b00de6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4935 zcmaJ_WmuG5w;n`BVrV3WPNf?`6dbyT78p8*?oJ)0kwz&Q0qK;XrCVy~Mvxj1kOo2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`gku4^Cw$)kX~zn&ez|U<}f&;}oV* zmuh-BwnI!A=hl9lJ&t+9l107)B5=|Qk-B6V(mV|~xr)@VmF#OjZsBi2afpT5n9jJ8 z;I{2JIPX+F(5gnRD*Zwj`#S@o1|pKhq#8?J-q( zKyJ5VUhq%a8r54vAN0fse78Q5Ss2b~VLY=V%fg@BG}u)AI14OcwrWZE)L_`@ujX62 zka~^s+`$icJ^xWiGPT$AdQE+1M7eS;1Lj-T>hv>2Yd#p|GctwIQO<^#m9eZ9JsMb} zL8XfIBl-WVj@hFMgfSum$HEwm3gAtmPFlT{owkW_DphJi))C>Al+q9njKy0cTdc%N zdfp=aW5n%{FlPOdXBwC4`I%g_bm^EDn($MQjgR| z+qZ|xtEMyE4jpBwJvB7FY4A{@zz4xF=g(cshROS6uO#I+~=*bG28_B#W44Q&UpwjaOWc`|qJ% z)!TH{_Q1O9aUDOF&{pl59`&E(^yp6?q((`2YuQT3l4Hvi+rm%mg{#OAQpbhb{Om>9 zMg2%vYhs=#yd(W%e-1H_5HSL{%TlS-B3B@{=aRod8X<#rgNTq(>6CL@ZacL*V0zFz z>%8!JU{q|V+$S#RqFHPSoTyJfugxvF)&BpTzs2RYTxKAQc)8!M}G=~Oe9rQ zwez<#!k;Ot3u$x%@?>rm^iMR(;S8eLOhdAqd*{X1lk4iz$G6@So zg!3Pg^Agf?RRt2pGKq8gbnfRy+~7-xIuhIhMLq4(JDRcs-H|L$r~lsY|4;cIdy8#7 WSloY8w7CCwQCVI?u0qEA_5T2&CRzCa diff --git a/docs/html/request__parser_8c_source.html b/docs/html/request__parser_8c_source.html deleted file mode 100644 index d8ec6a7..0000000 --- a/docs/html/request__parser_8c_source.html +++ /dev/null @@ -1,348 +0,0 @@ - - - - -server: src/http/request_parser.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/http/request_parser.c

-
-
-Go to the documentation of this file.
00001 #include <stdlib.h>
-00002 #include <string.h>
-00003 #include <stdlib.h>
-00004 #include <stdio.h>
-00005 #include <unistd.h>
-00006 #include <ctype.h>
-00007 #include <sys/types.h>
-00008 
-00009 #include "class.h"
-00010 #include "http/request_parser.h"
-00011 #include "interface/class.h"
-00012 #include "interface/stream_reader.h"
-00013 #include "http/request.h"
-00014 #include "http/request_queue.h"
-00015 
-00016 static
-00017 void
-00018 httpRequestParserParse(HttpRequestParser);
-00019 
-00020 static
-00021 void
-00022 ctor(void * _this, va_list * params)
-00023 {
-00024         HttpRequestParser this = _this;
-00025 
-00026         this->request_queue = new(HttpRequestQueue);
-00027 
-00028         this->buffer = malloc(HTTP_REQUEST_PARSER_READ_CHUNK);
-00029         this->buffer[0] = 0;
-00030 }
-00031 
-00032 static
-00033 void
-00034 dtor(void * _this)
-00035 {
-00036         HttpRequestParser this = _this;
-00037 
-00038         free(this->buffer);
-00039         delete(&(this->request_queue));
-00040 } 
-00041 
-00042 static
-00043 void
-00044 _clone(void * _this, void * _base)
-00045 {
-00046         HttpRequestParser this = _this;
-00047         HttpRequestParser base = _base;
-00048         size_t            chunks;
-00049 
-00053         this->request_queue = new(HttpRequestQueue);
-00054         this->buffer_used   = base->buffer_used;
-00055 
-00056         chunks = this->buffer_used / HTTP_REQUEST_PARSER_READ_CHUNK;
-00057         chunks++;
-00058 
-00059         this->buffer = malloc(chunks * HTTP_REQUEST_PARSER_READ_CHUNK);
-00060         memcpy(this->buffer, base->buffer, this->buffer_used);
-00061 }
-00062 
-00063 static
-00064 size_t
-00065 get_data(void * _this, int fd)
-00066 {
-00067         HttpRequestParser this = _this;
-00068         size_t            remaining, chunks;
-00069         char              buffer[1024];
-00070 
-00071         size_t size = read(fd, buffer, 1024);
-00072 
-00073         if (0 < size) {
-00074                 remaining = this->buffer_used % HTTP_REQUEST_PARSER_READ_CHUNK;
-00075                 chunks    = this->buffer_used / HTTP_REQUEST_PARSER_READ_CHUNK;
-00076 
-00085                 chunks++;
-00086 
-00087                 if (size >= remaining) {
-00088                         this->buffer =
-00089                                 realloc(this->buffer, chunks * HTTP_REQUEST_PARSER_READ_CHUNK);
-00090                 }
-00091 
-00092                 memcpy(this->buffer + this->buffer_used, buffer, size);
-00093                 this->buffer_used += size;
-00094                 this->buffer[this->buffer_used] = 0;
-00095 
-00096                 httpRequestParserParse(this);
-00097         }
-00098 
-00099         return size;
-00100 }
-00101 
-00102 INIT_IFACE(Class, ctor, dtor, _clone);
-00103 INIT_IFACE(StreamReader, get_data);
-00104 CREATE_CLASS(HttpRequestParser, NULL, IFACE(Class), IFACE(StreamReader));
-00105 
-00106 static
-00107 inline
-00108 char *
-00109 httpRequestLineGet(char ** data)
-00110 {
-00111         char * line_end = strstr(*data, "\r\n");
-00112         char * ret      = *data;
-00113 
-00114         if (NULL == line_end) {
-00115                 return NULL;
-00116         }
-00117 
-00118         *line_end = 0;
-00119         *data = line_end + 2;
-00120 
-00121         return ret;
-00122 }
-00123 
-00124 static
-00125 inline
-00126 void
-00127 httpRequestSkip(char ** data)
-00128 {
-00129         for (; 0 != **data && ! isalpha(**data); (*data)++);
-00130 }
-00131 
-00132 static
-00133 void
-00134 httpRequestParserParse(HttpRequestParser this)
-00135 {
-00136         static HttpRequest request  = NULL;
-00137         static char *      data; // static pointer to unprocessed data
-00138         char *             line;
-00139         int                cont = 1;
-00140         static int         header_idx;
-00141 
-00142         while(cont) {
-00143                 switch(this->state) {
-00144                         case HTTP_REQUEST_GARBAGE:
-00145                                 data = this->buffer; // initialize static pointer
-00146                                 httpRequestSkip(&data);
-00147                                 request = new(HttpRequest);
-00148 
-00149                                 this->state = HTTP_REQUEST_START;
-00150                                 break;
-00151 
-00152                         case HTTP_REQUEST_START:
-00153                                 if (NULL == (line = httpRequestLineGet(&data))) {
-00154                                         cont = 0;
-00155                                         break;
-00156                                 }
-00157                                 
-00158                                 {
-00159                                         char * delim = strchr(line, ' ');
-00160 
-00161                                         if (NULL != delim) {
-00162                                                 *delim = 0;
-00163                                                 request->method = malloc(strlen(line) + 1);
-00164                                                 strcpy(request->method, line);
-00165                                                 line = delim + 1;
-00166 
-00167                                                 for (; *line == ' ' && *line != 0; line++);
-00168 
-00169                                                 if (0 != *line) {
-00170                                                         delim = strchr(line, ' ');
-00171 
-00172                                                         if (NULL != delim) {
-00173                                                                 *delim = 0;
-00174                                                                 request->uri = malloc(strlen(line) + 1);
-00175                                                                 strcpy(request->uri, line);
-00176                                                                 line = delim + 1;
-00177 
-00178                                                                 for (; *line == ' ' && *line != 0; line++);
-00179 
-00180                                                                 if (0 != *line) {
-00181                                                                         request->http_version = malloc(strlen(line) + 1);
-00182                                                                         strcpy(request->http_version, line);
-00183                                                                 }
-00184                                                         }
-00185                                                 }
-00186                                         }
-00187                                 }
-00188 
-00189                                 header_idx = 0;
-00190                                 this->state = HTTP_REQUEST_REQUEST_LINE_DONE;
-00191                                 break;
-00192 
-00193                         case HTTP_REQUEST_REQUEST_LINE_DONE:
-00194                                 if (NULL == (line = httpRequestLineGet(&data))) {
-00195                                         cont = 0;
-00196                                         break;
-00197                                 }
-00198 
-00199                                 if (0 == strlen(line)) {
-00200                                         this->state = HTTP_REQUEST_HEADERS_DONE;
-00201                                         break;
-00202                                 }
-00203 
-00204                                 {
-00205                                         char * delim = strchr(line, ':');
-00206 
-00207                                         *delim = 0;
-00208                                         (request->header)[header_idx].name = malloc(strlen(line) + 1);
-00209                                         strcpy((request->header)[header_idx].name, line);
-00210 
-00211                                         line = delim + 1;
-00212                                         for (; *line == ' ' && *line != 0; line++);
-00213 
-00214                                         (request->header)[header_idx].value = malloc(strlen(line) + 1);
-00215                                         strcpy((request->header)[header_idx].value, line);
-00216                                 }
-00217 
-00218                                 header_idx++;
-00219                                 break;
-00220 
-00221                         case HTTP_REQUEST_HEADERS_DONE:
-00225                                 this->state = HTTP_REQUEST_DONE;
-00226                                 break;
-00227 
-00228                         case HTTP_REQUEST_DONE:
-00232                                 this->request_queue->requests[(this->request_queue->nrequests)++] =
-00233                                         request;
-00234 
-00238                                 memmove(this->buffer,
-00239                                                 data,
-00240                                                 this->buffer_used - (data - this->buffer) + 1);
-00241 
-00242                                 this->buffer_used -= data - this->buffer;
-00243 
-00247                                 if (0 == this->buffer_used) {
-00248                                         cont = 0;
-00249                                 }
-00250 
-00254                                 this->state = HTTP_REQUEST_GARBAGE;
-00255 
-00256                                 break;
-00257 
-00258                         default:
-00259                                 break;
-00260                 }
-00261         }
-00262 }
-00263 
-00264 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/request__parser_8h.html b/docs/html/request__parser_8h.html deleted file mode 100644 index 3acbe59..0000000 --- a/docs/html/request__parser_8h.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - -server: include/http/request_parser.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

include/http/request_parser.h File Reference

-
-
-
#include "class.h"
-#include "http/request_queue.h"
-
-Include dependency graph for request_parser.h:
-
-
-
-
-

Go to the source code of this file.

- - - - - - - - - -

-Classes

struct  HttpRequestParser

-Defines

#define HTTP_REQUEST_PARSER_READ_CHUNK   1024

-Typedefs

typedef enum e_HttpRequestState HttpRequestState

-Enumerations

enum  e_HttpRequestState {
-  HTTP_REQUEST_GARBAGE = 0, -HTTP_REQUEST_START, -HTTP_REQUEST_REQUEST_LINE_DONE, -HTTP_REQUEST_HEADERS_DONE, -
-  HTTP_REQUEST_DONE -
- }
-

Define Documentation

- -
-
- - - - -
#define HTTP_REQUEST_PARSER_READ_CHUNK   1024
-
-
- -

Definition at line 7 of file request_parser.h.

- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef enum e_HttpRequestState HttpRequestState
-
-
- -
-
-

Enumeration Type Documentation

- -
-
- - - - -
enum e_HttpRequestState
-
-
-
Enumerator:
- - - - - -
HTTP_REQUEST_GARBAGE  -
HTTP_REQUEST_START  -
HTTP_REQUEST_REQUEST_LINE_DONE  -
HTTP_REQUEST_HEADERS_DONE  -
HTTP_REQUEST_DONE  -
-
-
- -

Definition at line 9 of file request_parser.h.

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/request__parser_8h__incl.map b/docs/html/request__parser_8h__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/request__parser_8h__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/request__parser_8h__incl.md5 b/docs/html/request__parser_8h__incl.md5 deleted file mode 100644 index 9cc4cb5..0000000 --- a/docs/html/request__parser_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -b6da2c3d8c47bf057848084f432a522c \ No newline at end of file diff --git a/docs/html/request__parser_8h__incl.png b/docs/html/request__parser_8h__incl.png deleted file mode 100644 index c8d9ae1c818a6ad24d1cd51de24665e02a563c5d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1460 zcmV;l1xxygP)U_kY;!1B@DV zR3H&US28O0@qb)qW-I%6M2i+JTC`}Po4SFW;_idD$Q`*OcjS)TQ*JrygNQ&da zIO?Kp8>x{;dQ0J zfitj|DM?L3S=Zc+?4UY&VIzcAq}fHG(=9l}jRS=Zb(%_Qt**^Rid0qXUw#3AV$IB3_wN#fx4c#F>2)5HyV zs8uQ<`{_Pu!tp+GOKc-AT~caTUDh?Xq^z8H#7zw_U-|a{TEp6PycqCDrO)-R3_5Pe z!|`>4qc`E!KkBM#kQ*D>ONSU|UDgjbuB6(`^LjSkQsOj!g@d-X!q ze22Ys2sU-TxpDiZ{TxKJwb{?{q`_^s8h3o9@Fnp{(C|}?Rg>rIIiT}!E9}WQr7HC* z&EdFtcTLL~v=@h%)#icQ#lY0l%9l>`o-4J{q z((Sk951pGM0Ex=De{3`byz)vBB&wY|0bnw&q!v?od zA2PU=_He;1l?MxMD?Cted)Z-v|0uT$(E)Azr#~n zA2tza+i!=OziN?teqo!;U0NR&x#t(Q$=s#&VUc@&0ak2%|4tR#$(EZJqNtMCsAO;N zRlmbsl>8nnOE)S_HI;w+yxC>A)hv0wQRslCHQUeqEK5;fjWk!~6Aq;+v*AFwvQj-a zk}WrL6l9@yp;D+r(;QDzEQ>k8DNohVJGzyMW7uGee)F(Jtt;HmvMBN=Mk`Td&|NBn z!^0dXSN_Om{kVslqKvdcv`PO5Cxx>SS_dOk8I%4tz3M}z2-N$T-Lh6{aS`;o(s52 z1&)U~7?%^=#gvJ^%q8N{3s)klB{%?7_M}G6LBiyvUMS-0Ms}A1N^_@B6ru8k%{1vz)1yoOY-DVG= zhSvA>z3ex;T-Lh2pDW(aVN=XRi909G0evue&T>C;$ed%ZX1Jf@B4i#x+dEdzp?{xH zOubsUcs>DN@|#{RYyIx$)UAi{-Us!m2YTdwyRc2RC+*h9@(rHJ|K1TI_xCJv&o69~ zxl8NABKQ2lHkrG$J}h$2FKm;!OY6g?+%Es|#bH_>_KD7o7A;z|PuqVf{EA(RC`dN| O0000 - - - -server: include/http/request_parser.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

include/http/request_parser.h

-
-
-Go to the documentation of this file.
00001 #ifndef __HTTP_REQUEST_PARSER_H__
-00002 #define __HTTP_REQUEST_PARSER_H__
-00003 
-00004 #include "class.h"
-00005 #include "http/request_queue.h"
-00006 
-00007 #define HTTP_REQUEST_PARSER_READ_CHUNK  1024
-00008 
-00009 typedef enum e_HttpRequestState {
-00010         HTTP_REQUEST_GARBAGE=0,
-00011         HTTP_REQUEST_START,
-00012         HTTP_REQUEST_REQUEST_LINE_DONE,
-00013         HTTP_REQUEST_HEADERS_DONE,
-00014         HTTP_REQUEST_DONE
-00015 } HttpRequestState;
-00016 
-00017 
-00018 CLASS(HttpRequestParser) {
-00019         char *           buffer;
-00020         size_t           buffer_used;
-00021         size_t           buffer_size;
-00022 
-00023         HttpRequestQueue request_queue;
-00024         HttpRequestState state;
-00025 };
-00026 
-00027 #endif /* __HTTP_REQUEST_PARSER_H__ */
-00028 
-00029 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/request__queue_8c.html b/docs/html/request__queue_8c.html deleted file mode 100644 index eb7cf37..0000000 --- a/docs/html/request__queue_8c.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - -server: src/http/request_queue.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/http/request_queue.c File Reference

-
-
-
#include <stdarg.h>
-#include "class.h"
-#include "interface/class.h"
-#include "http/request_queue.h"
-
-Include dependency graph for request_queue.c:
-
-
-
-
-

Go to the source code of this file.

- - - - -

-Functions

 INIT_IFACE (Class, ctor, dtor, NULL)
 CREATE_CLASS (HttpRequestQueue, NULL, IFACE(Class))
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
CREATE_CLASS (HttpRequestQueue ,
NULL ,
IFACE(Class)  
)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INIT_IFACE (Class ,
ctor ,
dtor ,
NULL  
)
-
-
- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/request__queue_8c__incl.map b/docs/html/request__queue_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/request__queue_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/request__queue_8c__incl.md5 b/docs/html/request__queue_8c__incl.md5 deleted file mode 100644 index 90232ea..0000000 --- a/docs/html/request__queue_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -371c413182f355c6538d307a01968af6 \ No newline at end of file diff --git a/docs/html/request__queue_8c__incl.png b/docs/html/request__queue_8c__incl.png deleted file mode 100644 index a2886fef72d8f699f48acbf8ad24bc819923fabc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2190 zcmZ`*Yd8}Q7vE;FzgwZUHY5^JOp{w=Zu`$%mSR~gHo3i0?nwoM3xSB2_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s?0mTLvWR`g)OV>{DT&y<3gB$oXs=u`YEAm#Ymq0S8s6sF}JYZ)puyovYs~wbLzP*Joa%)^NT4*hg1^^w}6!_aTZG(SJhrha`v$F$MQR zo_`I)VeGAb7IB)?v>0fvwIkSk5B;`|FfZZ2A9tn=VhFm&3{0{!r zSWPL-r0^2+0yr5B%~*Mq&PmLmx{4X7i+_l>nh*~?i}ZDSzh1F(FxioLVNezEOsZvQ z5ix#VATMpj>^ibDIHlz`*xKT-Vc{a8cDt^c5h+>5VnbH^#3htnJcRkPW}7Xe{;pQ* zg4QGTyJ7~{4NJG0qG$eHoB@sExb37EF`MhUBxRf|?*}svttEw$ZWieXr{4HqtdPTk z&ndiu8QmzqQc$%mm7wWqwnVlrfB$~hY3GskgL>R1Uh&a=8$V0xQbl#ER7G_4d)7C% z`7NgE21N~c2M=4ft=lk~AuJsP$3rQ13|q&DH|S9f3E+!BY+8f8wZh|O+eeZCL4$-x z|NpdHrN3aSENW3wJ(w+Gk8|@gyW8NPH?V#}C-G)9?Y~z%eN!fdU)TM7e~!Q8D*)gy Lc!zpB%9Z~Bq00=> diff --git a/docs/html/request__queue_8c_source.html b/docs/html/request__queue_8c_source.html deleted file mode 100644 index f01f474..0000000 --- a/docs/html/request__queue_8c_source.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - -server: src/http/request_queue.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/http/request_queue.c

-
-
-Go to the documentation of this file.
00001 #include <stdarg.h>
-00002 
-00003 #include "class.h"
-00004 #include "interface/class.h"
-00005 
-00006 #include "http/request_queue.h"
-00007 
-00008 static
-00009 void
-00010 ctor(void * _this, va_list * params) {}
-00011 
-00012 static
-00013 void
-00014 dtor(void * _this)
-00015 {
-00016         HttpRequestQueue this = _this;
-00017         int              i;
-00018 
-00019         for (i=0; i<this->nrequests; i++) {
-00020                 delete(&(this->requests)[i]);
-00021         }
-00022 }
-00023 
-00024 INIT_IFACE(Class, ctor, dtor, NULL);
-00025 CREATE_CLASS(HttpRequestQueue, NULL, IFACE(Class));
-00026 
-00027 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/request__queue_8h.html b/docs/html/request__queue_8h.html deleted file mode 100644 index e7e50ce..0000000 --- a/docs/html/request__queue_8h.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - -server: include/http/request_queue.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

include/http/request_queue.h File Reference

-
-
-
#include "class.h"
-#include "http/request.h"
-
-Include dependency graph for request_queue.h:
-
-
-
-
-

Go to the source code of this file.

- - - - - -

-Classes

struct  HttpRequestQueue

-Defines

#define HTTP_REQUEST_QUEUE_MAX   1024
-

Define Documentation

- -
-
- - - - -
#define HTTP_REQUEST_QUEUE_MAX   1024
-
-
- -

Definition at line 7 of file request_queue.h.

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/request__queue_8h__incl.map b/docs/html/request__queue_8h__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/request__queue_8h__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/request__queue_8h__incl.md5 b/docs/html/request__queue_8h__incl.md5 deleted file mode 100644 index fb4507e..0000000 --- a/docs/html/request__queue_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -65e9846ea5db3c8dd618c06c59d82b78 \ No newline at end of file diff --git a/docs/html/request__queue_8h__incl.png b/docs/html/request__queue_8h__incl.png deleted file mode 100644 index 7e950a28ea294ccb182bc9ebdff097066c580806..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1317 zcmV+=1={+FP)UV@<0000yP)t-s{{R2N z!^0UFaK694o}ZsTKR@2z-ya_ze}8{3FE5Xek4HyG7Z(?IcXwZ3U#F+1zrVlJ)6)O| z0RR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icserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

include/http/request_queue.h

-
-
-Go to the documentation of this file.
00001 #ifndef __HTTP_REQUEST_QUEUE_H__
-00002 #define __HTTP_REQUEST_QUEUE_H__
-00003 
-00004 #include "class.h"
-00005 #include "http/request.h"
-00006 
-00007 #define HTTP_REQUEST_QUEUE_MAX  1024
-00008 
-00009 
-00010 CLASS(HttpRequestQueue) {
-00011         HttpRequest requests[HTTP_REQUEST_QUEUE_MAX];
-00012         size_t      nrequests;
-00013 };
-00014 
-00015 #endif /* __HTTP_REQUEST_QUEUE_H__ */
-00016 
-00017 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/resize.js b/docs/html/resize.js deleted file mode 100644 index 04fa95c..0000000 --- a/docs/html/resize.js +++ /dev/null @@ -1,81 +0,0 @@ -var cookie_namespace = 'doxygen'; -var sidenav,navtree,content,header; - -function readCookie(cookie) -{ - var myCookie = cookie_namespace+"_"+cookie+"="; - if (document.cookie) - { - var index = document.cookie.indexOf(myCookie); - if (index != -1) - { - var valStart = index + myCookie.length; - var valEnd = document.cookie.indexOf(";", valStart); - if (valEnd == -1) - { - valEnd = document.cookie.length; - } - var val = document.cookie.substring(valStart, valEnd); - return val; - } - } - return 0; -} - -function writeCookie(cookie, val, expiration) -{ - if (val==undefined) return; - if (expiration == null) - { - var date = new Date(); - date.setTime(date.getTime()+(10*365*24*60*60*1000)); // default expiration is one week - expiration = date.toGMTString(); - } - document.cookie = cookie_namespace + "_" + cookie + "=" + val + "; expires=" + expiration+"; path=/"; -} - -function resizeWidth() -{ - var windowWidth = $(window).width() + "px"; - var sidenavWidth = $(sidenav).width(); - content.css({marginLeft:parseInt(sidenavWidth)+6+"px"}); //account for 6px-wide handle-bar - writeCookie('width',sidenavWidth, null); -} - -function restoreWidth(navWidth) -{ - var windowWidth = $(window).width() + "px"; - content.css({marginLeft:parseInt(navWidth)+6+"px"}); - sidenav.css({width:navWidth + "px"}); -} - -function resizeHeight() -{ - var headerHeight = header.height(); - var footerHeight = footer.height(); - var windowHeight = $(window).height() - headerHeight - footerHeight; - content.css({height:windowHeight + "px"}); - navtree.css({height:windowHeight + "px"}); - sidenav.css({height:windowHeight + "px",top: headerHeight+"px"}); -} - -function initResizable() -{ - header = $("#top"); - sidenav = $("#side-nav"); - content = $("#doc-content"); - navtree = $("#nav-tree"); - footer = $("#nav-path"); - $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } }); - $(window).resize(function() { resizeHeight(); }); - var width = readCookie('width'); - if (width) { restoreWidth(width); } else { resizeWidth(); } - resizeHeight(); - var url = location.href; - var i=url.indexOf("#"); - if (i>=0) window.location.hash=url.substr(i); - var _preventDefault = function(evt) { evt.preventDefault(); }; - $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); -} - - diff --git a/docs/html/response_8h.html b/docs/html/response_8h.html deleted file mode 100644 index 1b3c73b..0000000 --- a/docs/html/response_8h.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - -server: include/http/response.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

include/http/response.h File Reference

-
-
-
#include "class.h"
-
-Include dependency graph for response.h:
-
-
- - -
-
-

Go to the source code of this file.

- - - - - -

-Classes

struct  HttpResponse

-Functions

char * httpRequestHeaderGet (HttpRequest this, const char *name)
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
char* httpRequestHeaderGet (HttpRequest this,
const char * name 
)
-
-
- -

Definition at line 31 of file header_get.c.

-
{
-        unsigned long              hash = sdbm((unsigned char *)name);
-        struct HttpRequestHeader * header;
-
-        header = bsearch(
-                        &hash,
-                        this->header,
-                        this->nheader,
-                        sizeof(struct HttpRequestHeader),
-                        comp);
-
-        return (NULL != header)? header->value : NULL;
-}
-
-
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/response_8h__incl.map b/docs/html/response_8h__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/response_8h__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/response_8h__incl.md5 b/docs/html/response_8h__incl.md5 deleted file mode 100644 index 432c763..0000000 --- a/docs/html/response_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -d4b6e620123079b7ee192f507594654b \ No newline at end of file diff --git a/docs/html/response_8h__incl.png b/docs/html/response_8h__incl.png deleted file mode 100644 index d481149dd474b81733075dc4055b83b475a3acac..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 887 zcmeAS@N?(olHy`uVBq!ia0vp^tAV(bgBeJ&F+D5+QkDTeA+G=a|Cf|3*tdWGy!rF( z?d|W~zb`K@UteFZudmKVA z@s-xut9Iyuc*OIlgwW)uKcB8Gzvob!7^~Q{d0N=@=xnEh9vb(WiY74G#iws!l8f5# z!)fv{O~cj~5#q~_Es$P(@X42@K77}f81{Ky-#F{RhdX;*6DqQhJZ zlp@_HJ26iybXitX+H|-j`N|4`6CtObBy3gNG^a#%wcqu|b7ng@v#n~+WE=K}U3?I* zW-;gfq8mHZo;-fT^T2tJ+iK18x(8>OOng}>ud|`;$=Pq5*}t5UZ8X28Z1j_Ey%%Ds z=a-u?(YwTC>Q2juwI64F5e>`Pz9O6d#m!x94!Q-$XHD;M;?%TWye#u!UMzPuSJ-R) z$l(36S{^Q9)LIa{Un)!28K^4C%1Gqeo0==@pMH8;ryKU&I&9b5%XR{`5wYJHtqe-+ zSHBd}SP;G-`t}o9?e~c%JJmZmkGG=|in+q0`@e diff --git a/docs/html/response_8h_source.html b/docs/html/response_8h_source.html deleted file mode 100644 index 6199b9b..0000000 --- a/docs/html/response_8h_source.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - -server: include/http/response.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

include/http/response.h

-
-
-Go to the documentation of this file.
00001 #ifndef __HTTP_RESPONSE_H__
-00002 #define __HTTP_RESPONSE_H__
-00003 
-00004 #include "class.h"
-00005 
-00006 CLASS(HttpResponse) {
-00007         char *     http_version;
-00008         char *     status;
-00009         char *     reson;
-00010         
-00011         HttpHeader header[128];
-00012         int        nheader;
-00013 
-00014         char *     body;
-00015         int        nbody;
-00016 };
-00017 
-00018 char *
-00019 httpRequestHeaderGet(HttpRequest this, const char * name);
-00020 
-00021 #endif /* __HTTP_RESPONSE_H__ */
-00022 
-00023 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/run_8c.html b/docs/html/run_8c.html deleted file mode 100644 index 2c6512d..0000000 --- a/docs/html/run_8c.html +++ /dev/null @@ -1,361 +0,0 @@ - - - - -server: src/server/run.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/server/run.c File Reference

-
-
-
#include <poll.h>
-#include <string.h>
-#include <stdlib.h>
-#include <errno.h>
-#include <unistd.h>
-#include <time.h>
-#include "server.h"
-#include "socket.h"
-#include "logger.h"
-#include "signalHandling.h"
-#include "interface/class.h"
-#include "interface/stream_reader.h"
-#include "interface/logger.h"
-#include "http/request.h"
-#include "http/request_parser.h"
-#include "http/request_queue.h"
-#include "poll.c"
-#include "handle_accept.c"
-#include "read.c"
-
-Include dependency graph for run.c:
-
-
- - -
-
-

Go to the source code of this file.

- - - - - - - -

-Defines

#define MAX(x, y)   ((x) > (y) ? (x) : (y))
#define RESP_HEAD
#define RESP_DATA

-Functions

void serverRun (Server this)
-

Define Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
#define MAX( x,
 
)   ((x) > (y) ? (x) : (y))
-
-
- -

Definition at line 23 of file run.c.

- -
-
- -
-
- - - - -
#define RESP_DATA
-
-
-Value:
"<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n" \
-                                                        "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n" \
-                                                        " \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n" \
-                                                        "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n" \
-                                                        "<head><title>404 - Not Found</title></head>" \
-                                                        "<body><h1>404 - Not Found</h1></body>" \
-                                                        "</html>"
-
-
-
- -
-
- - - - -
#define RESP_HEAD
-
-
-Value:
"HTTP/1.1 404 Not Found\r\n" \
-                                                        "Content-Type: text/html\r\n" \
-                                                        "Content-Length: %lu\r\n" \
-                                                        "Date: %s\r\n" \
-                                                        "Server: testserver\r\n"
-
-
-
-

Function Documentation

- -
-
- - - - - - - - -
void serverRun (Server this)
-
-
- -

: actually this is the main loop of my server. When stuff becomes more complicated it might be feasabible to split stuff into separate processes. This will definetly involve some IPC and syncing. Right now as this is actually only a simple HTTP server implementation we go on with this single process. What we can first do to get some processing between read/write cicles is to use the poll timeout.

-

handle accept

-

handle reads

-

do some other processing : actually this will hard assume that our stream reader is a http parser and it has its queue...think about more generalizing here.

-

: for now simply remove request and send not found. Make this sane.

-

: the complete response stuff have to be removed here.

-

: just to send an answer and be able to make some apache benchs i do it here...this definetly MUST BE moved

-

handle writes

-

- -

Definition at line 30 of file run.c.

-
{
-    loggerLog(this->logger, LOGGER_INFO, "service started");
-
-    while (!doShutdown) /* until error or signal  */
-    {
-                int          events;
-                unsigned int i;
-
-                events = serverPoll(this);
-                if (doShutdown) break;
-
-                for (i=0; i < events; i++) {
-                        int fd = (this->fds)[i].fd;
-                        //int nreads = 0, nwrites = 0;
-
-                        if (0 != ((this->fds)[i].revents & POLLIN)) {
-                                if (this->sock->handle == (this->fds)[i].fd) {
-                                        serverHandleAccept(this);
-                                }
-
-                                else {
-                                        int size;
-                                        if (0 < (size=serverRead(this, i))) {
-                                                int              j;
-                                                HttpRequestQueue queue =
-                                                        ((HttpRequestParser)(this->conns)[fd].reader)->request_queue;
-
-                                                for (j=0; j<queue->nrequests; j++) {
-                                                        HttpRequest request = queue->requests[j];
-
-                                                        //if (NULL != request->body) {
-                                                        //      puts("==REQUEST BODY==");
-                                                        //      puts(request->body);
-                                                        //}
-
-                                                        delete(&request);
-
-                                                        time_t t;
-                                                        struct tm * tmp;
-                                                        char timestr[200];
-
-#define RESP_HEAD "HTTP/1.1 404 Not Found\r\n" \
-                                                        "Content-Type: text/html\r\n" \
-                                                        "Content-Length: %lu\r\n" \
-                                                        "Date: %s\r\n" \
-                                                        "Server: testserver\r\n"
-
-#define RESP_DATA "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n" \
-                                                        "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n" \
-                                                        " \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n" \
-                                                        "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n" \
-                                                        "<head><title>404 - Not Found</title></head>" \
-                                                        "<body><h1>404 - Not Found</h1></body>" \
-                                                        "</html>"
-
-                                                        t = time(NULL);
-                                                        tmp = localtime(&t);
-                                                        strftime(timestr, sizeof(timestr), "%a, %d %b %Y %T %Z", tmp);
-
-                                                        sprintf((this->conns)[fd].wbuf, RESP_HEAD "\r\n" RESP_DATA, sizeof(RESP_DATA), timestr);
-                                                        (this->fds)[i].events = (this->fds)[i].events | POLLOUT;
-                                                }
-
-                                                queue->nrequests = 0;
-                                        }
-                                }
-                        }
-
-                        if (0 != ((this->fds)[i].revents & POLLOUT)) {
-                                int size;
-
-                                size = write(
-                                                (this->fds)[i].fd,
-                                                (this->conns)[fd].wbuf,
-                                                strlen((this->conns)[fd].wbuf));
-
-                                if (size == strlen((this->conns)[fd].wbuf) ||
-                                                -1 == size) {
-                                        if (-1 == size) {
-                                                loggerLog(this->logger, LOGGER_ERR,
-                                                                "write error, closing connection");
-                                        }
-
-                                        serverCloseConn(this, i);
-                                }
-                                else {
-                                        memmove((this->conns)[fd].wbuf,
-                                                        (this->conns)[fd].wbuf + size,
-                                                        strlen((this->conns)[fd].wbuf) - size + 1);
-                                }
-                        }
-                }
-    }
-}
-
-

-Here is the call graph for this function:
-
-
- - -
-

- -

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/run_8c__incl.map b/docs/html/run_8c__incl.map deleted file mode 100644 index 4fb7311..0000000 --- a/docs/html/run_8c__incl.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/html/run_8c__incl.md5 b/docs/html/run_8c__incl.md5 deleted file mode 100644 index 3f29d75..0000000 --- a/docs/html/run_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -fc8b35c96924aa38195cea520e874d26 \ No newline at end of file diff --git a/docs/html/run_8c__incl.png b/docs/html/run_8c__incl.png deleted file mode 100644 index 98e73d1a505fb51a919fff6ac5d85aafecd1ff24..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7222 zcmb7IcT`i~lLwJ19h4G;FN7je1tIiK=qSDSCQ1*XHvy4ifY6&DNH5Zn5{h)GQbLgs zdY9foV57f1yL)!e?m2t^cyHc&pP4)N^JeDGxlu1Ql}L!_iLkJ+NK}*+w6U-VU>F%n zfP=Z-hC&K4H@TPUx{9}VcZEeoon2jYbZ*%>Il;lf($dmQOiXRK0YNS zB?}9SqM{;iZ*LkJnz*>Q_V)IPi3yC2ySuxC%_Ad>gzc%Vse>i6K4XuC1;|rTkk$3c z+BGBbo-3uC^pCQ+7SbGNxVu}pI>9Djjkh$ibaxnObq03vb61I{ta;I5Ec`!)41Mb{I3vh(9!wE=cah zt$^Etr42ww73rNWtp7w~SICq6QM}`&jA?+nu3m361@PDlP>haNO0O@kN(Kc<1t$Y8 zb=$Ypf+wBf)eAE|P~e2Cpw2;Jh6tZ*4O5i+0skKZSZ)z7Rbb79D%*F%2NcL0Tbd&? zC5f(*zaix#dw;;HSiN_0c!K+=PfjZpmM_IcJb{iP|(4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)z|s? zbvGhs3d?Tq!A282{lEkEY1G%HJA<@q3bS2r4nP6Cqo+Y1p&CMCkF!q2%y0fOa2ZS& z9910z^)=V%F#@^g0GR((F=`2a{aLmpHBuC{b~JV6AFi-t$|(R*0T}Z)t=Fz*`$JFH zoQtI3q~6p=c1fo7mN2Gk!yyZkm*2q_W)QZ^?jvH?wocI#vnyeiTV!1X=V5~qhLgz}De%_OK5EtHg$MNw1X Ji=1WXzX276 - - - diff --git a/docs/html/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 b/docs/html/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 deleted file mode 100644 index 73df168..0000000 --- a/docs/html/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -7a132c7f4a071fc3ade2758932a38a64 \ No newline at end of file diff --git a/docs/html/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.png b/docs/html/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.png deleted file mode 100644 index 2743798b96ffa8e0eb801f07cfaffce31f2480d2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1162 zcmV;51aCcPcXt;T7mtsRzrVlJ)6)O| z0RR90d-k(z00001bW%=J06^y0W&i*K{7FPXRCt{2n~RpCAPj~XRM?8Q!}~w%0tp&A z^x|%5#pXY=vSL8^gitRLg2iI7SZ9`fxjx;a|Iy1E&oqiw_)akmDyBijG^m&c71N;F z8n2(}htx9NPjEx(9!+5`8kcQMw-{Cjnn$r2DLd8V5T!S+r zKF~qSXpyb32K_jZ-CX0PpAJon$(_1#7WL6U`Q2ROJ0*ow4JLQ$%2`xP!z7Tq&U9*9yXmSUrpmDW%0cD~PEU(wiv)@+TmnI_{qJWqd27z~)@bLL3H|Al{x z9fSSpXxMQW?PB_2xcI(b=5g|f7R(xgyYMuIz9%$#S86yNjlmk7J~IvQ8@+cD;1?VR?^ZGEn#Q>FXQnZ_HN}mOewuom1<+s2A~gKgIO8+Zc$Jt2 z(_k9UsM=fDLSy6lS@>@q6Il6YUwJ6UdqXYaNDEy_y9vzKF{wtn$=}(jkw cu~>ELFJ1J{)9Eh(*Z=?k07*qoM6N<$f - - diff --git a/docs/html/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 b/docs/html/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 deleted file mode 100644 index e321b7b..0000000 --- a/docs/html/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -ce960d181d782373295747cea9ba8363 \ No newline at end of file diff --git a/docs/html/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.png b/docs/html/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.png deleted file mode 100644 index eb08ad78ecb8f7bfd07bb2ed50f828934a97e58a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 532 zcmV+v0_**WP)CcPcXt;T7mtsRzrVlJ)6)O| z0RR90g=iaa00001bW%=J06^y0W&i*IhDk(0R9J=W)@^gbAPfLtu#~P4UXK6&V;2Zk zoVtOvesIYNdRWdp5Nd_s;NbYcNJqpQlDL{4UmxR!(FuYLY+wT$KFd(<&TDv^LEZgw zry&4<@!bX~cN*pc41gV!zQZ8pUPH%>))0L1E=KFU&1nYzWy`|Xp*#}KhWsimCReV% zV~`X>8Kp(*dC>`1e>x>Sms%==eTL+~rDzSnnloO5^BETF5R_w(4PZ=TFgOct404Mx zgB43@3O_1*D~9r^#{kLZR6KTJrE(=1i=whhn zAv`eb*@ugPR)5ey=fULSr+UZi^C7Q8KMgLLhX&Cwo-`;l%xM}lIJ__6UKsC9trNAZD!>s|O9QikJS!b - - - -server: src/server/run.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/server/run.c

-
-
-Go to the documentation of this file.
00001 #include <poll.h> /* for poll system call and related */
-00002 #include <string.h>     /* for memset and stuff */
-00003 #include <stdlib.h>     /* for exit */
-00004 #include <errno.h>      /* for errno */
-00005 #include <unistd.h>
-00006 #include <time.h>
-00007 
-00008 #include "server.h"
-00009 #include "socket.h"
-00010 #include "logger.h"
-00011 #include "signalHandling.h"
-00012 #include "interface/class.h"
-00013 #include "interface/stream_reader.h"
-00014 #include "interface/logger.h"
-00015 
-00016 //* @TODO: to be removed
-00017 #include "http/request.h"
-00018 #include "http/request_parser.h"
-00019 #include "http/request_queue.h"
-00020 //* until here
-00021 
-00022 #undef  MAX
-00023 #define MAX(x,y) ((x) > (y) ? (x) : (y))
-00024 
-00025 #include "poll.c"
-00026 #include "handle_accept.c"
-00027 #include "read.c"
-00028 
-00029 void
-00030 serverRun(Server this)
-00031 {
-00032     loggerLog(this->logger, LOGGER_INFO, "service started");
-00033 
-00044     while (!doShutdown) /* until error or signal  */
-00045     {
-00046                 int          events;
-00047                 unsigned int i;
-00048 
-00049                 events = serverPoll(this);
-00050                 if (doShutdown) break;
-00051 
-00052                 for (i=0; i < events; i++) {
-00053                         int fd = (this->fds)[i].fd;
-00054                         //int nreads = 0, nwrites = 0;
-00055 
-00056                         if (0 != ((this->fds)[i].revents & POLLIN)) {
-00060                                 if (this->sock->handle == (this->fds)[i].fd) {
-00061                                         serverHandleAccept(this);
-00062                                 }
-00063 
-00067                                 else {
-00074                                         int size;
-00075                                         if (0 < (size=serverRead(this, i))) {
-00076                                                 int              j;
-00077                                                 HttpRequestQueue queue =
-00078                                                         ((HttpRequestParser)(this->conns)[fd].reader)->request_queue;
-00079 
-00080                                                 for (j=0; j<queue->nrequests; j++) {
-00081                                                         HttpRequest request = queue->requests[j];
-00082 
-00083                                                         //if (NULL != request->body) {
-00084                                                         //      puts("==REQUEST BODY==");
-00085                                                         //      puts(request->body);
-00086                                                         //}
-00087 
-00092                                                         delete(&request);
-00093 
-00097                                                         time_t t;
-00098                                                         struct tm * tmp;
-00099                                                         char timestr[200];
-00100 
-00101 #define RESP_HEAD "HTTP/1.1 404 Not Found\r\n" \
-00102                                                         "Content-Type: text/html\r\n" \
-00103                                                         "Content-Length: %lu\r\n" \
-00104                                                         "Date: %s\r\n" \
-00105                                                         "Server: testserver\r\n"
-00106 
-00107 #define RESP_DATA "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n" \
-00108                                                         "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n" \
-00109                                                         " \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n" \
-00110                                                         "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n" \
-00111                                                         "<head><title>404 - Not Found</title></head>" \
-00112                                                         "<body><h1>404 - Not Found</h1></body>" \
-00113                                                         "</html>"
-00114 
-00115                                                         t = time(NULL);
-00116                                                         tmp = localtime(&t);
-00117                                                         strftime(timestr, sizeof(timestr), "%a, %d %b %Y %T %Z", tmp);
-00118 
-00123                                                         sprintf((this->conns)[fd].wbuf, RESP_HEAD "\r\n" RESP_DATA, sizeof(RESP_DATA), timestr);
-00124                                                         (this->fds)[i].events = (this->fds)[i].events | POLLOUT;
-00125                                                 }
-00126 
-00127                                                 queue->nrequests = 0;
-00128                                         }
-00129                                 }
-00130                         }
-00131 
-00135                         if (0 != ((this->fds)[i].revents & POLLOUT)) {
-00136                                 int size;
-00137 
-00138                                 size = write(
-00139                                                 (this->fds)[i].fd,
-00140                                                 (this->conns)[fd].wbuf,
-00141                                                 strlen((this->conns)[fd].wbuf));
-00142 
-00143                                 if (size == strlen((this->conns)[fd].wbuf) ||
-00144                                                 -1 == size) {
-00145                                         if (-1 == size) {
-00146                                                 loggerLog(this->logger, LOGGER_ERR,
-00147                                                                 "write error, closing connection");
-00148                                         }
-00149 
-00150                                         serverCloseConn(this, i);
-00151                                 }
-00152                                 else {
-00153                                         memmove((this->conns)[fd].wbuf,
-00154                                                         (this->conns)[fd].wbuf + size,
-00155                                                         strlen((this->conns)[fd].wbuf) - size + 1);
-00156                                 }
-00157                         }
-00158                 }
-00159     }
-00160 }
-00161 
-00162 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/search/all_5f.html b/docs/html/search/all_5f.html deleted file mode 100644 index f0d663b..0000000 --- a/docs/html/search/all_5f.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - -
-
Loading...
- -
-
- _CALL - class.h -
-
-
-
- _ISOC99_SOURCE - class.h -
-
-
-
- _NULL - class.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_61.html b/docs/html/search/all_61.html deleted file mode 100644 index 2889d36..0000000 --- a/docs/html/search/all_61.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- accept.c -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_62.html b/docs/html/search/all_62.html deleted file mode 100644 index c2906b3..0000000 --- a/docs/html/search/all_62.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - -
-
Loading...
- -
-
- buffer - HttpRequestParser -
-
-
-
- buffer_size - HttpRequestParser -
-
-
-
- buffer_used - HttpRequestParser -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_63.html b/docs/html/search/all_63.html deleted file mode 100644 index ba05754..0000000 --- a/docs/html/search/all_63.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- CALL - class.h -
-
-
- -
-
-
- class.c -
-
-
-
- class.c -
-
-
-
- class.h -
-
-
-
- class.h -
-
- - -
-
- CLASS_MAGIC - class.h -
-
-
-
- class_ptr - class.h -
-
- - - -
-
- CLEAR_CONN - server.h -
-
- -
- -
-
-
- config.h -
-
-
-
- connect.c -
-
-
-
- conns - Server -
-
- -
-
- CREATE_IMPL - interface.h -
-
-
-
- ctor - i_Class -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_64.html b/docs/html/search/all_64.html deleted file mode 100644 index e56583b..0000000 --- a/docs/html/search/all_64.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- daemonize - daemonize.c -
-
-
- -
-
-
- delete - class.h -
-
- -
-
- dtor - i_Class -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_65.html b/docs/html/search/all_65.html deleted file mode 100644 index addb332..0000000 --- a/docs/html/search/all_65.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- e_HttpRequestState - request_parser.h -
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_66.html b/docs/html/search/all_66.html deleted file mode 100644 index d9b30d1..0000000 --- a/docs/html/search/all_66.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- fptr_classInit - class.h -
-
-
-
- fptr_clone - class.h -
-
-
-
- fptr_ctor - class.h -
-
-
-
- fptr_dtor - class.h -
-
-
-
- fptr_log - logger.h -
-
-
-
- fptr_streamReaderRead - stream_reader.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_67.html b/docs/html/search/all_67.html deleted file mode 100644 index 89b46d3..0000000 --- a/docs/html/search/all_67.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- get.c -
-
-
- -
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_68.html b/docs/html/search/all_68.html deleted file mode 100644 index b043355..0000000 --- a/docs/html/search/all_68.html +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- handle - Sock -
-
- -
-
- HAS_PARENT - class.h -
-
-
-
- hash - HttpHeader -
-
-
-
- HAVE__BOOL - config.h -
-
-
-
- HAVE_DLFCN_H - config.h -
-
-
-
- HAVE_INTTYPES_H - config.h -
-
-
-
- HAVE_JSON_JSON_H - config.h -
-
-
-
- HAVE_LIBJSON - config.h -
-
-
-
- HAVE_MEMORY_H - config.h -
-
-
-
- HAVE_MEMSET - config.h -
-
-
-
- HAVE_STDARG_H - config.h -
-
-
-
- HAVE_STDBOOL_H - config.h -
-
-
-
- HAVE_STDINT_H - config.h -
-
-
-
- HAVE_STDIO_H - config.h -
-
-
-
- HAVE_STDLIB_H - config.h -
-
-
-
- HAVE_STRING_H - config.h -
-
-
-
- HAVE_STRINGS_H - config.h -
-
-
-
- HAVE_SYS_STAT_H - config.h -
-
-
-
- HAVE_SYS_TYPES_H - config.h -
-
-
-
- HAVE_SYSLOG_H - config.h -
-
-
-
- HAVE_UNISTD_H - config.h -
-
- -
-
- header.c -
-
-
-
- header.h -
-
-
- -
-
-
- HTTP_REQUEST_DONE - request_parser.h -
-
-
-
- HTTP_REQUEST_GARBAGE - request_parser.h -
-
-
-
- HTTP_REQUEST_HEADERS_DONE - request_parser.h -
-
-
-
- HTTP_REQUEST_PARSER_READ_CHUNK - request_parser.h -
-
-
-
- HTTP_REQUEST_QUEUE_MAX - request_queue.h -
-
-
-
- HTTP_REQUEST_REQUEST_LINE_DONE - request_parser.h -
-
-
-
- HTTP_REQUEST_START - request_parser.h -
-
-
-
- http_version - HttpResponse -
-
-
- -
- -
-
- httpHeaderParse - header.h -
-
- -
- -
- - -
-
- httpRequestParserGetHeader - get_header.c -
-
- - - -
-
- HttpRequestState - request_parser.h -
-
-
- -
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_69.html b/docs/html/search/all_69.html deleted file mode 100644 index c936d2b..0000000 --- a/docs/html/search/all_69.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- i_Class -
-
-
-
- i_Logger -
-
- -
-
- IFACE - interface.h -
-
-
-
- IFACE_EXISTS - class.h -
-
-
-
- IFACE_GET - class.h -
-
-
- -
-
-
- iface_impl_ptr - interface.h -
-
-
-
- iface_ptr - interface.h -
-
-
-
- impl - iface_impl -
-
-
-
- init - class -
-
- -
-
- INIT_IMPL - interface.h -
-
- -
-
- interface -
-
-
- -
-
- -
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_6c.html b/docs/html/search/all_6c.html deleted file mode 100644 index 8667f68..0000000 --- a/docs/html/search/all_6c.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- listen.c -
-
- -
- -
-
-
- logger.c -
-
-
-
- logger.c -
-
-
-
- logger.h -
-
-
-
- logger.h -
-
-
-
- LOGGER_ALERT - logger.h -
-
-
-
- LOGGER_CRIT - logger.h -
-
-
-
- LOGGER_DEBUG - logger.h -
-
-
-
- LOGGER_EMERG - logger.h -
-
-
-
- LOGGER_ERR - logger.h -
-
-
-
- LOGGER_INFO - logger.h -
-
- - -
-
- LOGGER_NOTICE - logger.h -
-
-
-
- LOGGER_WARNING - logger.h -
-
- -
- -
-
- -
-
-
- LT_OBJDIR - config.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_6d.html b/docs/html/search/all_6d.html deleted file mode 100644 index 5755fb3..0000000 --- a/docs/html/search/all_6d.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- magic - class -
-
-
-
- main - testserver.c -
-
-
-
- MAX - run.c -
-
-
-
- MAX_IFACE - interface.h -
-
-
-
- method - HttpRequest -
-
-
-
- METHOD_GET - interface.h -
-
-
-
- min_level - Logger -
-
-
-
- MOVE_SIZE - server.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_6e.html b/docs/html/search/all_6e.html deleted file mode 100644 index 48db090..0000000 --- a/docs/html/search/all_6e.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - -
-
Loading...
- - -
-
- ndel - Server -
-
-
-
- new - class.h -
-
-
-
- nfds - Server -
-
- -
-
- nimpl - iface_impl -
-
-
-
- nmethods - interface -
-
-
-
- nrequests - HttpRequestQueue -
-
-
-
- NUMARGS - interface.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_6f.html b/docs/html/search/all_6f.html deleted file mode 100644 index 2a9bfcb..0000000 --- a/docs/html/search/all_6f.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- object_size - class -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_70.html b/docs/html/search/all_70.html deleted file mode 100644 index a122c04..0000000 --- a/docs/html/search/all_70.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- PACKAGE - config.h -
-
-
-
- PACKAGE_BUGREPORT - config.h -
-
-
-
- PACKAGE_NAME - config.h -
-
-
-
- PACKAGE_STRING - config.h -
-
-
-
- PACKAGE_TARNAME - config.h -
-
-
-
- PACKAGE_URL - config.h -
-
-
-
- PACKAGE_VERSION - config.h -
-
-
-
- parent - class -
-
-
-
- parse.c -
-
-
-
- parser.c -
-
-
-
- poll.c -
-
-
-
- POLL_FD_NSIZE - server.h -
-
-
-
- POLL_FD_SIZE - server.h -
-
-
-
- POLLFD - poll.c -
-
-
-
- port - Sock -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_71.html b/docs/html/search/all_71.html deleted file mode 100644 index a510829..0000000 --- a/docs/html/search/all_71.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- queue.c -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_72.html b/docs/html/search/all_72.html deleted file mode 100644 index 98ec8f2..0000000 --- a/docs/html/search/all_72.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- rbuf - Server -
-
-
-
- read - i_StreamReader -
-
-
-
- read.c -
-
-
-
- reader - Server -
-
-
-
- REMAINS - parse.c -
-
-
-
- request.c -
-
-
-
- request.h -
-
- -
-
- request_queue - HttpRequestParser -
-
- -
-
- requests - HttpRequestQueue -
-
-
-
- reson - HttpResponse -
-
-
-
- RESP_DATA - run.c -
-
-
-
- RESP_HEAD - run.c -
-
-
- -
-
-
- RETCALL - class.h -
-
-
-
- rpos - Server -
-
-
-
- run.c -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_73.html b/docs/html/search/all_73.html deleted file mode 100644 index 0ae855f..0000000 --- a/docs/html/search/all_73.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- Server -
-
-
-
- server.c -
-
-
-
- server.h -
-
- - - - -
-
- simpl - iface_impl -
-
-
-
- Sock - -
-
-
-
- socket.c -
-
-
-
- socket.h -
-
- - - -
-
- sort.c -
-
-
-
- state - HttpRequestParser -
-
-
-
- status - HttpResponse -
-
-
-
- STDC_HEADERS - config.h -
-
-
-
- stderr.c -
-
- - - -
-
- syslog.c -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_74.html b/docs/html/search/all_74.html deleted file mode 100644 index 943f30e..0000000 --- a/docs/html/search/all_74.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - -
-
Loading...
- -
- -
-
-
- TRUE - interface.c -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_75.html b/docs/html/search/all_75.html deleted file mode 100644 index 8e06639..0000000 --- a/docs/html/search/all_75.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- uri - HttpRequest -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_76.html b/docs/html/search/all_76.html deleted file mode 100644 index d6fe14a..0000000 --- a/docs/html/search/all_76.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- value - HttpHeader -
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/all_77.html b/docs/html/search/all_77.html deleted file mode 100644 index e31298c..0000000 --- a/docs/html/search/all_77.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- wbuf - Server -
-
-
-
- wpos - Server -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/classes_63.html b/docs/html/search/classes_63.html deleted file mode 100644 index 8ff1d78..0000000 --- a/docs/html/search/classes_63.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- class -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/classes_68.html b/docs/html/search/classes_68.html deleted file mode 100644 index ddfbbdc..0000000 --- a/docs/html/search/classes_68.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - -
-
Loading...
-
- -
-
- -
- - -
- -
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/classes_69.html b/docs/html/search/classes_69.html deleted file mode 100644 index 95a7f98..0000000 --- a/docs/html/search/classes_69.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- i_Class -
-
-
-
- i_Logger -
-
- -
- -
-
-
- interface -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/classes_6c.html b/docs/html/search/classes_6c.html deleted file mode 100644 index 253f5b9..0000000 --- a/docs/html/search/classes_6c.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- Logger -
-
-
- -
-
- -
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/classes_73.html b/docs/html/search/classes_73.html deleted file mode 100644 index bc7ef9b..0000000 --- a/docs/html/search/classes_73.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- Server -
-
-
-
- Sock -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/close.png b/docs/html/search/close.png deleted file mode 100644 index 9342d3dfeea7b7c4ee610987e717804b5a42ceb9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 273 zcmV+s0q*{ZP)4(RlMby96)VwnbG{ zbe&}^BDn7x>$<{ck4zAK-=nT;=hHG)kmplIF${xqm8db3oX6wT3bvp`TE@m0cg;b) zBuSL}5?N7O(iZLdAlz@)b)Rd~DnSsSX&P5qC`XwuFwcAYLC+d2>+1(8on;wpt8QIC X2MT$R4iQDd00000NkvXXu0mjfia~GN diff --git a/docs/html/search/defines_5f.html b/docs/html/search/defines_5f.html deleted file mode 100644 index 805a4b7..0000000 --- a/docs/html/search/defines_5f.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- _CALL - class.h -
-
-
-
- _ISOC99_SOURCE - class.h -
-
-
-
- _NULL - class.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/defines_63.html b/docs/html/search/defines_63.html deleted file mode 100644 index 180ff4c..0000000 --- a/docs/html/search/defines_63.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- CALL - class.h -
-
-
-
- CLASS - class.h -
-
-
-
- CLASS_MAGIC - class.h -
-
-
-
- CLEAR_CONN - server.h -
-
-
-
- clone - class.h -
-
-
-
- CREATE_CLASS - class.h -
-
-
-
- CREATE_IMPL - interface.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/defines_64.html b/docs/html/search/defines_64.html deleted file mode 100644 index 5c5d81b..0000000 --- a/docs/html/search/defines_64.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- delete - class.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/defines_65.html b/docs/html/search/defines_65.html deleted file mode 100644 index 194b08b..0000000 --- a/docs/html/search/defines_65.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- EXTENDS - class.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/defines_68.html b/docs/html/search/defines_68.html deleted file mode 100644 index f00c4d1..0000000 --- a/docs/html/search/defines_68.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- HAS_PARENT - class.h -
-
-
-
- HAVE__BOOL - config.h -
-
-
-
- HAVE_DLFCN_H - config.h -
-
-
-
- HAVE_INTTYPES_H - config.h -
-
-
-
- HAVE_JSON_JSON_H - config.h -
-
-
-
- HAVE_LIBJSON - config.h -
-
-
-
- HAVE_MEMORY_H - config.h -
-
-
-
- HAVE_MEMSET - config.h -
-
-
-
- HAVE_STDARG_H - config.h -
-
-
-
- HAVE_STDBOOL_H - config.h -
-
-
-
- HAVE_STDINT_H - config.h -
-
-
-
- HAVE_STDIO_H - config.h -
-
-
-
- HAVE_STDLIB_H - config.h -
-
-
-
- HAVE_STRING_H - config.h -
-
-
-
- HAVE_STRINGS_H - config.h -
-
-
-
- HAVE_SYS_STAT_H - config.h -
-
-
-
- HAVE_SYS_TYPES_H - config.h -
-
-
-
- HAVE_SYSLOG_H - config.h -
-
-
-
- HAVE_UNISTD_H - config.h -
-
-
-
- HTTP_REQUEST_PARSER_READ_CHUNK - request_parser.h -
-
-
-
- HTTP_REQUEST_QUEUE_MAX - request_queue.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/defines_69.html b/docs/html/search/defines_69.html deleted file mode 100644 index ca7d70c..0000000 --- a/docs/html/search/defines_69.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- IFACE - interface.h -
-
-
-
- IFACE_EXISTS - class.h -
-
-
-
- IFACE_GET - class.h -
-
-
-
- INIT_IFACE - interface.h -
-
-
-
- INIT_IMPL - interface.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/defines_6c.html b/docs/html/search/defines_6c.html deleted file mode 100644 index ff4649f..0000000 --- a/docs/html/search/defines_6c.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- LT_OBJDIR - config.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/defines_6d.html b/docs/html/search/defines_6d.html deleted file mode 100644 index 5d0afbe..0000000 --- a/docs/html/search/defines_6d.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- MAX - run.c -
-
-
-
- MAX_IFACE - interface.h -
-
-
-
- METHOD_GET - interface.h -
-
-
-
- MOVE_SIZE - server.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/defines_6e.html b/docs/html/search/defines_6e.html deleted file mode 100644 index 18c753e..0000000 --- a/docs/html/search/defines_6e.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- new - class.h -
-
-
-
- NUMARGS - interface.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/defines_70.html b/docs/html/search/defines_70.html deleted file mode 100644 index 6faa430..0000000 --- a/docs/html/search/defines_70.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- PACKAGE - config.h -
-
-
-
- PACKAGE_BUGREPORT - config.h -
-
-
-
- PACKAGE_NAME - config.h -
-
-
-
- PACKAGE_STRING - config.h -
-
-
-
- PACKAGE_TARNAME - config.h -
-
-
-
- PACKAGE_URL - config.h -
-
-
-
- PACKAGE_VERSION - config.h -
-
-
-
- POLL_FD_NSIZE - server.h -
-
-
-
- POLL_FD_SIZE - server.h -
-
-
-
- POLLFD - poll.c -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/defines_72.html b/docs/html/search/defines_72.html deleted file mode 100644 index e3c598d..0000000 --- a/docs/html/search/defines_72.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- REMAINS - parse.c -
-
-
-
- RESP_DATA - run.c -
-
-
-
- RESP_HEAD - run.c -
-
-
-
- RETCALL - class.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/defines_73.html b/docs/html/search/defines_73.html deleted file mode 100644 index efb4f12..0000000 --- a/docs/html/search/defines_73.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- STDC_HEADERS - config.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/defines_74.html b/docs/html/search/defines_74.html deleted file mode 100644 index 7548888..0000000 --- a/docs/html/search/defines_74.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- TRUE - interface.c -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/defines_76.html b/docs/html/search/defines_76.html deleted file mode 100644 index 05ed933..0000000 --- a/docs/html/search/defines_76.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- VERSION - config.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/enums_65.html b/docs/html/search/enums_65.html deleted file mode 100644 index ce50024..0000000 --- a/docs/html/search/enums_65.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- e_HttpRequestState - request_parser.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/enums_6c.html b/docs/html/search/enums_6c.html deleted file mode 100644 index 1379cc0..0000000 --- a/docs/html/search/enums_6c.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- logger_level - logger.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/enumvalues_68.html b/docs/html/search/enumvalues_68.html deleted file mode 100644 index 5d17b26..0000000 --- a/docs/html/search/enumvalues_68.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- HTTP_REQUEST_DONE - request_parser.h -
-
-
-
- HTTP_REQUEST_GARBAGE - request_parser.h -
-
-
-
- HTTP_REQUEST_HEADERS_DONE - request_parser.h -
-
-
-
- HTTP_REQUEST_REQUEST_LINE_DONE - request_parser.h -
-
-
-
- HTTP_REQUEST_START - request_parser.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/enumvalues_6c.html b/docs/html/search/enumvalues_6c.html deleted file mode 100644 index c12c70e..0000000 --- a/docs/html/search/enumvalues_6c.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- LOGGER_ALERT - logger.h -
-
-
-
- LOGGER_CRIT - logger.h -
-
-
-
- LOGGER_DEBUG - logger.h -
-
-
-
- LOGGER_EMERG - logger.h -
-
-
-
- LOGGER_ERR - logger.h -
-
-
-
- LOGGER_INFO - logger.h -
-
-
-
- LOGGER_NOTICE - logger.h -
-
-
-
- LOGGER_WARNING - logger.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/files_61.html b/docs/html/search/files_61.html deleted file mode 100644 index 2889d36..0000000 --- a/docs/html/search/files_61.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- accept.c -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/files_63.html b/docs/html/search/files_63.html deleted file mode 100644 index c85fd6d..0000000 --- a/docs/html/search/files_63.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- class.c -
-
-
-
- class.c -
-
-
-
- class.h -
-
-
-
- class.h -
-
-
- -
-
-
- config.h -
-
-
-
- connect.c -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/files_64.html b/docs/html/search/files_64.html deleted file mode 100644 index e9109a8..0000000 --- a/docs/html/search/files_64.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
- -
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/files_67.html b/docs/html/search/files_67.html deleted file mode 100644 index 89b46d3..0000000 --- a/docs/html/search/files_67.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- get.c -
-
-
- -
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/files_68.html b/docs/html/search/files_68.html deleted file mode 100644 index 7e2e52b..0000000 --- a/docs/html/search/files_68.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - -
-
Loading...
- -
-
- header.c -
-
-
-
- header.h -
-
-
- -
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/files_69.html b/docs/html/search/files_69.html deleted file mode 100644 index 835fcbb..0000000 --- a/docs/html/search/files_69.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
-
- -
-
- -
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/files_6c.html b/docs/html/search/files_6c.html deleted file mode 100644 index 46aee43..0000000 --- a/docs/html/search/files_6c.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- listen.c -
-
-
-
- logger.c -
-
-
-
- logger.c -
-
-
-
- logger.h -
-
-
-
- logger.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/files_70.html b/docs/html/search/files_70.html deleted file mode 100644 index f4608d2..0000000 --- a/docs/html/search/files_70.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- parse.c -
-
-
-
- parser.c -
-
-
-
- poll.c -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/files_71.html b/docs/html/search/files_71.html deleted file mode 100644 index a510829..0000000 --- a/docs/html/search/files_71.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- queue.c -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/files_72.html b/docs/html/search/files_72.html deleted file mode 100644 index 2db828d..0000000 --- a/docs/html/search/files_72.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- read.c -
-
-
-
- request.c -
-
-
-
- request.h -
-
- - -
- -
-
-
- run.c -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/files_73.html b/docs/html/search/files_73.html deleted file mode 100644 index 8134300..0000000 --- a/docs/html/search/files_73.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- server.c -
-
-
-
- server.h -
-
- - -
-
- socket.c -
-
-
-
- socket.h -
-
-
-
- sort.c -
-
-
-
- stderr.c -
-
- - -
-
- syslog.c -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/files_74.html b/docs/html/search/files_74.html deleted file mode 100644 index 3df9933..0000000 --- a/docs/html/search/files_74.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
- -
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/functions_63.html b/docs/html/search/functions_63.html deleted file mode 100644 index eaf93b3..0000000 --- a/docs/html/search/functions_63.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - diff --git a/docs/html/search/functions_64.html b/docs/html/search/functions_64.html deleted file mode 100644 index 36558f7..0000000 --- a/docs/html/search/functions_64.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- daemonize - daemonize.c -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/functions_65.html b/docs/html/search/functions_65.html deleted file mode 100644 index 0c365f3..0000000 --- a/docs/html/search/functions_65.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - -
-
Loading...
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/functions_68.html b/docs/html/search/functions_68.html deleted file mode 100644 index 2c9f09a..0000000 --- a/docs/html/search/functions_68.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - diff --git a/docs/html/search/functions_69.html b/docs/html/search/functions_69.html deleted file mode 100644 index f858a3e..0000000 --- a/docs/html/search/functions_69.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - diff --git a/docs/html/search/functions_6c.html b/docs/html/search/functions_6c.html deleted file mode 100644 index f526453..0000000 --- a/docs/html/search/functions_6c.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - -
-
Loading...
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/functions_6d.html b/docs/html/search/functions_6d.html deleted file mode 100644 index 34e44da..0000000 --- a/docs/html/search/functions_6d.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- main - testserver.c -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/functions_73.html b/docs/html/search/functions_73.html deleted file mode 100644 index 128b80d..0000000 --- a/docs/html/search/functions_73.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - diff --git a/docs/html/search/functions_74.html b/docs/html/search/functions_74.html deleted file mode 100644 index a99358c..0000000 --- a/docs/html/search/functions_74.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - -
-
Loading...
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/mag_sel.png b/docs/html/search/mag_sel.png deleted file mode 100644 index 81f6040a2092402b4d98f9ffa8855d12a0d4ca17..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 563 zcmV-30?hr1P)zxx&tqG15pu7)IiiXFflOc2k;dXd>%13GZAy? zRz!q0=|E6a6vV)&ZBS~G9oe0kbqyw1*gvY`{Pop2oKq#FlzgXt@Xh-7fxh>}`Fxg> z$%N%{$!4=5nM{(;=c!aG1Ofr^Do{u%Ih{^&Fc@H2)+a-?TBXrw5DW&z%Nb6mQ!L9O zl}b@6mB?f=tX3;#vl)}ggh(Vpyh(IK z(Mb0D{l{U$FsRjP;!{($+bsaaVi8T#1c0V#qEIOCYa9@UVLV`f__E81L;?WEaRA;Y zUH;rZ;vb;mk7JX|$=i3O~&If0O@oZfLg8gfIjW=dcBsz;gI=!{-r4# z4%6v$&~;q^j7Fo67yJ(NJWuX+I~I!tj^nW3?}^9bq|<3^+vapS5sgM^x7!cs(+mMT z&y%j};&~po+YO)3hoUH4E*E;e9>?R6SS&`X)p`njycAVcg{rEb41T{~Hk(bl-7eSb zmFxA2uIqo#@R?lKm50ND`~6Nfn|-b1|L6O98vt3Tx@gKz#isxO002ovPDHLkV1kyW B_l^Jn diff --git a/docs/html/search/nomatches.html b/docs/html/search/nomatches.html deleted file mode 100644 index b1ded27..0000000 --- a/docs/html/search/nomatches.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - -
-
No Matches
-
- - diff --git a/docs/html/search/search.css b/docs/html/search/search.css deleted file mode 100644 index 50249e5..0000000 --- a/docs/html/search/search.css +++ /dev/null @@ -1,240 +0,0 @@ -/*---------------- Search Box */ - -#FSearchBox { - float: left; -} - -#searchli { - float: right; - display: block; - width: 170px; - height: 36px; -} - -#MSearchBox { - white-space : nowrap; - position: absolute; - float: none; - display: inline; - margin-top: 8px; - right: 0px; - width: 170px; - z-index: 102; -} - -#MSearchBox .left -{ - display:block; - position:absolute; - left:10px; - width:20px; - height:19px; - background:url('search_l.png') no-repeat; - background-position:right; -} - -#MSearchSelect { - display:block; - position:absolute; - width:20px; - height:19px; -} - -.left #MSearchSelect { - left:4px; -} - -.right #MSearchSelect { - right:5px; -} - -#MSearchField { - display:block; - position:absolute; - height:19px; - background:url('search_m.png') repeat-x; - border:none; - width:116px; - margin-left:20px; - padding-left:4px; - color: #909090; - outline: none; - font: 9pt Arial, Verdana, sans-serif; -} - -#FSearchBox #MSearchField { - margin-left:15px; -} - -#MSearchBox .right { - display:block; - position:absolute; - right:10px; - top:0px; - width:20px; - height:19px; - background:url('search_r.png') no-repeat; - background-position:left; -} - -#MSearchClose { - display: none; - position: absolute; - top: 4px; - background : none; - border: none; - margin: 0px 4px 0px 0px; - padding: 0px 0px; - outline: none; -} - -.left #MSearchClose { - left: 6px; -} - -.right #MSearchClose { - right: 2px; -} - -.MSearchBoxActive #MSearchField { - color: #000000; -} - -/*---------------- Search filter selection */ - -#MSearchSelectWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #90A5CE; - background-color: #F9FAFC; - z-index: 1; - padding-top: 4px; - padding-bottom: 4px; - -moz-border-radius: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -.SelectItem { - font: 8pt Arial, Verdana, sans-serif; - padding-left: 2px; - padding-right: 12px; - border: 0px; -} - -span.SelectionMark { - margin-right: 4px; - font-family: monospace; - outline-style: none; - text-decoration: none; -} - -a.SelectItem { - display: block; - outline-style: none; - color: #000000; - text-decoration: none; - padding-left: 6px; - padding-right: 12px; -} - -a.SelectItem:focus, -a.SelectItem:active { - color: #000000; - outline-style: none; - text-decoration: none; -} - -a.SelectItem:hover { - color: #FFFFFF; - background-color: #3D578C; - outline-style: none; - text-decoration: none; - cursor: pointer; - display: block; -} - -/*---------------- Search results window */ - -iframe#MSearchResults { - width: 60ex; - height: 15em; -} - -#MSearchResultsWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #000; - background-color: #EEF1F7; -} - -/* ----------------------------------- */ - - -#SRIndex { - clear:both; - padding-bottom: 15px; -} - -.SREntry { - font-size: 10pt; - padding-left: 1ex; -} - -.SRPage .SREntry { - font-size: 8pt; - padding: 1px 5px; -} - -body.SRPage { - margin: 5px 2px; -} - -.SRChildren { - padding-left: 3ex; padding-bottom: .5em -} - -.SRPage .SRChildren { - display: none; -} - -.SRSymbol { - font-weight: bold; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRScope { - display: block; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRSymbol:focus, a.SRSymbol:active, -a.SRScope:focus, a.SRScope:active { - text-decoration: underline; -} - -.SRPage .SRStatus { - padding: 2px 5px; - font-size: 8pt; - font-style: italic; -} - -.SRResult { - display: none; -} - -DIV.searchresults { - margin-left: 10px; - margin-right: 10px; -} diff --git a/docs/html/search/search.js b/docs/html/search/search.js deleted file mode 100644 index 2e9976f..0000000 --- a/docs/html/search/search.js +++ /dev/null @@ -1,742 +0,0 @@ -// Search script generated by doxygen -// Copyright (C) 2009 by Dimitri van Heesch. - -// The code in this file is loosly based on main.js, part of Natural Docs, -// which is Copyright (C) 2003-2008 Greg Valure -// Natural Docs is licensed under the GPL. - -var indexSectionsWithContent = -{ - 0: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010111111111001111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 1: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000011001000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 2: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101100111001000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 3: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110011001100000110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 4: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010011100011001111101101110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 5: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001001011001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 6: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 7: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 8: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001110011001110101110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" -}; - -var indexSectionNames = -{ - 0: "all", - 1: "classes", - 2: "files", - 3: "functions", - 4: "variables", - 5: "typedefs", - 6: "enums", - 7: "enumvalues", - 8: "defines" -}; - -function convertToId(search) -{ - var result = ''; - for (i=0;i do a search - { - this.Search(); - } - } - - this.OnSearchSelectKey = function(evt) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==40 && this.searchIndex0) // Up - { - this.searchIndex--; - this.OnSelectItem(this.searchIndex); - } - else if (e.keyCode==13 || e.keyCode==27) - { - this.OnSelectItem(this.searchIndex); - this.CloseSelectionWindow(); - this.DOMSearchField().focus(); - } - return false; - } - - // --------- Actions - - // Closes the results window. - this.CloseResultsWindow = function() - { - this.DOMPopupSearchResultsWindow().style.display = 'none'; - this.DOMSearchClose().style.display = 'none'; - this.Activate(false); - } - - this.CloseSelectionWindow = function() - { - this.DOMSearchSelectWindow().style.display = 'none'; - } - - // Performs a search. - this.Search = function() - { - this.keyTimeout = 0; - - // strip leading whitespace - var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); - - var code = searchValue.toLowerCase().charCodeAt(0); - var hexCode; - if (code<16) - { - hexCode="0"+code.toString(16); - } - else - { - hexCode=code.toString(16); - } - - var resultsPage; - var resultsPageWithSearch; - var hasResultsPage; - - if (indexSectionsWithContent[this.searchIndex].charAt(code) == '1') - { - resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; - resultsPageWithSearch = resultsPage+'?'+escape(searchValue); - hasResultsPage = true; - } - else // nothing available for this search term - { - resultsPage = this.resultsPath + '/nomatches.html'; - resultsPageWithSearch = resultsPage; - hasResultsPage = false; - } - - window.frames.MSearchResults.location.href = resultsPageWithSearch; - var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); - - if (domPopupSearchResultsWindow.style.display!='block') - { - var domSearchBox = this.DOMSearchBox(); - this.DOMSearchClose().style.display = 'inline'; - if (this.insideFrame) - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - domPopupSearchResultsWindow.style.position = 'relative'; - domPopupSearchResultsWindow.style.display = 'block'; - var width = document.body.clientWidth - 8; // the -8 is for IE :-( - domPopupSearchResultsWindow.style.width = width + 'px'; - domPopupSearchResults.style.width = width + 'px'; - } - else - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; - var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; - domPopupSearchResultsWindow.style.display = 'block'; - left -= domPopupSearchResults.offsetWidth; - domPopupSearchResultsWindow.style.top = top + 'px'; - domPopupSearchResultsWindow.style.left = left + 'px'; - } - } - - this.lastSearchValue = searchValue; - this.lastResultsPage = resultsPage; - } - - // -------- Activation Functions - - // Activates or deactivates the search panel, resetting things to - // their default values if necessary. - this.Activate = function(isActive) - { - if (isActive || // open it - this.DOMPopupSearchResultsWindow().style.display == 'block' - ) - { - this.DOMSearchBox().className = 'MSearchBoxActive'; - - var searchField = this.DOMSearchField(); - - if (searchField.value == this.searchLabel) // clear "Search" term upon entry - { - searchField.value = ''; - this.searchActive = true; - } - } - else if (!isActive) // directly remove the panel - { - this.DOMSearchBox().className = 'MSearchBoxInactive'; - this.DOMSearchField().value = this.searchLabel; - this.searchActive = false; - this.lastSearchValue = '' - this.lastResultsPage = ''; - } - } -} - -// ----------------------------------------------------------------------- - -// The class that handles everything on the search results page. -function SearchResults(name) -{ - // The number of matches from the last run of . - this.lastMatchCount = 0; - this.lastKey = 0; - this.repeatOn = false; - - // Toggles the visibility of the passed element ID. - this.FindChildElement = function(id) - { - var parentElement = document.getElementById(id); - var element = parentElement.firstChild; - - while (element && element!=parentElement) - { - if (element.nodeName == 'DIV' && element.className == 'SRChildren') - { - return element; - } - - if (element.nodeName == 'DIV' && element.hasChildNodes()) - { - element = element.firstChild; - } - else if (element.nextSibling) - { - element = element.nextSibling; - } - else - { - do - { - element = element.parentNode; - } - while (element && element!=parentElement && !element.nextSibling); - - if (element && element!=parentElement) - { - element = element.nextSibling; - } - } - } - } - - this.Toggle = function(id) - { - var element = this.FindChildElement(id); - if (element) - { - if (element.style.display == 'block') - { - element.style.display = 'none'; - } - else - { - element.style.display = 'block'; - } - } - } - - // Searches for the passed string. If there is no parameter, - // it takes it from the URL query. - // - // Always returns true, since other documents may try to call it - // and that may or may not be possible. - this.Search = function(search) - { - if (!search) // get search word from URL - { - search = window.location.search; - search = search.substring(1); // Remove the leading '?' - search = unescape(search); - } - - search = search.replace(/^ +/, ""); // strip leading spaces - search = search.replace(/ +$/, ""); // strip trailing spaces - search = search.toLowerCase(); - search = convertToId(search); - - var resultRows = document.getElementsByTagName("div"); - var matches = 0; - - var i = 0; - while (i < resultRows.length) - { - var row = resultRows.item(i); - if (row.className == "SRResult") - { - var rowMatchName = row.id.toLowerCase(); - rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' - - if (search.length<=rowMatchName.length && - rowMatchName.substr(0, search.length)==search) - { - row.style.display = 'block'; - matches++; - } - else - { - row.style.display = 'none'; - } - } - i++; - } - document.getElementById("Searching").style.display='none'; - if (matches == 0) // no results - { - document.getElementById("NoMatches").style.display='block'; - } - else // at least one result - { - document.getElementById("NoMatches").style.display='none'; - } - this.lastMatchCount = matches; - return true; - } - - // return the first item with index index or higher that is visible - this.NavNext = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index++; - } - return focusItem; - } - - this.NavPrev = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index--; - } - return focusItem; - } - - this.ProcessKeys = function(e) - { - if (e.type == "keydown") - { - this.repeatOn = false; - this.lastKey = e.keyCode; - } - else if (e.type == "keypress") - { - if (!this.repeatOn) - { - if (this.lastKey) this.repeatOn = true; - return false; // ignore first keypress after keydown - } - } - else if (e.type == "keyup") - { - this.lastKey = 0; - this.repeatOn = false; - } - return this.lastKey!=0; - } - - this.Nav = function(evt,itemIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - var newIndex = itemIndex-1; - var focusItem = this.NavPrev(newIndex); - if (focusItem) - { - var child = this.FindChildElement(focusItem.parentNode.parentNode.id); - if (child && child.style.display == 'block') // children visible - { - var n=0; - var tmpElem; - while (1) // search for last child - { - tmpElem = document.getElementById('Item'+newIndex+'_c'+n); - if (tmpElem) - { - focusItem = tmpElem; - } - else // found it! - { - break; - } - n++; - } - } - } - if (focusItem) - { - focusItem.focus(); - } - else // return focus to search field - { - parent.document.getElementById("MSearchField").focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = itemIndex+1; - var focusItem; - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem && elem.style.display == 'block') // children visible - { - focusItem = document.getElementById('Item'+itemIndex+'_c0'); - } - if (!focusItem) focusItem = this.NavNext(newIndex); - if (focusItem) focusItem.focus(); - } - else if (this.lastKey==39) // Right - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'block'; - } - else if (this.lastKey==37) // Left - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'none'; - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } - - this.NavChild = function(evt,itemIndex,childIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - if (childIndex>0) - { - var newIndex = childIndex-1; - document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); - } - else // already at first child, jump to parent - { - document.getElementById('Item'+itemIndex).focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = childIndex+1; - var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); - if (!elem) // last child, jump to parent next parent - { - elem = this.NavNext(itemIndex+1); - } - if (elem) - { - elem.focus(); - } - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } -} diff --git a/docs/html/search/search_l.png b/docs/html/search/search_l.png deleted file mode 100644 index c872f4da4a01d0754f923e6c94fd8159c0621bd1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 604 zcmV-i0;BzjP)k7RCwB~R6VQOP#AvB$vH7i{6H{96zot$7cZT<7246EF5Np6N}+$IbiG6W zg#87A+NFaX+=_^xM1#gCtshC=E{%9^uQX_%?YwXvo{#q&MnpJ8uh(O?ZRc&~_1%^SsPxG@rfElJg-?U zm!Cz-IOn(qJP3kDp-^~qt+FGbl=5jNli^Wj_xIBG{Rc0en{!oFvyoNC7{V~T8}b>| z=jL2WIReZzX(YN(_9fV;BBD$VXQIxNasAL8ATvEu822WQ%mvv4FO#qs` BFGc_W diff --git a/docs/html/search/search_r.png b/docs/html/search/search_r.png deleted file mode 100644 index 97ee8b439687084201b79c6f776a41f495c6392a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 612 zcmV-q0-ODbP)PbXFRCwB?)W514K@j&X?z2*SxFI6-@HT2E2K=9X9%Pb zEK*!TBw&g(DMC;|A)uGlRkOS9vd-?zNs%bR4d$w+ox_iFnE8fvIvv7^5<(>Te12Li z7C)9srCzmK{ZcNM{YIl9j{DePFgOWiS%xG@5CnnnJa4nvY<^glbz7^|-ZY!dUkAwd z{gaTC@_>b5h~;ug#R0wRL0>o5!hxm*s0VW?8dr}O#zXTRTnrQm_Z7z1Mrnx>&p zD4qifUjzLvbVVWi?l?rUzwt^sdb~d!f_LEhsRVIXZtQ=qSxuxqm zEX#tf>$?M_Y1-LSDT)HqG?`%-%ZpY!#{N!rcNIiL;G7F0`l?)mNGTD9;f9F5Up3Kg zw}a<-JylhG&;=!>B+fZaCX+?C+kHYrP%c?X2!Zu_olK|GcS4A70HEy;vn)I0>0kLH z`jc(WIaaHc7!HS@f*^R^Znx8W=_jIl2oWJoQ*h1^$FX!>*PqR1J8k|fw}w_y}TpE>7m8DqDO<3z`OzXt$ccSejbEZCg@0000 - - - - - - -
-
Loading...
-
-
- class_ptr - class.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/typedefs_66.html b/docs/html/search/typedefs_66.html deleted file mode 100644 index d9b30d1..0000000 --- a/docs/html/search/typedefs_66.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- fptr_classInit - class.h -
-
-
-
- fptr_clone - class.h -
-
-
-
- fptr_ctor - class.h -
-
-
-
- fptr_dtor - class.h -
-
-
-
- fptr_log - logger.h -
-
-
-
- fptr_streamReaderRead - stream_reader.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/typedefs_68.html b/docs/html/search/typedefs_68.html deleted file mode 100644 index 7df19cd..0000000 --- a/docs/html/search/typedefs_68.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- HttpRequestState - request_parser.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/typedefs_69.html b/docs/html/search/typedefs_69.html deleted file mode 100644 index ff27746..0000000 --- a/docs/html/search/typedefs_69.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- iface_impl_ptr - interface.h -
-
-
-
- iface_ptr - interface.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/typedefs_6c.html b/docs/html/search/typedefs_6c.html deleted file mode 100644 index 1488b10..0000000 --- a/docs/html/search/typedefs_6c.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- logger_level - logger.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/variables_5f.html b/docs/html/search/variables_5f.html deleted file mode 100644 index c8468c4..0000000 --- a/docs/html/search/variables_5f.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/variables_62.html b/docs/html/search/variables_62.html deleted file mode 100644 index c2906b3..0000000 --- a/docs/html/search/variables_62.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - -
-
Loading...
- -
-
- buffer - HttpRequestParser -
-
-
-
- buffer_size - HttpRequestParser -
-
-
-
- buffer_used - HttpRequestParser -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/variables_63.html b/docs/html/search/variables_63.html deleted file mode 100644 index e16b223..0000000 --- a/docs/html/search/variables_63.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- clone - i_Class -
-
-
-
- conns - Server -
-
-
-
- ctor - i_Class -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/variables_64.html b/docs/html/search/variables_64.html deleted file mode 100644 index f531abf..0000000 --- a/docs/html/search/variables_64.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - -
-
Loading...
- -
-
- dtor - i_Class -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/variables_68.html b/docs/html/search/variables_68.html deleted file mode 100644 index 9043832..0000000 --- a/docs/html/search/variables_68.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- handle - Sock -
-
-
-
- hash - HttpHeader -
-
- -
-
- http_version - HttpResponse -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/variables_69.html b/docs/html/search/variables_69.html deleted file mode 100644 index 8743d8c..0000000 --- a/docs/html/search/variables_69.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- impl - iface_impl -
-
-
-
- init - class -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/variables_6c.html b/docs/html/search/variables_6c.html deleted file mode 100644 index 3b0f05c..0000000 --- a/docs/html/search/variables_6c.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -
-
Loading...
- -
-
- logger - Server -
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/variables_6d.html b/docs/html/search/variables_6d.html deleted file mode 100644 index 1e33682..0000000 --- a/docs/html/search/variables_6d.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- magic - class -
-
-
-
- method - HttpRequest -
-
-
-
- min_level - Logger -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/variables_6e.html b/docs/html/search/variables_6e.html deleted file mode 100644 index 85b64de..0000000 --- a/docs/html/search/variables_6e.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - -
-
Loading...
- - -
-
- ndel - Server -
-
-
-
- nfds - Server -
-
- -
-
- nimpl - iface_impl -
-
-
-
- nmethods - interface -
-
-
-
- nrequests - HttpRequestQueue -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/variables_6f.html b/docs/html/search/variables_6f.html deleted file mode 100644 index 2a9bfcb..0000000 --- a/docs/html/search/variables_6f.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- object_size - class -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/variables_70.html b/docs/html/search/variables_70.html deleted file mode 100644 index 01c91ab..0000000 --- a/docs/html/search/variables_70.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- parent - class -
-
-
-
- port - Sock -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/variables_72.html b/docs/html/search/variables_72.html deleted file mode 100644 index 690eca7..0000000 --- a/docs/html/search/variables_72.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- rbuf - Server -
-
-
-
- read - i_StreamReader -
-
-
-
- reader - Server -
-
-
-
- request_queue - HttpRequestParser -
-
-
-
- requests - HttpRequestQueue -
-
-
-
- reson - HttpResponse -
-
-
-
- rpos - Server -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/variables_73.html b/docs/html/search/variables_73.html deleted file mode 100644 index 6239802..0000000 --- a/docs/html/search/variables_73.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- simpl - iface_impl -
-
-
-
- sock - Server -
-
-
-
- state - HttpRequestParser -
-
-
-
- status - HttpResponse -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/variables_75.html b/docs/html/search/variables_75.html deleted file mode 100644 index 8e06639..0000000 --- a/docs/html/search/variables_75.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- uri - HttpRequest -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/variables_76.html b/docs/html/search/variables_76.html deleted file mode 100644 index 5bee369..0000000 --- a/docs/html/search/variables_76.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- value - HttpHeader -
-
-
-
- version - HttpRequest -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/search/variables_77.html b/docs/html/search/variables_77.html deleted file mode 100644 index e31298c..0000000 --- a/docs/html/search/variables_77.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- wbuf - Server -
-
-
-
- wpos - Server -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/html/server_8c.html b/docs/html/server_8c.html deleted file mode 100644 index 546c20d..0000000 --- a/docs/html/server_8c.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - -server: src/server.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/server.c File Reference

-
-
-
#include <poll.h>
-#include <string.h>
-#include <stdlib.h>
-#include "class.h"
-#include "server.h"
-#include "socket.h"
-#include "logger.h"
-#include "interface/class.h"
-
-Include dependency graph for server.c:
-
-
-
-
-

Go to the source code of this file.

- - - - -

-Functions

 INIT_IFACE (Class, ctor, dtor, NULL)
 CREATE_CLASS (Server, NULL, IFACE(Class))
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
CREATE_CLASS (Server ,
NULL ,
IFACE(Class)  
)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INIT_IFACE (Class ,
ctor ,
dtor ,
NULL  
)
-
-
- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/server_8c__incl.map b/docs/html/server_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/server_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/server_8c__incl.md5 b/docs/html/server_8c__incl.md5 deleted file mode 100644 index aa06484..0000000 --- a/docs/html/server_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -84d1b67b8aa97e8c7b1dbb4906d52108 \ No newline at end of file diff --git a/docs/html/server_8c__incl.png b/docs/html/server_8c__incl.png deleted file mode 100644 index cb3e9c4f7732acad8945da5b9096b3982b9ac0ba..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2926 zcmZXW2T&787spZb=v9isVQ8W!AWc9ZB=pdf4pIcMAOWf35keqH5hN;JDAEy7iZnSy zjF1EfMQK5*5Fk<`HDCyYmVEK%o11Uuo7vfYJ3H_9fBWX`&U<2i4I;oR#mm9LAz)=` z=E%WuoW`~va&xlh?V3U!_5!xIbv9?RSnUMDnKPkF%&o@IcZ@#ut1mS9sts>QcHC7u(;!v8xW1T&Qb zsEx*h***Bt6GYQwF`!UP-uI{Y#?Kwa0)ql>^Hue{ea&dd1Se^1hctg4bu(lWHv^(^2t%L6 zhC_`kBuF_B?~Qx+_ckHpThBPDMO5D$S5PQyxltk+ z;0YaIK)$N-{)1Xs&`DeAi_I0K+|C;ywZHA?ag`$E{kC2*$XS>ySofU5VtOyK$~x}+ zz$aM+dCd-=T_KihF{lUh`81~eLUb!_a7!CaOkO+m1*h*Ln7-&;i2BDPXObA!LCRJ1Cw~9CGTv zd25cqc(E^Q6H)I$&u>C->&LZ_3dZ__^i7Qi1*PDj35c_}orG1tH zuqoT-HVXdCGI(su?1;*XA4UNsxzOrS|L!fZyYW`iPOv6o5=UD*Ya!%EhLWYOKcjBNDfQzxhGWww0--zoT#J@TIh@9)(Mc4_E7A z!x9(&P-&DUo$X>tSarZB@NV>L2HxI2ETjv^%|}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2KsvE0i;(aS8+k)) zD%Ygu;4+ENS+~e%s%L<|mawW*tYsjv)NY+M)r+I7H)g36aHIpBOJ%BJrkAotc*Mwg z;;LTTmUZSU-8@2b1>AA%>$UV2JmnT@s#v0l*#A%(pV$F>s4#P$@VPm7o|6LjRTdD# zkn`-K;6<<{S2`8HsN2V$s(7?QpbC38RZ4Rq)%^5d0J2tA)eA-hU1P@Nti! zN)TF%I`i*GpiG - - - -server: src/server.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/server.c

-
-
-Go to the documentation of this file.
00001 #include <poll.h> /* for select system call and related */
-00002 #include <string.h>     /* for memset and stuff */
-00003 #include <stdlib.h>     /* for getopt */
-00004 
-00005 #include "class.h"
-00006 #include "server.h"
-00007 #include "socket.h"
-00008 #include "logger.h"
-00009 #include "interface/class.h"
-00010 
-00011 static
-00012 void
-00013 ctor(void * _this, va_list * params)
-00014 {
-00015         Server       this = _this;
-00016         in_port_t    port;
-00017         unsigned int backlog;
-00018 
-00019         this->logger = va_arg(* params, Logger);
-00020         this->reader = va_arg(* params, void*);
-00021         port         = va_arg(* params, int);
-00022         backlog      = va_arg(* params, unsigned int);
-00023 
-00024         this->sock = new(Sock, this->logger, port);
-00025         socketListen(this->sock, backlog);
-00026 
-00027         (this->fds)[0].fd     = this->sock->handle;
-00028         (this->fds)[0].events = POLLIN;
-00029         this->nfds = 1;
-00030 }
-00031 
-00032 static
-00033 void
-00034 dtor(void * _this)
-00035 {
-00036         Server this = _this;
-00037     int    i;
-00038 
-00039     for (i=1; i<this->nfds; i++) {
-00040                 /*
-00041                  * @TODO do some finalization...buffer handling...etc.
-00042                  */
-00043                 delete(&(this->conns[i]).sock);
-00044                 delete(&(this->conns[i]).reader);
-00045     }
-00046 
-00047         delete(&this->sock);
-00048 }
-00049 
-00050 INIT_IFACE(Class, ctor, dtor, NULL);
-00051 CREATE_CLASS(Server, NULL, IFACE(Class));
-00052 
-00053 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/server_8h.html b/docs/html/server_8h.html deleted file mode 100644 index e967da6..0000000 --- a/docs/html/server_8h.html +++ /dev/null @@ -1,431 +0,0 @@ - - - - -server: include/server.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

include/server.h File Reference

-
-
-
#include <stdio.h>
-#include <poll.h>
-#include "class.h"
-#include "socket.h"
-#include "logger.h"
-
-Include dependency graph for server.h:
-
-
- - -
-
-

Go to the source code of this file.

- - - - - - - - - - - -

-Classes

struct  Server

-Defines

#define POLL_FD_NSIZE   1024
#define POLL_FD_SIZE   (sizeof(struct pollfd) * POLL_FD_NSIZE)
#define MOVE_SIZE(size, idx)   ((size) * (POLL_FD_NSIZE-((idx)+1)))
#define CLEAR_CONN(server, idx)

-Functions

void serverRun (Server this)
void serverCloseConn (Server this, unsigned int handle)
-

Define Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
#define CLEAR_CONN( server,
 idx 
)
-
-
-Value:
memmove(&(((server)->fds)[(idx)]), \
-                        &(((server)->fds)[(idx)+1]), \
-                        MOVE_SIZE(sizeof(((server)->fds)[0]),(idx))); \
-        memmove(&(((server)->conns)[(idx)]), \
-                        &(((server)->conns)[(idx)+1]), \
-                        MOVE_SIZE(sizeof(((server)->conns)[0]),(idx)))
-
-

Definition at line 15 of file server.h.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
#define MOVE_SIZE( size,
 idx 
)   ((size) * (POLL_FD_NSIZE-((idx)+1)))
-
-
- -

Definition at line 14 of file server.h.

- -
-
- -
-
- - - - -
#define POLL_FD_NSIZE   1024
-
-
- -

Definition at line 11 of file server.h.

- -
-
- -
-
- - - - -
#define POLL_FD_SIZE   (sizeof(struct pollfd) * POLL_FD_NSIZE)
-
-
- -

Definition at line 12 of file server.h.

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void serverCloseConn (Server this,
unsigned int handle 
)
-
-
- -

Definition at line 7 of file close_conn.c.

-
{
-        int fd = (this->fds)[i].fd;
-
-        delete(&((this->conns)[fd].sock));
-        delete(&((this->conns)[fd].reader));
-        memset((this->conns)[fd].wbuf, 0, strlen((this->conns)[fd].wbuf));
-        (this->fds)[i].events = 0;
-        (this->fds)[i].revents = 0;
-        (this->fds)[i].fd = 0;
-        this->ndel++;
-//      CLEAR_CONN(this, i);
-//      this->nfds--;
-}
-
-

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - -
void serverRun (Server this)
-
-
- -

: actually this is the main loop of my server. When stuff becomes more complicated it might be feasabible to split stuff into separate processes. This will definetly involve some IPC and syncing. Right now as this is actually only a simple HTTP server implementation we go on with this single process. What we can first do to get some processing between read/write cicles is to use the poll timeout.

-

handle accept

-

handle reads

-

do some other processing : actually this will hard assume that our stream reader is a http parser and it has its queue...think about more generalizing here.

-

: for now simply remove request and send not found. Make this sane.

-

: the complete response stuff have to be removed here.

-

: just to send an answer and be able to make some apache benchs i do it here...this definetly MUST BE moved

-

handle writes

-

- -

Definition at line 30 of file run.c.

-
{
-    loggerLog(this->logger, LOGGER_INFO, "service started");
-
-    while (!doShutdown) /* until error or signal  */
-    {
-                int          events;
-                unsigned int i;
-
-                events = serverPoll(this);
-                if (doShutdown) break;
-
-                for (i=0; i < events; i++) {
-                        int fd = (this->fds)[i].fd;
-                        //int nreads = 0, nwrites = 0;
-
-                        if (0 != ((this->fds)[i].revents & POLLIN)) {
-                                if (this->sock->handle == (this->fds)[i].fd) {
-                                        serverHandleAccept(this);
-                                }
-
-                                else {
-                                        int size;
-                                        if (0 < (size=serverRead(this, i))) {
-                                                int              j;
-                                                HttpRequestQueue queue =
-                                                        ((HttpRequestParser)(this->conns)[fd].reader)->request_queue;
-
-                                                for (j=0; j<queue->nrequests; j++) {
-                                                        HttpRequest request = queue->requests[j];
-
-                                                        //if (NULL != request->body) {
-                                                        //      puts("==REQUEST BODY==");
-                                                        //      puts(request->body);
-                                                        //}
-
-                                                        delete(&request);
-
-                                                        time_t t;
-                                                        struct tm * tmp;
-                                                        char timestr[200];
-
-#define RESP_HEAD "HTTP/1.1 404 Not Found\r\n" \
-                                                        "Content-Type: text/html\r\n" \
-                                                        "Content-Length: %lu\r\n" \
-                                                        "Date: %s\r\n" \
-                                                        "Server: testserver\r\n"
-
-#define RESP_DATA "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n" \
-                                                        "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n" \
-                                                        " \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n" \
-                                                        "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n" \
-                                                        "<head><title>404 - Not Found</title></head>" \
-                                                        "<body><h1>404 - Not Found</h1></body>" \
-                                                        "</html>"
-
-                                                        t = time(NULL);
-                                                        tmp = localtime(&t);
-                                                        strftime(timestr, sizeof(timestr), "%a, %d %b %Y %T %Z", tmp);
-
-                                                        sprintf((this->conns)[fd].wbuf, RESP_HEAD "\r\n" RESP_DATA, sizeof(RESP_DATA), timestr);
-                                                        (this->fds)[i].events = (this->fds)[i].events | POLLOUT;
-                                                }
-
-                                                queue->nrequests = 0;
-                                        }
-                                }
-                        }
-
-                        if (0 != ((this->fds)[i].revents & POLLOUT)) {
-                                int size;
-
-                                size = write(
-                                                (this->fds)[i].fd,
-                                                (this->conns)[fd].wbuf,
-                                                strlen((this->conns)[fd].wbuf));
-
-                                if (size == strlen((this->conns)[fd].wbuf) ||
-                                                -1 == size) {
-                                        if (-1 == size) {
-                                                loggerLog(this->logger, LOGGER_ERR,
-                                                                "write error, closing connection");
-                                        }
-
-                                        serverCloseConn(this, i);
-                                }
-                                else {
-                                        memmove((this->conns)[fd].wbuf,
-                                                        (this->conns)[fd].wbuf + size,
-                                                        strlen((this->conns)[fd].wbuf) - size + 1);
-                                }
-                        }
-                }
-    }
-}
-
-

-Here is the call graph for this function:
-
-
- - -
-

- -

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/server_8h__incl.map b/docs/html/server_8h__incl.map deleted file mode 100644 index 80903a5..0000000 --- a/docs/html/server_8h__incl.map +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/docs/html/server_8h__incl.md5 b/docs/html/server_8h__incl.md5 deleted file mode 100644 index 61931ce..0000000 --- a/docs/html/server_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -aa704eb82919e8440dce9f03f3c53cc2 \ No newline at end of file diff --git a/docs/html/server_8h__incl.png b/docs/html/server_8h__incl.png deleted file mode 100644 index c323b158f6704abfafb5931cecaf6fa950c97b66..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5532 zcmZu#2{csi|0Ys)ktIUP($_9aArxgvmM}Bc%Z!W|l6|MLlOOGSjj?O2;XnQU|MNe;^E&=6hV=;+8Ibdx~8Vhpe{w`RCD_Z`W=z|U@S zV|6cB;Yc z{D^Zc&U_%^?xj=<>0j%so7>3J<_sy*iT1OY15$sAuB;>;_|i^wFwPK@25z>+=qU0u zk-Cb6GTz--3CpoL~g4ndMhDg_Th;09mbnJq*=f_ZckCxisDp7LnG2X{}@>FKjdwrb=cH zcm6D?n&+=NOObpgAZ@pC$c(jN#<>f*U7S;OvExK?D}OQ1E`L~cE_OY==T!%- zOVVXB9x+wkt0$1K>@vw5_qI3EJ?1Lr3A?*vSc(h;9wdpCN)cA{I|oJhBQ-)eWondB zFJtA5M zNyzi8b5<~=23u54#^QW7f~BWb44@UVrYCAf>dqFL5-#0^#8=AHpF}v#B~BUjaP1rI zyAx7u-_K`4+!BITV_lQSYVD(i+MT@SkmKcQT2@-suhZ zc{YNZEF^U{o)APly`4&i-tm^rDH$el|LLEW)Dk3ORK8p>NsfcLLVc}HvxA+L(~?*I zvJSqPe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ff --git a/docs/html/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 b/docs/html/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 deleted file mode 100644 index 73df168..0000000 --- a/docs/html/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -7a132c7f4a071fc3ade2758932a38a64 \ No newline at end of file diff --git a/docs/html/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.png b/docs/html/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.png deleted file mode 100644 index 2743798b96ffa8e0eb801f07cfaffce31f2480d2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1162 zcmV;51aCcPcXt;T7mtsRzrVlJ)6)O| z0RR90d-k(z00001bW%=J06^y0W&i*K{7FPXRCt{2n~RpCAPj~XRM?8Q!}~w%0tp&A z^x|%5#pXY=vSL8^gitRLg2iI7SZ9`fxjx;a|Iy1E&oqiw_)akmDyBijG^m&c71N;F z8n2(}htx9NPjEx(9!+5`8kcQMw-{Cjnn$r2DLd8V5T!S+r zKF~qSXpyb32K_jZ-CX0PpAJon$(_1#7WL6U`Q2ROJ0*ow4JLQ$%2`xP!z7Tq&U9*9yXmSUrpmDW%0cD~PEU(wiv)@+TmnI_{qJWqd27z~)@bLL3H|Al{x z9fSSpXxMQW?PB_2xcI(b=5g|f7R(xgyYMuIz9%$#S86yNjlmk7J~IvQ8@+cD;1?VR?^ZGEn#Q>FXQnZ_HN}mOewuom1<+s2A~gKgIO8+Zc$Jt2 z(_k9UsM=fDLSy6lS@>@q6Il6YUwJ6UdqXYaNDEy_y9vzKF{wtn$=}(jkw cu~>ELFJ1J{)9Eh(*Z=?k07*qoM6N<$f - - diff --git a/docs/html/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 b/docs/html/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 deleted file mode 100644 index e321b7b..0000000 --- a/docs/html/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -ce960d181d782373295747cea9ba8363 \ No newline at end of file diff --git a/docs/html/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.png b/docs/html/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.png deleted file mode 100644 index eb08ad78ecb8f7bfd07bb2ed50f828934a97e58a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 532 zcmV+v0_**WP)CcPcXt;T7mtsRzrVlJ)6)O| z0RR90g=iaa00001bW%=J06^y0W&i*IhDk(0R9J=W)@^gbAPfLtu#~P4UXK6&V;2Zk zoVtOvesIYNdRWdp5Nd_s;NbYcNJqpQlDL{4UmxR!(FuYLY+wT$KFd(<&TDv^LEZgw zry&4<@!bX~cN*pc41gV!zQZ8pUPH%>))0L1E=KFU&1nYzWy`|Xp*#}KhWsimCReV% zV~`X>8Kp(*dC>`1e>x>Sms%==eTL+~rDzSnnloO5^BETF5R_w(4PZ=TFgOct404Mx zgB43@3O_1*D~9r^#{kLZR6KTJrE(=1i=whhn zAv`eb*@ugPR)5ey=fULSr+UZi^C7Q8KMgLLhX&Cwo-`;l%xM}lIJ__6UKsC9trNAZD!>s|O9QikJS!b - - - diff --git a/docs/html/server_8h_a81f787254ea87cbc851d292e5a7d195d_icgraph.md5 b/docs/html/server_8h_a81f787254ea87cbc851d292e5a7d195d_icgraph.md5 deleted file mode 100644 index 7ae5cd5..0000000 --- a/docs/html/server_8h_a81f787254ea87cbc851d292e5a7d195d_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -ec0f0d34bf543ab4e0985794d4eb997c \ No newline at end of file diff --git a/docs/html/server_8h_a81f787254ea87cbc851d292e5a7d195d_icgraph.png b/docs/html/server_8h_a81f787254ea87cbc851d292e5a7d195d_icgraph.png deleted file mode 100644 index 054f982ff143709fa5dd1c2097985933aeb256d8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 935 zcmV;Y16cftP)0000yP)t-s{{R0O z8E`*8KYxFJ-rwJzpPwHeAHKi8BO@a(FE2+&M_*rGr>CcPcXt;T7mtsRzrVlJ)6)O| z0RR90p7cV}00001bW%=J06^y0W&i*K8A(JzRA_23^m+n4lBrk6r1eO4-l$adb#CzTC67tT9kzOV=ZUJ_G) zmq~!v&9#0^0bV8nUN_hJF$H*;z8<)@A&%4H&pmm@HvmtY;C84R^UrI4^LmSg&A6?@Hc%1wc7iYa65$`xp z0ckF5LJOEZO-A5$^d1J*yz=8Z$$Nh}$dqLp-4tSHRT@r)C8s;D45=@|-xD(`* zWXij1cfj=>jFLsH;ovj0tz+Q#*Ej(V1sOdSs`o^54%5iB>pcOdN1_c|g|i>e+GcDO zehR#x!WEPe+_+fInkpFjN#81}aIJU1xrYxYz>6w;15S0F1)O@Z#a3*2pB>WEkW6IR zZws$`I6H3J!b=Z-09@_T&CE6RaEA@s@%Go?Q|0vsOFs)Jo<4)6(f z8#C5sunPmXG@eYn5lpW&^RnBeupc{KW^B8Z$G|W7=H&`|1K5TrXN+6lHyn*8(+)Tu zJDB_k_=}6!RXFU8dS|kL|GnP+;`4;+zWDs=@;$&a7hX+Y|67UxFS>>R7vObstshf> zmq~!v&9#0^0bV8nUN_hJF$;lzR=ErRf;ANWtD8t95{dpt{Qzr^2Af2eQ#=3w002ov JPDHLkV1kRVv1|YU diff --git a/docs/html/server_8h_source.html b/docs/html/server_8h_source.html deleted file mode 100644 index 6b3cb88..0000000 --- a/docs/html/server_8h_source.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - -server: include/server.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

include/server.h

-
-
-Go to the documentation of this file.
00001 #ifndef __SERVER_H__
-00002 #define __SERVER_H__
-00003 
-00004 #include <stdio.h>      /* for printf() and fprintf() */
-00005 #include <poll.h> /* for select system call and related */
-00006 
-00007 #include "class.h"
-00008 #include "socket.h"
-00009 #include "logger.h"
-00010 
-00011 #define POLL_FD_NSIZE           1024
-00012 #define POLL_FD_SIZE            (sizeof(struct pollfd) * POLL_FD_NSIZE)
-00013 
-00014 #define MOVE_SIZE(size,idx)     ((size) * (POLL_FD_NSIZE-((idx)+1)))
-00015 #define CLEAR_CONN(server,idx)  \
-00016         memmove(&(((server)->fds)[(idx)]), \
-00017                         &(((server)->fds)[(idx)+1]), \
-00018                         MOVE_SIZE(sizeof(((server)->fds)[0]),(idx))); \
-00019         memmove(&(((server)->conns)[(idx)]), \
-00020                         &(((server)->conns)[(idx)+1]), \
-00021                         MOVE_SIZE(sizeof(((server)->conns)[0]),(idx)))
-00022 
-00023 
-00024 CLASS(Server) {
-00025         Logger        logger;
-00026         Sock          sock;
-00027         void *        reader;
-00028 
-00037         nfds_t        nfds;
-00038         nfds_t        ndel;
-00039         struct pollfd fds[POLL_FD_NSIZE];
-00040 
-00041         struct {
-00042                 Sock         sock;
-00043                 void *       reader;
-00044 
-00045                 char         wbuf[2048];
-00046                 char *       rbuf;
-00047                 unsigned int rpos;
-00048                 unsigned int wpos;
-00049         } conns[POLL_FD_NSIZE];
-00050 };
-00051 
-00052 void serverRun(Server this);
-00053 void serverCloseConn(Server this, unsigned int handle);
-00054 
-00055 #endif // __SERVER_H__
-00056 
-00057 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/signalHandling_8c.html b/docs/html/signalHandling_8c.html deleted file mode 100644 index 3693745..0000000 --- a/docs/html/signalHandling_8c.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - -server: src/signalHandling.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/signalHandling.c File Reference

-
-
-
#include <signal.h>
-
-Include dependency graph for signalHandling.c:
-
-
-
-
-

Go to the source code of this file.

- - - - - - -

-Functions

void terminate (int signum)
void init_signals (void)

-Variables

volatile int doShutdown
-

Function Documentation

- -
-
- - - - - - - - -
void init_signals (void )
-
-
- -

Definition at line 14 of file signalHandling.c.

-
{
-    signal(SIGTERM, terminate);
-    signal(SIGHUP, SIG_IGN);
-    signal(SIGINT, terminate);
-    signal(SIGQUIT, terminate);
-    signal(SIGABRT, terminate);
-    signal(SIGALRM, SIG_IGN);
-    signal(SIGURG, SIG_IGN);
-
-    signal(SIGPIPE, SIG_IGN);
-}
-
-

-Here is the call graph for this function:
-
-
- - -
-

- -

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - -
void terminate (int signum)
-
-
- -

Definition at line 5 of file signalHandling.c.

-
{
-    signal(signum, SIG_IGN);
-    /*
-     * @TODO do logging here
-     */
-    doShutdown = 1;
-}
-
-

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
-

Variable Documentation

- -
-
- - - - -
volatile int doShutdown
-
-
- -

Definition at line 3 of file signalHandling.c.

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/signalHandling_8c__incl.map b/docs/html/signalHandling_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/signalHandling_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/signalHandling_8c__incl.md5 b/docs/html/signalHandling_8c__incl.md5 deleted file mode 100644 index 60a7a98..0000000 --- a/docs/html/signalHandling_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -3538ad32acaa8a47394aa089a58b6b07 \ No newline at end of file diff --git a/docs/html/signalHandling_8c__incl.png b/docs/html/signalHandling_8c__incl.png deleted file mode 100644 index bb7e9a28e47e62c1e64e3d16d7da1e96d072c8c7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 886 zcmV-+1Bv{JP)A#!cNZ5IkB^VPzrWMd z(*OVf|NsB>yEVH20004WQchC9u`&c@X$Iy>5`*Q6!E*KaU}{X?tj(hVP~KFn zj4N1O{W6%g$zSdQTU-4y*znY96WB(qRWNJ7Xa&|-Cyg1E@1zfUb8TR-;6NKg6|e)~ zbpaMaE=`fRK&MuwWzmHcl57A2tu&ep#HG|Aoz^i(`L(eMDIJV7%f;&gY&j(HRnme8 z7RHi`=kiIOgDH@Tp79B5Zb|Vz68>SguM0yM5_ul%h~)>jYL; z-Lh(DgSF7KzGI@ppE?BVL*ww#&%pZc?L5Dg5<7_becE`XufDG346J=W7}e>|tYQ%% z)aXL6yFC^VS_EsL_ow0-Fg$L;=Wpm#iV2|+qLYFKrW(E%EUBloUA@a=w;q``qR02N zZkNYyJv7BuinTk_R*${ - - diff --git a/docs/html/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_cgraph.md5 b/docs/html/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_cgraph.md5 deleted file mode 100644 index dfd9b04..0000000 --- a/docs/html/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -64ea50b0262594aadd93ea6a859a3baf \ No newline at end of file diff --git a/docs/html/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_cgraph.png b/docs/html/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_cgraph.png deleted file mode 100644 index bf6b20798395ac4fa25ac82ea2158f529dcf6101..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 608 zcmV-m0-ybfP))3M;8|tcXxMRUtg!Er@z0y)6>%c00960 z|49xt&j0`b0d!JMQvg8b*k%9#0o6%FK~!jg?U)IVgCG!vsRxKKnEC&Ic89}CJzBiB z$?m*_i12FX%L7a+1dGLD-7dUK->oBi@NkcI1Mc(}KaBwykO3Kx0WSh{xamRN^Sx+i;;D2!4lof>q@{3F$dg{{)TsRiJ~6m0!zRU`72(ViRz}oe*`4{xW$B0effB z`Cc9iS{kJhYqTSjVYE%|=r{%#8D|MLpj6u^Y-^eVQH7=gASmjMm&scQsHwC$phIxs z5<>DIqm4og?<ONQg5)seDL^5U9jDwFnq`!p|qb=q&_vD}aOUX=Ty~y0qhxO?O=% z-O=#^_}Hme!1$XW?l4aoTbPM=b=yJ$T>15~7trVC@&u!8$~!tPPEe^gfMbwP?-{`5 z9t<`|fPnh^9-Niriw3{1U>lH*AJI^oyn6wMZknOP(*zFir>J=*2*%jnq~q1-Lx3wK ziPl#wC5Sf((#ctY%)AAFAEo^wv|W++#Ebp{9RvhQNzdMQCjhrf`Zd7u|Bak5yxIQ> u;3+X612P~3{u98vw6~K#MnW+F0000 - - diff --git a/docs/html/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_icgraph.md5 b/docs/html/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_icgraph.md5 deleted file mode 100644 index c7b3cd2..0000000 --- a/docs/html/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -f543007a99a67765a17c0102419a3407 \ No newline at end of file diff --git a/docs/html/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_icgraph.png b/docs/html/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_icgraph.png deleted file mode 100644 index 7cfec8c8dd24c97ffdd5dcc0a72221d07ce4d946..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 535 zcmV+y0_gpTP))3M;8|tcXxMRUtg!Er@z0y)6>%c00960 z|4j4aB>(^b0d!JMQvg8b*k%9#0gOpRK~z|U?U#veg&+_`MG-|7Gyngy9TpXrR&Z(Z z+PR65H(cTzh9$46NF>r<7QCfj$Rim&zN2D_LjQUQQ4j@D5XFa3SlGA5qwbuJM=AJW z?>7`CX<4;P)@&o$6pY=ZX!9xZX1X3h0DrI{{dMrUuda73G7O6ob`ZT`Qen&=|#tR?=d=<78Xh!Lg%Y>>7os zI{$ENa(sCT-^!zq`28(~1!MioPq)ih6O6C~2V Z(H8^0q6wq}--iGI002ovPDHLkV1flS>4g9Q diff --git a/docs/html/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.map b/docs/html/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.map deleted file mode 100644 index 2144eee..0000000 --- a/docs/html/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/html/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.md5 b/docs/html/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.md5 deleted file mode 100644 index 187d21f..0000000 --- a/docs/html/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -98b0cf0447ba9fddf6a8d7d86f2f02eb \ No newline at end of file diff --git a/docs/html/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.png b/docs/html/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.png deleted file mode 100644 index 2885cca9861d78c4fb6356d9b87cab38e0c58c2e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 761 zcmVBqK0000vP)t-s{{R0O z8E`*8Kfb@eA0Ho{pPzq!f8O8UcXxM>kB>)3M_*rGFE1|_7Z<0er@z0y)6>%c00960 z|NV3Jh5!Hn0d!JMQvg8b*k%9#0&Yn}K~!jg?U{{^s~`}CRZyx3g!g~h9T+WCu`55_ zo8HVxOc9SW!yrM=EYX9T*;RJyVE~ z^LK`hlw7o4rMBw~Ko;}xhxQB?4Ws=dcux%br*aueF?uUZd5@veuGKV90wD8tAVWVg?)t_My$6PUU(S%h#F3$}lkgwD)f}tc z27Th)o8u6-v1n+rIY0L2ZJ`}hz)=ieZc^{V55i#6SWHB_W1EbVp-t-~t#g9cr z-qgOl)nCl88^Q(HBDqI3xqX>G*E4ZGO1^E_oL$7N>O)MC$FN>4zuO+f+!Ds&p811y zB<}c{-^&y98asXuY!J7|{~Zj^|F(c - - - -server: src/signalHandling.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/signalHandling.c

-
-
-Go to the documentation of this file.
00001 #include <signal.h>     /* for signal() and signal names */
-00002 
-00003 volatile int doShutdown;
-00004 
-00005 void terminate(int signum)
-00006 {
-00007     signal(signum, SIG_IGN);
-00008     /*
-00009      * @TODO do logging here
-00010      */
-00011     doShutdown = 1;
-00012 }
-00013 
-00014 void init_signals(void)
-00015 {
-00016     signal(SIGTERM, terminate);
-00017     signal(SIGHUP, SIG_IGN);
-00018     signal(SIGINT, terminate);
-00019     signal(SIGQUIT, terminate);
-00020     signal(SIGABRT, terminate);
-00021     signal(SIGALRM, SIG_IGN);
-00022     signal(SIGURG, SIG_IGN);
-00023 
-00024     signal(SIGPIPE, SIG_IGN);
-00025 }
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/signalHandling_8h.html b/docs/html/signalHandling_8h.html deleted file mode 100644 index d9c6ccf..0000000 --- a/docs/html/signalHandling_8h.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - -server: include/signalHandling.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

include/signalHandling.h File Reference

-
-
- -

Go to the source code of this file.

- - - - - - -

-Functions

void terminate (int signum)
void init_signals (void)

-Variables

volatile int doShutdown
-

Function Documentation

- -
-
- - - - - - - - -
void init_signals (void )
-
-
- -

Definition at line 14 of file signalHandling.c.

-
{
-    signal(SIGTERM, terminate);
-    signal(SIGHUP, SIG_IGN);
-    signal(SIGINT, terminate);
-    signal(SIGQUIT, terminate);
-    signal(SIGABRT, terminate);
-    signal(SIGALRM, SIG_IGN);
-    signal(SIGURG, SIG_IGN);
-
-    signal(SIGPIPE, SIG_IGN);
-}
-
-

-Here is the call graph for this function:
-
-
- - -
-

- -

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - -
void terminate (int signum)
-
-
- -

Definition at line 5 of file signalHandling.c.

-
{
-    signal(signum, SIG_IGN);
-    /*
-     * @TODO do logging here
-     */
-    doShutdown = 1;
-}
-
-

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
-

Variable Documentation

- -
-
- - - - -
volatile int doShutdown
-
-
- -

Definition at line 3 of file signalHandling.c.

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.map b/docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.map deleted file mode 100644 index 9709800..0000000 --- a/docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.md5 b/docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.md5 deleted file mode 100644 index dfd9b04..0000000 --- a/docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -64ea50b0262594aadd93ea6a859a3baf \ No newline at end of file diff --git a/docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.png b/docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.png deleted file mode 100644 index bf6b20798395ac4fa25ac82ea2158f529dcf6101..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 608 zcmV-m0-ybfP))3M;8|tcXxMRUtg!Er@z0y)6>%c00960 z|49xt&j0`b0d!JMQvg8b*k%9#0o6%FK~!jg?U)IVgCG!vsRxKKnEC&Ic89}CJzBiB z$?m*_i12FX%L7a+1dGLD-7dUK->oBi@NkcI1Mc(}KaBwykO3Kx0WSh{xamRN^Sx+i;;D2!4lof>q@{3F$dg{{)TsRiJ~6m0!zRU`72(ViRz}oe*`4{xW$B0effB z`Cc9iS{kJhYqTSjVYE%|=r{%#8D|MLpj6u^Y-^eVQH7=gASmjMm&scQsHwC$phIxs z5<>DIqm4og?<ONQg5)seDL^5U9jDwFnq`!p|qb=q&_vD}aOUX=Ty~y0qhxO?O=% z-O=#^_}Hme!1$XW?l4aoTbPM=b=yJ$T>15~7trVC@&u!8$~!tPPEe^gfMbwP?-{`5 z9t<`|fPnh^9-Niriw3{1U>lH*AJI^oyn6wMZknOP(*zFir>J=*2*%jnq~q1-Lx3wK ziPl#wC5Sf((#ctY%)AAFAEo^wv|W++#Ebp{9RvhQNzdMQCjhrf`Zd7u|Bak5yxIQ> u;3+X612P~3{u98vw6~K#MnW+F0000 - - diff --git a/docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_icgraph.md5 b/docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_icgraph.md5 deleted file mode 100644 index c7b3cd2..0000000 --- a/docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -f543007a99a67765a17c0102419a3407 \ No newline at end of file diff --git a/docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_icgraph.png b/docs/html/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_icgraph.png deleted file mode 100644 index 7cfec8c8dd24c97ffdd5dcc0a72221d07ce4d946..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 535 zcmV+y0_gpTP))3M;8|tcXxMRUtg!Er@z0y)6>%c00960 z|4j4aB>(^b0d!JMQvg8b*k%9#0gOpRK~z|U?U#veg&+_`MG-|7Gyngy9TpXrR&Z(Z z+PR65H(cTzh9$46NF>r<7QCfj$Rim&zN2D_LjQUQQ4j@D5XFa3SlGA5qwbuJM=AJW z?>7`CX<4;P)@&o$6pY=ZX!9xZX1X3h0DrI{{dMrUuda73G7O6ob`ZT`Qen&=|#tR?=d=<78Xh!Lg%Y>>7os zI{$ENa(sCT-^!zq`28(~1!MioPq)ih6O6C~2V Z(H8^0q6wq}--iGI002ovPDHLkV1flS>4g9Q diff --git a/docs/html/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.map b/docs/html/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.map deleted file mode 100644 index 2144eee..0000000 --- a/docs/html/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/html/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.md5 b/docs/html/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.md5 deleted file mode 100644 index 187d21f..0000000 --- a/docs/html/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -98b0cf0447ba9fddf6a8d7d86f2f02eb \ No newline at end of file diff --git a/docs/html/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.png b/docs/html/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.png deleted file mode 100644 index 2885cca9861d78c4fb6356d9b87cab38e0c58c2e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 761 zcmVBqK0000vP)t-s{{R0O z8E`*8Kfb@eA0Ho{pPzq!f8O8UcXxM>kB>)3M_*rGFE1|_7Z<0er@z0y)6>%c00960 z|NV3Jh5!Hn0d!JMQvg8b*k%9#0&Yn}K~!jg?U{{^s~`}CRZyx3g!g~h9T+WCu`55_ zo8HVxOc9SW!yrM=EYX9T*;RJyVE~ z^LK`hlw7o4rMBw~Ko;}xhxQB?4Ws=dcux%br*aueF?uUZd5@veuGKV90wD8tAVWVg?)t_My$6PUU(S%h#F3$}lkgwD)f}tc z27Th)o8u6-v1n+rIY0L2ZJ`}hz)=ieZc^{V55i#6SWHB_W1EbVp-t-~t#g9cr z-qgOl)nCl88^Q(HBDqI3xqX>G*E4ZGO1^E_oL$7N>O)MC$FN>4zuO+f+!Ds&p811y zB<}c{-^&y98asXuY!J7|{~Zj^|F(c - - - -server: include/signalHandling.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

include/signalHandling.h

-
-
-Go to the documentation of this file.
00001 #ifndef __SIGNAL_HANDLING_H__
-00002 #define __SIGNAL_HANDLING_H__
-00003 
-00004 extern volatile int doShutdown;
-00005 
-00006 void terminate(int signum);
-00007 void init_signals(void);
-00008 
-00009 #endif // __SIGNAL_HANDLING_H__
-00010 
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/socket_8c.html b/docs/html/socket_8c.html deleted file mode 100644 index 0c005cb..0000000 --- a/docs/html/socket_8c.html +++ /dev/null @@ -1,207 +0,0 @@ - - - - -server: src/socket.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/socket.c File Reference

-
-
-
#include <errno.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include "socket.h"
-#include "logger.h"
-#include "interface/class.h"
-#include "interface/logger.h"
-
-Include dependency graph for socket.c:
-
-
- - -
-
-

Go to the source code of this file.

- - - - -

-Functions

 INIT_IFACE (Class, ctor, dtor, NULL)
 CREATE_CLASS (Sock, NULL, IFACE(Class))
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
CREATE_CLASS (Sock ,
NULL ,
IFACE(Class)  
)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INIT_IFACE (Class ,
ctor ,
dtor ,
NULL  
)
-
-
- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/socket_8c__incl.map b/docs/html/socket_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/socket_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/socket_8c__incl.md5 b/docs/html/socket_8c__incl.md5 deleted file mode 100644 index 8d33a8e..0000000 --- a/docs/html/socket_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -2470698c6348eafacde34d6d8f8fda9c \ No newline at end of file diff --git a/docs/html/socket_8c__incl.png b/docs/html/socket_8c__incl.png deleted file mode 100644 index 1d8903c62d64f53864c3f7d980cf8664bf944810..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2735 zcmZWrc|6pM7I!CQyOxZy6P2aSQW?7@TVp3{E|Y|iu{2D=sH|}rLfOO6L?MRMj7&wc zGj@0U%r#lVOe1Ed5%b*l$9wPdd7sbOKIeSS_nhzf>pXIDuoe}T6XxUN6NO!|aN*+v z0sC>Z;DLQxV^ANm?=Cypxmxb=c%M2uWo0AEpFMky!*!5IW@ct{RI0MFa$;iQJJu4u?abP}0)U7z~C)B8`oW?PKtGys!vChyCa`q>IB)q0g(nm2b^(8E1W&Sh~n`V-EiEFnGHVL-0-2c1ohornp!L`BGQ8l!tu;9aE|05NR z;Ql(Shd@Hxv^w?@1o>iLeI6iI2q0i2`XHflO&DoDHDL$Y5DQnXhEAP zT`$|L%w1#3ALTJJ#}uma4`^DiRVAUYl)I-D1ceL0Cq3>&trhRYcuFkbjwFA|K}ELv zCcP>hH@UAbRpS-~Qt_>Af?W1A0#KlNr~7*8k>M+Jm5=Ir&x^M}v>c2cH1e76Y3%W# zE#~bl8ADKHPkorFyWy*FcIXp%=bs0%4G%{3BxSZL$;+d+VCV11%wJOYw%FNeb+$uC zfBqGm@5j(3g-yy)NG7wM3B$ebEJO*+!_ScVNj_QOh9`z3#>Tb;XjBbqf5%Ke4xzR} zX8(>mlAib!glGw4eUDUG)!oYS+fSr`8k!wp^hNXY9?0-e89`D5D7-#)i-}iVzi6k} zt0_pTzT8l^ykifCP+=y!syme9P)>?ei~+1|;f$g^kN*mkb5SZrc9$B-^$uK_!Cdi^ zO6G+f^fenrm6}t}_@wE;l4*f`RM+nTBANq9@#nV{57lf6b@B2)HM)BSCpA_n$q;h<@{T%i z=#jD!9zxl-%s{@k4~_~;R8aS#9dry$5Xq3*O{_; zeGnbYvH0+sl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NGx2*&kEHeF?R4%t>!5gddpArLcah>gVP)eE&m z|Ae0um)L$}McfObeXe_0J$2Qzk?8F{c%>cXBO7B_@d(*O{HU@c))A> zi9=&QQg#aHpXVRlQ2difR~jW1RX9h~zkQ^GrL;#+Q10pjG&Ia-wvdqLOkvwSj#r+I zv1lvqDXxWx;k;u-*>;755~p5|R?l_0<9s%Vn>E*GW(x$f*hfDuWsUIDxOQ9N3X-LQM{Hj i0#Ba!?{Bv`&ii7UF!T*h`>_8r^1&<}EE+CffA}xxk$GkS diff --git a/docs/html/socket_8c_source.html b/docs/html/socket_8c_source.html deleted file mode 100644 index ab3edf4..0000000 --- a/docs/html/socket_8c_source.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - -server: src/socket.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/socket.c

-
-
-Go to the documentation of this file.
00001 #include <errno.h>
-00002 #include <stdlib.h>
-00003 #include <unistd.h>
-00004 
-00005 #include "socket.h"
-00006 #include "logger.h"
-00007 #include "interface/class.h"
-00008 #include "interface/logger.h"
-00009 
-00010 static
-00011 void
-00012 ctor(void * _this, va_list * params)
-00013 {
-00014         Sock this = _this;
-00015         int reUse   = 1;     /* TODO: make this configurable */
-00016 
-00017         this->log  = va_arg(* params, Logger);
-00018         this->port = va_arg(* params, int);
-00019 
-00020         /* Create socket for incoming connections */
-00021         if (-1 == (this->handle = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP))) {
-00022                 loggerLog(this->log, LOGGER_CRIT,
-00023                                 "error opening socket: %s - service terminated",
-00024                                 strerror(errno));
-00025                 //exit(EXIT_FAILURE);
-00032                 return;
-00033         }
-00034 
-00035         /* Make the socket REUSE a TIME_WAIT socket */
-00036         setsockopt(this->handle, SOL_SOCKET, SO_REUSEADDR, &reUse, sizeof (reUse));
-00037 }
-00038 
-00039 static
-00040 void
-00041 dtor(void * _this)
-00042 {
-00043         Sock this = _this;
-00044 
-00045         if (0 != this->handle) {
-00046                 shutdown(this->handle, SHUT_RDWR);
-00047                 close(this->handle);
-00048         }
-00049 }
-00050 
-00051 INIT_IFACE(Class, ctor, dtor, NULL);
-00052 CREATE_CLASS(Sock, NULL, IFACE(Class));
-00053 
-00054 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/socket_8h.html b/docs/html/socket_8h.html deleted file mode 100644 index ccbdb4c..0000000 --- a/docs/html/socket_8h.html +++ /dev/null @@ -1,315 +0,0 @@ - - - - -server: include/socket.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

include/socket.h File Reference

-
-
-
#include <arpa/inet.h>
-#include "class.h"
-#include "logger.h"
-
-Include dependency graph for socket.h:
-
-
- - -
-
-This graph shows which files directly or indirectly include this file:
-
-
- - -
-
-

Go to the source code of this file.

- - - - - - - -

-Classes

struct  Sock

-Functions

void socketConnect (Sock this, const char *addr)
void socketListen (Sock this, int backlog)
Sock socketAccept (Sock this, char remoteAddr[16])
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
Sock socketAccept (Sock this,
char remoteAddr[16] 
)
-
-
- -

: Uhh, this is bad. we open a new socket additionally to the one we get from the accept call. i have to change the socket constructor to be able to create the data structure without creation of a socket at all. For now i simply close the socket here.... :D

-

: change port to remote port on success

-

- -

Definition at line 9 of file accept.c.

-
{
-    Sock         sock;   /* Socket for client */
-    unsigned int len;    /* Length of client address data structure */
-
-    /* Set the size of the in-out parameter */
-    len = sizeof(this->addr);
-
-        sock = new(Sock, this->log, this->port);
-        close(sock->handle);
-    /* Wait for a client to connect */
-    sock->handle = accept(this->handle, (struct sockaddr *) &(sock->addr), &len);
-    if (-1 == sock->handle) {
-        loggerLog(this->log, LOGGER_WARNING,
-                "error accepting connection: %s", strerror(errno));
-    } else {
-        loggerLog(this->log, LOGGER_INFO,
-                                "handling client %s\n", inet_ntoa((sock->addr).sin_addr));
-    }
-
-    return sock;
-}
-
-

-Here is the call graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void socketConnect (Sock this,
const char * addr 
)
-
-
- -

Definition at line 10 of file connect.c.

-
{
-        inet_pton(AF_INET, addr, &((this->addr).sin_addr));
-    (this->addr).sin_family = AF_INET;           /* Internet address family */
-    (this->addr).sin_port   = htons(this->port); /* Local port */
-
-        if (-1 == connect(this->handle, (struct sockaddr*) &(this->addr), sizeof(this->addr))) {
-        loggerLog(this->log, LOGGER_CRIT,
-                "error connection socket: %s - service terminated",
-                strerror(errno));
-        exit(EXIT_FAILURE);
-    }
-}
-
-

-Here is the call graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void socketListen (Sock this,
int backlog 
)
-
-
- -

Definition at line 10 of file listen.c.

-
{
-    (this->addr).sin_family      = AF_INET;           /* Internet address family */
-    (this->addr).sin_addr.s_addr = htonl(INADDR_ANY); /* Any incoming interface */
-    (this->addr).sin_port        = htons(this->port); /* Local port */
-
-    /* Bind to the local address */
-    if (-1 == bind(this->handle, (struct sockaddr *) &(this->addr), sizeof(this->addr))) {
-        loggerLog(this->log, LOGGER_CRIT,
-                "error binding socket: %s - service terminated",
-                strerror(errno));
-        exit(EXIT_FAILURE);
-    }
-
-    /* Mark the socket so it will listen for incoming connections */
-    if (-1 == listen(this->handle, backlog)) {
-        loggerLog(this->log, LOGGER_CRIT,
-                "error binding socket: %s - service terminated",
-                strerror(errno));
-        exit(EXIT_FAILURE);
-    }
-}
-
-

-Here is the call graph for this function:
-
-
- - -
-

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/socket_8h__dep__incl.map b/docs/html/socket_8h__dep__incl.map deleted file mode 100644 index 54b15a3..0000000 --- a/docs/html/socket_8h__dep__incl.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/socket_8h__dep__incl.md5 b/docs/html/socket_8h__dep__incl.md5 deleted file mode 100644 index b436909..0000000 --- a/docs/html/socket_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -20effb8f72c0f50407e141d8ee2593fe \ No newline at end of file diff --git a/docs/html/socket_8h__dep__incl.png b/docs/html/socket_8h__dep__incl.png deleted file mode 100644 index bc0ce44ee08afa8293d120c5e18714df5fdf1b02..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 848 zcmeAS@N?(olHy`uVBq!ia0vp^4M1GV!3-of?w1S(QkDTeA+G=a|Cf|3u(!A0w|~F9 zy!^cR^Xu#D@7=$zudmoJ zx6b;JVpD|#1%GmBK0m>xFkg{Lfgzr20-pi@walF_zgHyjPPbxQAg%C=uR&xUOU0YK z?enVrV#4l9YV15BpusP2Xi|Z%-3|U0qvMC91GFDFb54|tJj{MW#3?H*b8DcKA-aWcUgzMo>cCl4@bx)#g zH*6`(3=>t@$Kv37K6t`Hmi>N=wh8C;OF1@fetB=YrbaH8k={+N_N_6^-x>ZaKaL-~!$4P_VP&wXX~xyumtpTA+T4THq)$M#bj z7j>DoeKL?_=DRL3`LW-!o^2nFg=jDEH4HQD)xPy&qMz8_(20j;8QtxyU}l)(`sAdA zxu0~y$%uBrt1MdNh06u1a7&z!iH-UwnH5+rFf$SH2y1@g`w$(CX9A8CFzO z={DM>9I#x~aH%Ue+SGKGSy_%}WT-w<0Y3wC1ZzfO?=v|DE&aL`-uxlH-DwhER&83( z6ma>o$cmK`dx2ri(C04el#} - - - - diff --git a/docs/html/socket_8h__incl.md5 b/docs/html/socket_8h__incl.md5 deleted file mode 100644 index db45875..0000000 --- a/docs/html/socket_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -4951f308a7a6703f369d2af2519b9e75 \ No newline at end of file diff --git a/docs/html/socket_8h__incl.png b/docs/html/socket_8h__incl.png deleted file mode 100644 index 6bd9b8bc93099341c69c4fc27dfdea9ba388e1c6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal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;Z54k>*UjP6A diff --git a/docs/html/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.map b/docs/html/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.map deleted file mode 100644 index 26da2f8..0000000 --- a/docs/html/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 b/docs/html/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 deleted file mode 100644 index 9a38935..0000000 --- a/docs/html/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -fa824e3c68242e391222394188b16371 \ No newline at end of file diff --git a/docs/html/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.png b/docs/html/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.png deleted file mode 100644 index 631e47c0af5016309c2642222f012f85dda4731f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 680 zcmV;Z0$2TsP)%c00960 z|GiSOk^lez0d!JMQvg8b*k%9#0v$<2K~!jg?U)U7f-nq*u|PjkN-zKa&n`(*z|A>u zlet~rJB_7pxjrQ6sa@C9)YSCXh3Dw^ceTBHK0}9@5BiVYu`xI1#@v`2^S@$_x8?!i zJZ86NExM;M$0Q*o{{^EOk1$^@FUpMNea3iX*-qvS^?A&5!ZhU=QsUZ$ltSdqLy9tj zO!GY9^J>@zkmo@|H6CVOu&BmOK|{b?jh{ z2wbvUw^L%W94ERab@R>Km+aCV-ZyJCJI&ma3alrt>n5bCI$*)z_?pguMH zL_fdV;ivr!+|QuQ#*rTAXUY#!*4A?y! - - diff --git a/docs/html/socket_8h_a757c220e9371523ef55b1137a1efed57_cgraph.md5 b/docs/html/socket_8h_a757c220e9371523ef55b1137a1efed57_cgraph.md5 deleted file mode 100644 index 8831f43..0000000 --- a/docs/html/socket_8h_a757c220e9371523ef55b1137a1efed57_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -8abcb500cd410e634be8b7931a7e0a32 \ No newline at end of file diff --git a/docs/html/socket_8h_a757c220e9371523ef55b1137a1efed57_cgraph.png b/docs/html/socket_8h_a757c220e9371523ef55b1137a1efed57_cgraph.png deleted file mode 100644 index 41e24ebc8b97709a38f5f5a8b63c46596a18e6da..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 655 zcmV;A0&x9_P)%c00960 z|GiSOk^lez0d!JMQvg8b*k%9#0t87!K~!jg?U(D4!XONVD{Y~WQYP>JvKvUS7ppFI zyXp+*he&eh@R`8arm3o`s``B4*?RwmmJbi-s+_iTLCFIvZKbWWmA2BpytzM70WI9- z5$+`ZoYwqiF`Bbz!OygA6+A+FxqK)sUTN=HUZTA$fd7ql^619^*85mE=e>o9;yk38 z3zT1WGW%1|@fsX?ET_Hlu4#?ax~H$L#!g`#nm$DhDy=fDIJ4t9Esii^umb>XnHXVk z1m%VZYh|{iWq9 zeW0oZ7%7%^AIm!pYg+NgAg3ueZ9Bb)HUh6{BTK6r-O{v085&Jd)luHeoy^YccupH8 zi^G(N=p#c7gN>U`+SE4rxynhLThm^OwWLiaSDLEe-2Tnnu@v*S0kR8%68+R|)t zse}_34`551{JFLOd$gz3)|eG-d2Mgct>s%P1Z(q*x)p%I=X1;HqqN)2-95K1o?9oh z%8<&>Emah$qVt`Md?$xEr6AD^xNK_nry!?~(C%z*aVPijs?~XDDC(qR^BcQ3v*S7K z89MUsVwQ^S+IBKLc-D^N!)VvqUC?XQDBa5NVD*mU`)Ff>N}s02euTSqd?D=tRoY5h pX)Em)(Vng1&AojGRaI3Vq93k9w- - - diff --git a/docs/html/socket_8h_adbfc4792c437102f20e2c86c4ee8581b_cgraph.md5 b/docs/html/socket_8h_adbfc4792c437102f20e2c86c4ee8581b_cgraph.md5 deleted file mode 100644 index 995511b..0000000 --- a/docs/html/socket_8h_adbfc4792c437102f20e2c86c4ee8581b_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -407886eba5bb27f4936db6d792217edc \ No newline at end of file diff --git a/docs/html/socket_8h_adbfc4792c437102f20e2c86c4ee8581b_cgraph.png b/docs/html/socket_8h_adbfc4792c437102f20e2c86c4ee8581b_cgraph.png deleted file mode 100644 index 17319e97712d5316eac8260df8551f11e02cfb65..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 693 zcmV;m0!safP)%c00960 z|GiSOk^lez0d!JMQvg8b*k%9#0xC&FK~!jg?U?Jbs~`-8Eh@K&Oy2)xPXeJ{w!4FN zj{C;?VG67`dRJ2jERG6#K+j-IFoj5~Ai_j_iI&Sh+a0|)`3PY89K@Q_-=ru0Ej_dKy3;*1dz8>= z>Qw`cn`Px^XK_@}$JwEs(|qZYApx!BeV$*B(pX;kvyE#f)8`;oc}9Es$7!wU)6SQN zKv9Cc2j+7@=*3waRrFL!gi?EI&Airui^>HBSe<$WEab<;=%?=0|Q)C)M00eEzjF z$K}l5(u*~vOU4EIgUPPW{E?4xT|!5_URHSd2Sc32Q9*x$-ubn&Nb&OS2MI53b>R5! z^cx)}j9PU{_Yz)YA2@zKJuhfk*J&fX!rwc70sR|l^h=}BH~L2Z_vmld>B)Zi44Rsn beu@48GmOrwnag?h00000NkvXXu0mjfSaDy< diff --git a/docs/html/socket_8h_source.html b/docs/html/socket_8h_source.html deleted file mode 100644 index 4e5be69..0000000 --- a/docs/html/socket_8h_source.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - -server: include/socket.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

include/socket.h

-
-
-Go to the documentation of this file.
00001 #ifndef __SOCKET_H__
-00002 #define __SOCKET_H__
-00003 
-00004 #include <arpa/inet.h>  /* for in_port_t */ 
-00005 
-00006 #include "class.h"
-00007 #include "logger.h"
-00008 
-00009 CLASS(Sock) {
-00010         Logger             log;
-00011         in_port_t          port;
-00012         struct sockaddr_in addr;
-00013         int                handle;
-00014 };
-00015 
-00016 void socketConnect(Sock this, const char * addr);
-00017 void socketListen(Sock this, int backlog);
-00018 Sock socketAccept(Sock this, char remoteAddr[16]);
-00019 
-00020 #endif // __SOCKET_H__
-00021 
-00022 // vim: set ts=4 sw=4:
-00023 
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/sort_8c.html b/docs/html/sort_8c.html deleted file mode 100644 index 8d2094e..0000000 --- a/docs/html/sort_8c.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - -server: src/http/header/sort.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/http/header/sort.c File Reference

-
-
-
#include "http/header.h"
-
-Include dependency graph for sort.c:
-
-
- - -
-
-

Go to the source code of this file.

- - - -

-Functions

void httpHeaderSort (const HttpHeader header[], int nheader)
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void httpHeaderSort (const HttpHeader header[],
int nheader 
)
-
-
- -

Definition at line 14 of file sort.c.

-
{
-        qsort(header, nheader, sizeof(HttpHeader), comp);
-}
-
-

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/sort_8c__incl.map b/docs/html/sort_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/sort_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/sort_8c__incl.md5 b/docs/html/sort_8c__incl.md5 deleted file mode 100644 index fefb6c7..0000000 --- a/docs/html/sort_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -6e0a230d16d4d4f42c6fe14f89fdd0a9 \ No newline at end of file diff --git a/docs/html/sort_8c__incl.png b/docs/html/sort_8c__incl.png deleted file mode 100644 index 06e5d0175baa078a8091d42914a853b4b46d7ded..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 981 zcmeAS@N?(olHy`uVBq!ia0vp^bAh;&gBeIBzZd2PQZ@lTA+G=a|Cf|3*tdVby}f;X zeZ9QA{Ji<|@7=#YY0@NpeSLR#_xSku<;$0smzRr+i}&~U@87@w^5x4w-T(jp7uA*B z4P-Hv1o;IsI6S+N#=yYr?&;zfQZeW4EZ)hB40zghD}4FISn}zA{TtOx?j4U_J#*N3 zchBM-Dw&_Q_+GtvQDUms(p%vLZn`BeYl5tHPVrkO?gBly7qHRXY$!ijfwHUurs|$?t-s!k8?}roFEBz`AX*m3B@HXdNnGa z`nLFLi?cpH{UqT``2#kMYjb*=EG_>X-I%kiMw9>hM?+bj!Um4M2T3K0yv$OuPRX&> zUygNtS|4+;*x<*BatlYDm^E{B*@HhliS6O(eYUA=={4nD9Ez7j^({_|w7Ud1b#5aKWDZ#Q%zWJO_1JY^K)x=nC7uc)$nX_W#Iw? z_5RPdbW3(#yIdPyeem}V$LYWG-hR50C?{>pTEqAFNNxDq%H;fC>n`way_Rfc)07-n zV^v|dYm0&k`F*g| z^Cs!eoqcYO)Vn7o&*~Rcn;*3Way910EN@HRQ?6XIu=w)a@6imertyy*RUhLKDm%hrz_^`{`>zc%h zS0r~IpW%J|q4#B{>F*c3T^Oag&(QnLyOOmp4_@24`NA!>)8A^p&hXx_ZLb8!wD-H@ zm={DD?u*Xf&8CavD;{Cf4v9q%)evyVE+if#CNmUVvZ^@97U z+WnDdpD0*ePMSHbY}In(+v{x9K4=~@zSXWbKl0AaB-LF~ - - diff --git a/docs/html/sort_8c_ad438f1a61df8ee1f19ef193370b902d2_icgraph.md5 b/docs/html/sort_8c_ad438f1a61df8ee1f19ef193370b902d2_icgraph.md5 deleted file mode 100644 index b4ac569..0000000 --- a/docs/html/sort_8c_ad438f1a61df8ee1f19ef193370b902d2_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -71394d12b5a7b8762f9e0e79e33ef3c6 \ No newline at end of file diff --git a/docs/html/sort_8c_ad438f1a61df8ee1f19ef193370b902d2_icgraph.png b/docs/html/sort_8c_ad438f1a61df8ee1f19ef193370b902d2_icgraph.png deleted file mode 100644 index 825f7b7e11614b25de46046aef7955012374f07b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 965 zcmV;$13LVPP)%c00960 z|FG-Y`v3p{0d!JMQvg8b*k%9#13F1WK~!jg?U;d*s~`+T5kyoFC;$Jmn-CCbb*paO z*PX|m(d~v{;dl*HA*!mXs;a8~h~U@t`6Ilj^_b^h)_JODJNzS6s&}YTy+f7i9ja9C zP^Ef@D%Cr*M-}`g2EX6tA8v|u;Ovc5!E9!blst3I&|~vr7t&(#`tuV%@A$YtwI2sR zxc(u>75^4go95(b!wik)V~I**jMd_hLPzQ$m3sNr$I>>&`Aii`S|_N&fTzKIpR;^* zLpnKHrV4x%QM2viCxwo&$IGuimbNj@^@Jw}cE*P|93BQozFSeXj-Kyf439ZJ?c)R~ zO4(@B$lmuMlY`(ks5Vh2N84#=g$5lC15#^SOup5+6#}!Agbbgf68m(a<8mLQ0&1ZP zNp6nGA@Vxy5Y=&>z$dSI81ZqoE2_5le#AiUG0nOOn;}IpdqA54ewwKicpp$>aLcPr zbCIeN9hij6V9k>_H=4Y$mZoZrQEjI?jAyDG#am)J$X+#839uM4bRij=V{(YRPCG<( zAbOc9@|oNm-yPsT&XZARI)ir;_8_lv)HD169X#gf?iE6XfNvdJ0nW`aQ#`iDe zD~%_qf|t5Xm7@mQ#nWjSqK1Hrj?la$nnbHFWdkbuY}ucD1rSHlu279$U8s^P zy^oeIyy`=*yjm?@-CC`F;#ITh)y0G4AY)cul{qS;NabU}#omv&LUT+msqUs-q54=? zd#a#4EK&?7?@* - - - -server: src/http/header/sort.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/http/header/sort.c

-
-
-Go to the documentation of this file.
00001 #include "http/header.h"
-00002 
-00003 static
-00004 inline
-00005 int
-00006 comp (const void * _a, const void * _b)
-00007 {
-00008         const HttpHeader a = *(const HttpHeader *)_a;
-00009         const HttpHeader b = *(const HttpHeader *)_b;
-00010         return (a->hash < b->hash)? -1 : (a->hash > b->hash)? 1 : 0;
-00011 }
-00012 
-00013 void
-00014 httpHeaderSort(const HttpHeader header[], int nheader)
-00015 {
-00016         qsort(header, nheader, sizeof(HttpHeader), comp);
-00017 }
-00018 
-00019 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/stderr_8c.html b/docs/html/stderr_8c.html deleted file mode 100644 index c0b24b7..0000000 --- a/docs/html/stderr_8c.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - -server: src/logger/stderr.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/logger/stderr.c File Reference

-
-
-
#include <stdio.h>
-#include "logger.h"
-#include "interface/logger.h"
-
-Include dependency graph for stderr.c:
-
-
-
-
-

Go to the source code of this file.

- - - - -

-Functions

 INIT_IFACE (Logger, logStderr)
 CREATE_CLASS (LoggerStderr, Logger, IFACE(Logger))
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
CREATE_CLASS (LoggerStderr ,
Logger ,
IFACE(Logger 
)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
INIT_IFACE (Logger ,
logStderr  
)
-
-
- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/stderr_8c__incl.map b/docs/html/stderr_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/stderr_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/stderr_8c__incl.md5 b/docs/html/stderr_8c__incl.md5 deleted file mode 100644 index 23dd257..0000000 --- a/docs/html/stderr_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -2dd12998a19c1802c0021c537586eae8 \ No newline at end of file diff --git a/docs/html/stderr_8c__incl.png b/docs/html/stderr_8c__incl.png deleted file mode 100644 index c397d681bbb03f5e32c24d50e086f3af6cb156f3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1568 zcmV+*2H*LKP)A#!cNZ5IkB^VPzrWMd z(*OVf|NsB>yEVH20004WQchC_;%x5hg&pF6dhtI5~<@3PnZrPl%o`w)%;Fft%<3cY^rkk*G32Bxq^(GA%EEcmzH%EKh zdX0m*Y$9y)<>p%)I2b5@p$68YnZpG1k2qn5Bm|n);(5dgaSzV;76%U3IJ*`NgIGLk z+yE<>xqImKeqG~i07k6fM(bM~ICZ<6@WD;p7zfc~kL_I*?w0dpi$&EACZJzitIyH| zfQ^n=!NI`QzQuw2pc#5R_E?0s^Xd%XxEfING-5&EV#rCDvRDwfuZqACI06?W0+%QP zmnZ_4sOaCkU%X#Em4*E#KUS9y-?8?6^@;TY#6^h6J?IsO6A%r$JH27y!9(P%-jVRp zp+Tqh9)q6^k#jQmfQANL^4;^~q zPDk#;EDPsxGIF1~8-e3g3tisFwDXV)cuLFcSA;_5RwRm3OxK`3MuR9HUErf_f^pgC z0(+MPp=5IV?g+{qbh~c|3MKa+_5($di`fpOpQJo=F+JMS`@+b@jf72|FKW=mZUr`; ztr&E%9ogLRLeRzUpuTX<-&4ZX&(Z6{54x26^Yr=HJTke&U1zSd9~E6{;`#b} zOme@lQ$7Q3NhgLExBVPk&BEGLMm?{@KH&SMLCDZgcKFE#v7q z`M|Mu&5B(kj2!j*f?E?@v$kh_wXr9Q8! z=FA>d*?4j?LGGL!;AF!Lt!vvbMG-#onlVdG)>ZR(6@tK_Mbma*ibZwhjMb22-M#k? z1jiv~J&5ic^_ap#*H%~K(W+_OIbo1Hr}yBPyfQP&+eUpg4549z3yAEVhi?!#v_MlV zs+Pf+SXZN0??7;-ozD8^sKLQk^%+jc8hfV=K5jNA23xHCKl$1^laXwI?SG3hM6zIKckLGvboKc}5&#IlnC5pf$>K - - - -server: src/logger/stderr.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/logger/stderr.c

-
-
-Go to the documentation of this file.
00001 #include <stdio.h>
-00002 
-00003 #include "logger.h"
-00004 #include "interface/logger.h"
-00005 
-00006 static
-00007 void
-00008 logStderr(void * this, logger_level level, const char * const msg)
-00009 {
-00010         fprintf(stderr, "[%s] %s\n", logger_level_str[level], msg);
-00011 }
-00012 
-00013 INIT_IFACE(Logger, logStderr);
-00014 CREATE_CLASS(LoggerStderr, Logger, IFACE(Logger));
-00015 
-00016 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/stream__reader_8c.html b/docs/html/stream__reader_8c.html deleted file mode 100644 index 9ea88f5..0000000 --- a/docs/html/stream__reader_8c.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - -server: src/interface/stream_reader.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/interface/stream_reader.c File Reference

-
-
-
#include "class.h"
-#include "interface/stream_reader.h"
-
-Include dependency graph for stream_reader.c:
-
-
-
-
-

Go to the source code of this file.

- - - -

-Functions

size_t streamReaderRead (void *object, int fd)
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
size_t streamReaderRead (void * object,
int fd 
)
-
-
- -

Definition at line 10 of file stream_reader.c.

-
{
-        size_t ret;
-
-        RETCALL(object, StreamReader, read, ret, fd);
-
-        return ret;
-}
-
-
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/stream__reader_8c__incl.map b/docs/html/stream__reader_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/stream__reader_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/stream__reader_8c__incl.md5 b/docs/html/stream__reader_8c__incl.md5 deleted file mode 100644 index 7bba341..0000000 --- a/docs/html/stream__reader_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -547901cfad96e8bfc046fa0bc79607ec \ No newline at end of file diff --git a/docs/html/stream__reader_8c__incl.png b/docs/html/stream__reader_8c__incl.png deleted file mode 100644 index 14f31c49591719d5c49ed6dfde88a1882bc9610b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1518 zcmVA#!cNZ5IkB^VPzrWMd z(*OVf|NsBvgO5!B0004WQchCw)pH~6J*uQ>{T+GT0tI}Uf%?|@ziKXBf&ccLVubf778DMu2=SWr6?XD zn2UkT5%!ymDpi#Y+CLRDGd-)D+CZeL(GHP_wory56^RNf#`#766!&A6U8HMd4^0TV*Fb` zOm;F2;{(qSyH?{dt%U)ikNuGz893m3*-a}TQwK!!89&WCL?8J>KazdoXlHZb5=w{> z>)!yvE;iw(%)`{QotRnyfLv4wh@-fGn7;-*k|HV~9+ZGMNc`B$NM^>*kx5=lVT`eEeT5&3c8n-SSD?yZRI8TL*<_RV@9B6}yj3z7YE z-h;>|Q{I8dXEVl6n)P!SS2 zI8t;(4i6L=k>lgU1;ocRF%j`IOFTq;O%e?eZ-Yca#N!xI5b-)h1VlWKaCsu$2e>$q z6WYHtkyDz#Fp-m5zbuin8ow%#^ZLFfku$r#7?Irma&C#MaLM!h{9bcY=mN^~5S`{( zkTM>WhXE3-&SB+YIt^6jxbi$mtAWaRP#&b!FjaggRHK(660XZ@014XT6^I0G@XrGY z-`*c5@*BN{26Fg6yPcIctQL(Q1^VIjzo`VoQ3B#90dbUoI7&bqy#rFe`#;jEev@kB z`gTIGU8)vuy7)-X<)4QL45YQ+HBP1H&Wy_9<&rP-_ke7sepjj5)6Fg&0n#>&s3Ad7 zsYc(|qESt0UocnMsCFyW#&w-gFN1tK4;E?RV$qE7mP=7>6U8S6%fb@y7AC}g%(!ZX zT)duLZKJAEEo&Aphu8qpHg#RK07Qwp)Ere=LppvzAXQeb0q+As`5<*GpospqD)8QM zh-#Z?R+d~AJm9qpO>06oB9_gd%d96?+myA&x~%znhz%gH4eAnG(2SMdD{YOHTDw{m z?vC3BgqA_-269(;ejpGk#kEZ|6E&A5AW+dPBtK?cHG?j*o?N)E^}Srwd_BYl5Hist zQwja95Xh8YjO803wFSaI?1Ki)Y$?+#|0obRLa?m$nb5+&Zie<7uO}A<3$?8IdWfwZ z0>jfILkx=y_ZGkS0Rnfcu4f=zifWrEJTX-EKMRCI?B4*wCUz}%2-o}w2tLQ629)|~ z)L-i}r1Szr!1F9D5L1e3nt~uCgic3|Z8CJ;e5>jG|8&eJYot z$>5BK`$R9#J$woztAL39ILYQ6!lkITiQ - - - -server: src/interface/stream_reader.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/interface/stream_reader.c

-
-
-Go to the documentation of this file.
00001 #include "class.h"
-00002 #include "interface/stream_reader.h"
-00003 
-00004 const struct interface i_StreamReader = {
-00005         "streamReader",
-00006         1
-00007 };
-00008 
-00009 size_t
-00010 streamReaderRead(void * object, int fd)
-00011 {
-00012         size_t ret;
-00013 
-00014         RETCALL(object, StreamReader, read, ret, fd);
-00015 
-00016         return ret;
-00017 }
-00018 
-00019 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/stream__reader_8h.html b/docs/html/stream__reader_8h.html deleted file mode 100644 index 67f1a3b..0000000 --- a/docs/html/stream__reader_8h.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - -server: include/interface/stream_reader.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

include/interface/stream_reader.h File Reference

-
-
-
#include <sys/types.h>
-
-Include dependency graph for stream_reader.h:
-
-
-
-
-

Go to the source code of this file.

- - - - - - - -

-Classes

struct  i_StreamReader

-Typedefs

typedef size_t(* fptr_streamReaderRead )(void *, int fd)

-Functions

size_t streamReaderRead (void *, int fd)
-

Typedef Documentation

- -
-
- - - - -
typedef size_t(* fptr_streamReaderRead)(void *, int fd)
-
-
- -

Definition at line 6 of file stream_reader.h.

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
size_t streamReaderRead (void * ,
int fd 
)
-
-
- -

Definition at line 10 of file stream_reader.c.

-
{
-        size_t ret;
-
-        RETCALL(object, StreamReader, read, ret, fd);
-
-        return ret;
-}
-
-
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/stream__reader_8h__incl.map b/docs/html/stream__reader_8h__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/stream__reader_8h__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/stream__reader_8h__incl.md5 b/docs/html/stream__reader_8h__incl.md5 deleted file mode 100644 index efb7d08..0000000 --- a/docs/html/stream__reader_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -def8f9b18283885b545e52922e90bd94 \ No newline at end of file diff --git a/docs/html/stream__reader_8h__incl.png b/docs/html/stream__reader_8h__incl.png deleted file mode 100644 index 4799265bf42143b4be04206dbacb5e5fc51e8905..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1104 zcmV-W1h4yvP))3M;8|tcXxMRUtg!Er@z0y)6>%c00960 z|5gO&SO5S30d!JMQvg8b*k%9#1I0;1K~#90?VE{qqc99bT`-IHW*S>hLN{KTS;`oRL?V$$f0wUWGo`CnL|KoBvL0QR(%t|+8C!W9EF>R>tbDW0 z$GU&Mw|AyrDb4dj#aN5NY}JkJ{&7>(g=eLX zC?#ze$68R&C_ics0RuZP&L+3=Dg~?;O2ANzK8B!S$Uv0}j1~GTvfv$A+p(E+ebe;J@>mJ z%6deU^@u3z5mDA7qO3k(1bBciNFL|KoBvK|p-JtE3_ zR6XU-q`f=&q^?29E&+KFN_Hj6y}S6du0hF&vL0Om5-|5};S0J3W&NMlL8qns+OmhBka;X4Z_PVu4S6!zTrdQ zYYpd3J9%Pi!@A{q9+i^&Hul*MED)ptGaPnop5#E=hc81jc^E7{I|n5jjBf^J48Y(Z z97~|YNjRb5xBTOg$-|KFER-y6yP@xzY0z~@iIe48a-Kag^+c5EnDua@;J|RC#L0Xv zO+1%oKD(!)4EJO>f6VxK5LcBoK27p)mBJls@JmVvcqgJvYJdB*1CwjMb3Q4&pYEIC z{cvx?$$BV - - - -server: include/interface/stream_reader.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

include/interface/stream_reader.h

-
-
-Go to the documentation of this file.
00001 #ifndef __STREAM_READER_H__
-00002 #define __STREAM_READER_H__
-00003 
-00004 #include <sys/types.h>
-00005 
-00006 typedef size_t (* fptr_streamReaderRead)(void *, int fd);
-00007 
-00008 extern const struct interface i_StreamReader;
-00009 
-00010 struct i_StreamReader {
-00011         const struct interface * const _;
-00012         fptr_streamReaderRead          read;
-00013 };
-00014 
-00015 extern size_t streamReaderRead(void *, int fd);
-00016 
-00017 #endif // __STREAM_READER_H__
-00018 
-00019 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/structHttpHeader-members.html b/docs/html/structHttpHeader-members.html deleted file mode 100644 index e3c88c7..0000000 --- a/docs/html/structHttpHeader-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - -server: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

HttpHeader Member List

-
-
-This is the complete list of members for HttpHeader, including all inherited members. - - - -
hashHttpHeader
nameHttpHeader
valueHttpHeader
-
- - - - - -
- -
- - - - diff --git a/docs/html/structHttpHeader.html b/docs/html/structHttpHeader.html deleted file mode 100644 index 93e5f1b..0000000 --- a/docs/html/structHttpHeader.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - -server: HttpHeader Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

HttpHeader Struct Reference

-
-
- -

#include <header.h>

- -

List of all members.

- - - - - -

-Public Attributes

unsigned long hash
char * name
char * value
-

Detailed Description

-
-

Definition at line 6 of file header.h.

-

Member Data Documentation

- -
-
- - - - -
unsigned long HttpHeader::hash
-
-
- -

Definition at line 21 of file header.h.

- -
-
- -
-
- - - - -
char* HttpHeader::name
-
-
- -

Definition at line 22 of file header.h.

- -
-
- -
-
- - - - -
char* HttpHeader::value
-
-
- -

Definition at line 23 of file header.h.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/html/structHttpRequest-members.html b/docs/html/structHttpRequest-members.html deleted file mode 100644 index 0361d42..0000000 --- a/docs/html/structHttpRequest-members.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - -server: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

HttpRequest Member List

-
-
-This is the complete list of members for HttpRequest, including all inherited members. - - - - - - - -
bodyHttpRequest
headerHttpRequest
methodHttpRequest
nbodyHttpRequest
nheaderHttpRequest
uriHttpRequest
versionHttpRequest
-
- - - - - -
- -
- - - - diff --git a/docs/html/structHttpRequest.html b/docs/html/structHttpRequest.html deleted file mode 100644 index 0c27178..0000000 --- a/docs/html/structHttpRequest.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - -server: HttpRequest Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

HttpRequest Struct Reference

-
-
- -

#include <request.h>

-
-Collaboration diagram for HttpRequest:
-
-
Collaboration graph
- - -
[legend]
- -

List of all members.

- - - - - - - - - -

-Public Attributes

char * method
char * uri
char * version
HttpHeader header [128]
int nheader
char * body
int nbody
-

Detailed Description

-
-

Definition at line 7 of file request.h.

-

Member Data Documentation

- -
-
- - - - -
char* HttpRequest::body
-
-
- -

Definition at line 34 of file request.h.

- -
-
- -
- -
- -

Definition at line 31 of file request.h.

- -
-
- -
-
- - - - -
char* HttpRequest::method
-
-
- -

Definition at line 27 of file request.h.

- -
-
- -
-
- - - - -
int HttpRequest::nbody
-
-
- -

Definition at line 35 of file request.h.

- -
-
- -
-
- - - - -
int HttpRequest::nheader
-
-
- -

Definition at line 32 of file request.h.

- -
-
- -
-
- - - - -
char* HttpRequest::uri
-
-
- -

Definition at line 28 of file request.h.

- -
-
- -
-
- - - - -
char* HttpRequest::version
-
-
- -

Definition at line 29 of file request.h.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/html/structHttpRequestParser-members.html b/docs/html/structHttpRequestParser-members.html deleted file mode 100644 index eb3575f..0000000 --- a/docs/html/structHttpRequestParser-members.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - -server: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

HttpRequestParser Member List

-
- -
- - - - - -
- -
- - - - diff --git a/docs/html/structHttpRequestParser.html b/docs/html/structHttpRequestParser.html deleted file mode 100644 index f550d3d..0000000 --- a/docs/html/structHttpRequestParser.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - -server: HttpRequestParser Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

HttpRequestParser Struct Reference

-
-
- -

#include <request_parser.h>

-
-Collaboration diagram for HttpRequestParser:
-
-
Collaboration graph
- - -
[legend]
- -

List of all members.

- - - - - - - -

-Public Attributes

char * buffer
size_t buffer_used
size_t buffer_size
HttpRequestQueue request_queue
HttpRequestState state
-

Detailed Description

-
-

Definition at line 18 of file request_parser.h.

-

Member Data Documentation

- -
-
- - - - -
char* HttpRequestParser::buffer
-
-
- -

Definition at line 32 of file request_parser.h.

- -
-
- -
-
- - - - -
size_t HttpRequestParser::buffer_size
-
-
- -

Definition at line 34 of file request_parser.h.

- -
-
- -
-
- - - - -
size_t HttpRequestParser::buffer_used
-
-
- -

Definition at line 33 of file request_parser.h.

- -
-
- -
- -
- -

Definition at line 36 of file request_parser.h.

- -
-
- -
- -
- -

Definition at line 37 of file request_parser.h.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/html/structHttpRequestParser__coll__graph.map b/docs/html/structHttpRequestParser__coll__graph.map deleted file mode 100644 index 431e904..0000000 --- a/docs/html/structHttpRequestParser__coll__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/html/structHttpRequestParser__coll__graph.md5 b/docs/html/structHttpRequestParser__coll__graph.md5 deleted file mode 100644 index e030b42..0000000 --- a/docs/html/structHttpRequestParser__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -1b14c6095cb219d80d14ca665c62ef36 \ No newline at end of file diff --git a/docs/html/structHttpRequestParser__coll__graph.png b/docs/html/structHttpRequestParser__coll__graph.png deleted file mode 100644 index f099f871bbeefb3359b366eb287e0ff227cbe4f8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4197 zcmZu!c|4Ts+aDu)LdbTQRKg^(*JPNnFJUl~kR{H@63)qJGK{Sw$ucF&`^DIY>*YN&)}? zX(vZpPr*n90D#lt!UA-*$6sAASRqaz?Y6eJFCVJ8W7JzzT%4So+}hS=Wn~2dfhHy= z^YZerSZrWmpo4=0fj}@YFi=ubDlIK-Yik=E925lD-rjbNyEiL9LKsgsF92+2G!y`k zVLREvkr(eR5~T{8^kh5mhX>7@N8ha{kF=c@sgcGsEL!#-8#^esx$jB1=w(XkUU8bc z-h(i>lV8@T2~5b@AjRz5sc1FA`O0_3Zi%e>#X|hG<%-!^5wt$6ngm@?+cJM#x#S?m zeX}-8nb*(WKEC$hd~j3#$j5;+j)wXudM@-25w69qcC@~7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j z>D-EuSG z$qq#9uLeYg7dZSm=1x*wt!^QYKbl_#JDk9-Gn=LdfbJS8&b{EzEl#%t`&3P99G1kW zkR!e$Hr;H9KG7LHa&{*x@uw~cR{JY2=>NL_{p&6yfSdbRo?K~#G*UZXO!RcZ%+q)U R2f<|@;AH1!TWKAX_8&D#`V{~G diff --git a/docs/html/structHttpRequestQueue-members.html b/docs/html/structHttpRequestQueue-members.html deleted file mode 100644 index 7e14344..0000000 --- a/docs/html/structHttpRequestQueue-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - -server: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

HttpRequestQueue Member List

-
-
-This is the complete list of members for HttpRequestQueue, including all inherited members. - - -
nrequestsHttpRequestQueue
requestsHttpRequestQueue
-
- - - - - -
- -
- - - - diff --git a/docs/html/structHttpRequestQueue.html b/docs/html/structHttpRequestQueue.html deleted file mode 100644 index 5d3781b..0000000 --- a/docs/html/structHttpRequestQueue.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - -server: HttpRequestQueue Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

HttpRequestQueue Struct Reference

-
-
- -

#include <request_queue.h>

-
-Collaboration diagram for HttpRequestQueue:
-
-
Collaboration graph
- - -
[legend]
- -

List of all members.

- - - - -

-Public Attributes

HttpRequest requests [HTTP_REQUEST_QUEUE_MAX]
size_t nrequests
-

Detailed Description

-
-

Definition at line 10 of file request_queue.h.

-

Member Data Documentation

- -
-
- - - - -
size_t HttpRequestQueue::nrequests
-
-
- -

Definition at line 21 of file request_queue.h.

- -
-
- -
-
- - - - -
HttpRequest HttpRequestQueue::requests[HTTP_REQUEST_QUEUE_MAX]
-
-
- -

Definition at line 20 of file request_queue.h.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/html/structHttpRequestQueue__coll__graph.map b/docs/html/structHttpRequestQueue__coll__graph.map deleted file mode 100644 index b22e01f..0000000 --- a/docs/html/structHttpRequestQueue__coll__graph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/html/structHttpRequestQueue__coll__graph.md5 b/docs/html/structHttpRequestQueue__coll__graph.md5 deleted file mode 100644 index 827aa29..0000000 --- a/docs/html/structHttpRequestQueue__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -2cdf6f1300ba4e6c3750e92badb74426 \ No newline at end of file diff --git a/docs/html/structHttpRequestQueue__coll__graph.png b/docs/html/structHttpRequestQueue__coll__graph.png deleted file mode 100644 index c8032fec431798e660c6a35d5f3fa71c5895aab7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3038 zcmZ8jc{r5o8z!YQmQxI6ceIRsoybns=*wV8WU>w+lrVN>3n|s0nTUuPLlm-%wXDe& zBaAJw@9Wsj{5Ve6b$;ic_kFJKd+zJ~?&rDR`+H)Hjr3WWc$nzu=vWP|>X;tvXga!M z;6E4+qDvgZJqMerF<_=krO~3qi(bpMrKY8YhK5$x)M#jE2nq@g|NMzUp=@ky^!4@Q z<+DOP75I=Ytk~T+Y`$vkgZ!H$*%jVy9;qmtUBS)wf-fWb+Y;6UTgP8x zqgg=+D7-wKqs1*;q?bKyGbPbr-PI--3CImwumV-{y!+=JdpEV~y%%=fNZywTp@=~L zimMhmrHfxN)@mSs@SFaDT5tY{GD6rD>&&u^vlQnU!yi3E`n|hYO?q@~*?M)QOF+6f zq4PtIvh+8-UT{Jz<;%q!d}E~q#c?TbXhGqs?R2Jiuu4%h=B}DQ1aV&LQXv$NxCzrr zu(wKsg{wbc^ijBMK}PKS*)D8h*xWs6M%ZCnEv#N-gul%%YWbc#XC$a1l4WN#*MjOW z>8)VRb>!Iy*q?db`24#(l#Q3Y+zFB?R2uGb$Q4{5l{v$rJm}$rD<5|M3fQoE zR&RB+WU&orPsX?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Dy;0`FUG|}$G81q(JcN-OOoG-;}BI{ z?$y0YVIZn^=eqRD|r!=DX&5WPn@QMAZiJgU*Q5GtyFM8c-&g8Dh(}FvhA8v8(&S6R;pSrjNKUz8_h94yUtLm4 z3Q5*=pO$ma6sHmdM8dliaMQp$tb_0dFYU%2WI)>YrTEJY~t0R$;^mn zNZ>jtbdoT0&$0ozU0sUg9CfG1-8w6sJB=NFWgby_0#om5soSw$@;)Q@)t@CC&HE}rEQt4C*N`}kuiEo?K{pdJMIVh zLH3*M_{}=vdX&{5thU!-(#!DN4iu!%@pkZ_ zIqc&pxQ7uNapXkPpG;Fz+BPYgM0HVp@j(u4JVFY$m{aD7p?fBijn}*?QplW8u2iVUFhv?(D?JPr^{{3L$;t0i#Y5iD@(a{=U}{ATANckiTvMq=YMq(s@8;_Q z#n~GH%Dj!SM+Nr6fynkWLJB~f-G-vw7-w&6gNN83mzn{KB*${!=aTn#lTt+q7u83~ zt$k&xTC0}jI~M;USB!NeDOO&zdtDdM^`Y+|l&p(zk9nn>)++6IZLs>H{Z4kPWGm|6 zzZ|-)rkIQY;rD>1I+0_zI**VhSkWSazoa&svaFLYGrL)ZOp0$FwEKDVU_c;h2E;$% zY1i%QckUJ!MI}V;&8Px - - diff --git a/docs/html/structHttpRequest__coll__graph.md5 b/docs/html/structHttpRequest__coll__graph.md5 deleted file mode 100644 index acb940a..0000000 --- a/docs/html/structHttpRequest__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -5168704888675f4c24eaae1b6321e578 \ No newline at end of file diff --git a/docs/html/structHttpRequest__coll__graph.png b/docs/html/structHttpRequest__coll__graph.png deleted file mode 100644 index 16e6347c38ef8f07f4460c522a1fa7a8702ef02d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1942 zcmV;H2Wj|;P)Z!pMQUUzQ4aeKR+KIAKu^JcXxMRUtdQ@M~{z>FE1|_7Z<0er@z0y)6>%c00960 z|5p>6KmY&$0d!JMQvg8b*k%9#2M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nj+Y46eLPf}4V&FKad83TlTsOg}CoYxP)G zz#z>Lvnd$*vR02}YKPGA#%Z+$Lr>Q7S@n%r#42Z%5BI;v3fI4!jG3KXp^TyTy^KYz zf2qlpS@1GDy8;>0-uE&VuU}@4WfUurF}vUEos1>ums!F=#R_H2>^*zia`EH5VQIw* zWlVc(vrw^iGG@JXS$4lyAYtDE2RF`P9VyW%KB5en4EMjs+ReX=jD;Hx zlVmJ<{$+;6aKmAej787C%y7Tkn3p1B(ep2(U%L&5DKZv4Pk9knii{<&g7(Uhu>_W0 zYu#-)OpvkSF)BgEN?9o~R>(?{v9BEGiAAidSZCWW+(Tj!i&(@W7O{v$EMk2>>%zR3 cjO^dqe;0%}MD8kl&Hw-a07*qoM6N<$f;WWV?f?J) diff --git a/docs/html/structHttpResponse-members.html b/docs/html/structHttpResponse-members.html deleted file mode 100644 index 21a6a24..0000000 --- a/docs/html/structHttpResponse-members.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - -server: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

HttpResponse Member List

-
- -
- - - - - -
- -
- - - - diff --git a/docs/html/structHttpResponse.html b/docs/html/structHttpResponse.html deleted file mode 100644 index d789082..0000000 --- a/docs/html/structHttpResponse.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - -server: HttpResponse Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

HttpResponse Struct Reference

-
-
- -

#include <response.h>

-
-Collaboration diagram for HttpResponse:
-
-
Collaboration graph
- - -
[legend]
- -

List of all members.

- - - - - - - - - -

-Public Attributes

char * http_version
char * status
char * reson
HttpHeader header [128]
int nheader
char * body
int nbody
-

Detailed Description

-
-

Definition at line 6 of file response.h.

-

Member Data Documentation

- -
-
- - - - -
char* HttpResponse::body
-
-
- -

Definition at line 33 of file response.h.

- -
-
- -
- -
- -

Definition at line 30 of file response.h.

- -
-
- -
-
- - - - -
char* HttpResponse::http_version
-
-
- -

Definition at line 26 of file response.h.

- -
-
- -
-
- - - - -
int HttpResponse::nbody
-
-
- -

Definition at line 34 of file response.h.

- -
-
- -
-
- - - - -
int HttpResponse::nheader
-
-
- -

Definition at line 31 of file response.h.

- -
-
- -
-
- - - - -
char* HttpResponse::reson
-
-
- -

Definition at line 28 of file response.h.

- -
-
- -
-
- - - - -
char* HttpResponse::status
-
-
- -

Definition at line 27 of file response.h.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/html/structHttpResponse__coll__graph.map b/docs/html/structHttpResponse__coll__graph.map deleted file mode 100644 index fd1ecfc..0000000 --- a/docs/html/structHttpResponse__coll__graph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/structHttpResponse__coll__graph.md5 b/docs/html/structHttpResponse__coll__graph.md5 deleted file mode 100644 index ad4d0f0..0000000 --- a/docs/html/structHttpResponse__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -0692ac9c7f2236a1919dcdf8f90c39f3 \ No newline at end of file diff --git a/docs/html/structHttpResponse__coll__graph.png b/docs/html/structHttpResponse__coll__graph.png deleted file mode 100644 index b70d265a8fab31acf327402dab16d1de8c070962..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2037 zcmVZ!pMQUUzQ4aeKR+KIAKu^JcXxMRUtdQ@M~{z>FE1|_7Z<0er@z0y)6>%c00960 z|5p>6KmY&$0d!JMQvg8b*k%9#2Wm+~K~#90?VF2|s~`-9)mjxVIK2PM9v}q4T8n_% z?n!3qw!!sl#QG-)ML|YJmTKZe+o7Hq5K)PGHC43Bwg~VmYu_LHAhm7e(VEMt!av$I z)J8OgdbOf%8s$ivAqk=h9391_FFN&sBffi~jPe~>JN5u->cHIThu@-u>#A@#9_4CODP-=nR zmmZF$npiDWMb);2sCDbhT<>Om&2o8lqrs;Q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aPt@kXdQPh>pf;XLdsu7i_7gD!=4arX>i8{OE!~T?SP*lCpKt!)12^k-Dr?(qL z9VTxM&Iwd+D!(n}hIxz|2Y*jpj}I@)7En>8$Rw;>iH#NJHJwQH`qe7x6!R4S02OjX z_ZrrPYs#-D`i{sBPVvt|jDb4`&bc)As5F@ktzYf@ zQn(){%53=jVP~maHzmsKk@>^Uq~JuE4WG%o8Ed4>hEu(MO_bSis+ln0T*L7)n|eo# zli5USq|ByKV`cWcHHWA~{RQfUc6+QuB`Q&gN>ri}m8e7|>i!J diff --git a/docs/html/structLogger-members.html b/docs/html/structLogger-members.html deleted file mode 100644 index e6e858b..0000000 --- a/docs/html/structLogger-members.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - -server: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

Logger Member List

-
-
-This is the complete list of members for Logger, including all inherited members. - -
min_levelLogger
-
- - - - - -
- -
- - - - diff --git a/docs/html/structLogger.html b/docs/html/structLogger.html deleted file mode 100644 index 3d214ed..0000000 --- a/docs/html/structLogger.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - -server: Logger Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

Logger Struct Reference

-
-
- -

#include <logger.h>

- -

List of all members.

- - - -

-Public Attributes

logger_level min_level
-

Detailed Description

-
-

Definition at line 19 of file logger.h.

-

Member Data Documentation

- -
- -
- -

Definition at line 36 of file logger.h.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/html/structLoggerStderr-members.html b/docs/html/structLoggerStderr-members.html deleted file mode 100644 index c707bec..0000000 --- a/docs/html/structLoggerStderr-members.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - -server: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

LoggerStderr Member List

-
-
-This is the complete list of members for LoggerStderr, including all inherited members. - -
EXTENDS(Logger)LoggerStderr
-
- - - - - -
- -
- - - - diff --git a/docs/html/structLoggerStderr.html b/docs/html/structLoggerStderr.html deleted file mode 100644 index 1d47721..0000000 --- a/docs/html/structLoggerStderr.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - -server: LoggerStderr Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

LoggerStderr Struct Reference

-
-
- -

#include <logger.h>

- -

List of all members.

- - - -

-Public Member Functions

 EXTENDS (Logger)
-

Detailed Description

-
-

Definition at line 39 of file logger.h.

-

Member Function Documentation

- -
-
- - - - - - - - -
LoggerStderr::EXTENDS (Logger )
-
-
- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/html/structLoggerSyslog-members.html b/docs/html/structLoggerSyslog-members.html deleted file mode 100644 index 7480d6c..0000000 --- a/docs/html/structLoggerSyslog-members.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - -server: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

LoggerSyslog Member List

-
-
-This is the complete list of members for LoggerSyslog, including all inherited members. - -
EXTENDS(Logger)LoggerSyslog
-
- - - - - -
- -
- - - - diff --git a/docs/html/structLoggerSyslog.html b/docs/html/structLoggerSyslog.html deleted file mode 100644 index 6a5a586..0000000 --- a/docs/html/structLoggerSyslog.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - -server: LoggerSyslog Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

LoggerSyslog Struct Reference

-
-
- -

#include <logger.h>

- -

List of all members.

- - - -

-Public Member Functions

 EXTENDS (Logger)
-

Detailed Description

-
-

Definition at line 55 of file logger.h.

-

Member Function Documentation

- -
-
- - - - - - - - -
LoggerSyslog::EXTENDS (Logger )
-
-
- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/html/structServer-members.html b/docs/html/structServer-members.html deleted file mode 100644 index d1a0032..0000000 --- a/docs/html/structServer-members.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - -server: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

Server Member List

-
-
-This is the complete list of members for Server, including all inherited members. - - - - - - - - - - -
connsServer
loggerServer
ndelServer
nfdsServer
rbufServer
readerServer
rposServer
sockServer
wbufServer
wposServer
-
- - - - - -
- -
- - - - diff --git a/docs/html/structServer.html b/docs/html/structServer.html deleted file mode 100644 index 5acf58d..0000000 --- a/docs/html/structServer.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - -server: Server Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

Server Struct Reference

-
-
- -

#include <server.h>

-
-Collaboration diagram for Server:
-
-
Collaboration graph
- - -
[legend]
- -

List of all members.

- - - - - - - - - - - - - - - -

-Public Attributes

Logger logger
Sock sock
void * reader
nfds_t nfds
nfds_t ndel
struct {
   Sock   sock
   void *   reader
   char   wbuf [2048]
   char *   rbuf
   unsigned int   rpos
   unsigned int   wpos
conns [POLL_FD_NSIZE]
-

Detailed Description

-
-

Definition at line 24 of file server.h.

-

Member Data Documentation

- -
-
- - - - -
struct { ... } Server::conns[POLL_FD_NSIZE]
-
-
- -
-
- -
-
- - - - -
Logger Server::logger
-
-
- -

Definition at line 60 of file server.h.

- -
-
- -
-
- - - - -
nfds_t Server::ndel
-
-
- -

Definition at line 73 of file server.h.

- -
-
- -
-
- - - - -
nfds_t Server::nfds
-
-
-

loeschen: fds[i].event auf 0 dann nfds um die anzahl der geloeschten elemente verkleinern. die in close pending stehenden socket schliessen. vor jedem poll qsort auf fds ueber event. nach dem poll qsort auf fds ueber revent und reuckgebewert von poll beruecksichtigen.

- -

Definition at line 72 of file server.h.

- -
-
- -
-
- - - - -
char* Server::rbuf
-
-
- -

Definition at line 81 of file server.h.

- -
-
- -
-
- - - - -
void* Server::reader
-
-
- -

Definition at line 62 of file server.h.

- -
-
- -
-
- - - - -
unsigned int Server::rpos
-
-
- -

Definition at line 82 of file server.h.

- -
-
- -
-
- - - - -
Sock Server::sock
-
-
- -

Definition at line 61 of file server.h.

- -
-
- -
-
- - - - -
char Server::wbuf[2048]
-
-
- -

Definition at line 80 of file server.h.

- -
-
- -
-
- - - - -
unsigned int Server::wpos
-
-
- -

Definition at line 83 of file server.h.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/html/structServer__coll__graph.map b/docs/html/structServer__coll__graph.map deleted file mode 100644 index fa84913..0000000 --- a/docs/html/structServer__coll__graph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/html/structServer__coll__graph.md5 b/docs/html/structServer__coll__graph.md5 deleted file mode 100644 index 2f3839d..0000000 --- a/docs/html/structServer__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -502aed3e17470956fc544249031f8768 \ No newline at end of file diff --git a/docs/html/structServer__coll__graph.png b/docs/html/structServer__coll__graph.png deleted file mode 100644 index 8568c7243f6dad0e5a56e72cc1ac07525daf7a48..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3018 zcmYio2{@EpS5zb;Q5a+yTQrIpOZH?UW{e`skW}7C$QDVKP?oaIOorh@B_z?;7^AYa zh<7q$gfPf%T9~pg$@u51?|=UPKIggjoO92)XSwG*&q+IhwS|bvi3$h^KFBE-kk^3huS!}tW|)G^-XWkc)jX>S)RH?MIcyH3>Y7`yu1ToK?eUTX=v4^ZJX?$1mUdu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TUn!lkA<+B0Mt!QLi|(Kz0&k;yzw}%vZI$){d+HWGj8_GtJJ)N=f?Qb zpB(H~F;Jtd|Ni0%x^H3V!^5d?OG<{tdMbGgAGFA}Wx$0gtkqpDjBLqw1>TSo zC9{1Rvt?&*kgz8s5Dv+?zP^sidK!02ioEVYL+PZSfiuyo0T>x-U{|1=tk}#b7r}f9 z2j$4^t^OT;kh>S4*$(sX?;_*B)bF==Q1-830B|dX8j?Np$B6q9O1bfoF8S&z1%o#( zIIaYA!S!&aUL@Z+I&FhhZC}&kZ|IO)3f;~&@K3gibl?lt2lK1@ABfBdEMb`#?6@bl zpJcmPQ)!NwL+$Y+;uUa!K?+}m``c+j6ND={!H(x~Gx7*Pp&f&YxrSlESDr*fXw072smJpUt^P z9|V1C4s}93QHqkp>fNs)Qe!vJX$vFNTC$coNTXkmeKQM#Dbf zI*j{+ - - - -server: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

Sock Member List

-
-
-This is the complete list of members for Sock, including all inherited members. - - - -
handleSock
logSock
portSock
-
- - - - - -
- -
- - - - diff --git a/docs/html/structSock.html b/docs/html/structSock.html deleted file mode 100644 index 3aaa72c..0000000 --- a/docs/html/structSock.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - -server: Sock Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

Sock Struct Reference

-
-
- -

#include <socket.h>

-
-Collaboration diagram for Sock:
-
-
Collaboration graph
- - -
[legend]
- -

List of all members.

- - - - - -

-Public Attributes

Logger log
in_port_t port
int handle
-

Detailed Description

-
-

Definition at line 9 of file socket.h.

-

Member Data Documentation

- -
-
- - - - -
int Sock::handle
-
-
- -

Definition at line 29 of file socket.h.

- -
-
- -
-
- - - - -
Logger Sock::log
-
-
- -

Definition at line 26 of file socket.h.

- -
-
- -
-
- - - - -
in_port_t Sock::port
-
-
- -

Definition at line 27 of file socket.h.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/html/structSock__coll__graph.map b/docs/html/structSock__coll__graph.map deleted file mode 100644 index ab12394..0000000 --- a/docs/html/structSock__coll__graph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/structSock__coll__graph.md5 b/docs/html/structSock__coll__graph.md5 deleted file mode 100644 index fe6f674..0000000 --- a/docs/html/structSock__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -6470cafe03b7c0829d96bf9dd7ebb44f \ No newline at end of file diff --git a/docs/html/structSock__coll__graph.png b/docs/html/structSock__coll__graph.png deleted file mode 100644 index 1bde0241e80370eaf0a0e428807f601e87c7ee59..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1161 zcmV;41a|w0P)wX4N$eI8~AM=unC`#B_u-F}~< z970@YbdZVIXb+3+VXrg%8W8$bgZ-&pLP)j6WyX^_thlP4!y}4iG%yZ2XpAY$!N5Ag zDx1R`j1ywUcQe>0GJ_eX8Lx}o*7CPXk72wl7wH*q^NMB6E42f^18&4M^i7IA=S60; z#zfco$Wg`|aTaV8USy)271iPiF~ytF3LFZ!6d#Fabm8)h?$O6%iZ`S9hHa+E5k^h3 zrLQi`(O<+6Yetw^0RZWf6^kv$8-_Qd=!5DxlA7VoC}fXjD@0N=ycvanzTqP&$Hzf^ zEaP>ZPS1!GGrpU_UX&TkUE+`uTy z{E!xtDpn7G+-M?Z1?DIo;$#__-t-qx5Sht0UXY?ag5H$e2gq)?*dfgAsGp075%Av4eNR#wV62@Sl??MYaw#N|KJQZUa zgG;}1pIm{EV~QZdTaq3P zipj%6eg7Yg2c}y8fK~au@<5#SveMl ze=ZLJMUya|*AD`PZH6h#TaGM@ReNM%^w0eY6ZJmill;}KjLluDbc{3lTE_O)WElO- zn7tZ|a|Z)lX>WXR*ay$pdxkY@M-)4kj4=H|W}_P<1|hVjNAF9!qXTVRUt=h$FUVdI zgQCI1BLg?xm5ygTtRK`Ka4D^aa0?eTk|KuRg}GP`pK&NoxK`zmG6e%SzU{&Z&m#12 zGSJ3#igG~j=?C)=#b;dVSA$vq%kz - - - -server: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

class Member List

-
-
-This is the complete list of members for class, including all inherited members. - - - - -
initclass
magicclass
object_sizeclass
parentclass
-
- - - - - -
- -
- - - - diff --git a/docs/html/structclass.html b/docs/html/structclass.html deleted file mode 100644 index 3876346..0000000 --- a/docs/html/structclass.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - -server: class Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

class Struct Reference

-
-
- -

#include <class.h>

-
-Collaboration diagram for class:
-
-
Collaboration graph
-
[legend]
- -

List of all members.

- - - - - - -

-Public Attributes

const int magic
class_ptr parent
size_t object_size
fptr_classInit init
-

Detailed Description

-
-

Definition at line 77 of file class.h.

-

Member Data Documentation

- -
- -
- -

Definition at line 81 of file class.h.

- -
-
- -
-
- - - - -
const int class::magic
-
-
- -

Definition at line 78 of file class.h.

- -
-
- -
-
- - - - -
size_t class::object_size
-
-
- -

Definition at line 80 of file class.h.

- -
-
- -
- -
- -

Definition at line 79 of file class.h.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/html/structclass__coll__graph.map b/docs/html/structclass__coll__graph.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/structclass__coll__graph.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/structclass__coll__graph.md5 b/docs/html/structclass__coll__graph.md5 deleted file mode 100644 index d3a7d75..0000000 --- a/docs/html/structclass__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -cfe38766fa447080e8b0ee009f97dda1 \ No newline at end of file diff --git a/docs/html/structclass__coll__graph.png b/docs/html/structclass__coll__graph.png deleted file mode 100644 index a2b6b89bf2e96f6df829c0809796285c1d60a5d0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1208 zcmV;p1V{UcP)Cb!M@JVI7hhjrzrVlJ)6)O| z0RR90k9A#}00001bW%=J06^y0W&i*LDoI2^RCt{2n~RdGAPk1-dO20OIK2PEo`e8; zdg=|q+MQ&krPy}o+iZ+KzpM}(92^{98up6F20NAyhGkfW{Y|j)#Bas0zX8^0tt7&B zgVhEGZFL`qd%+qlzJqv1_iTD z*`XW5a4%SmU{nU3Lx<;n8tw(_YE}WP1Xu%)JJ&4GTIvSS7J8+}9@+q=m4=(ao(_g( zScYX-hW!>;c4SIrmSGu|VHq|BHp%Pw7_9js*rX@}JH#K~Yi(dfXrgC?>%*b5e%+|{ z`Wppd`ktKf%VE4H&^LRe9pe|;1g7pcWW!BkAhccT7bsIK#MlUt14#A2%tlOFOo)MZz zL#L@5*u&kRKpCt=hj{(4`MCwy&<1jyVC!L^RJ)zF{5#m#w6e9Xby~VOq{2E}8q33; zh;UH|Nlm7`R2xLvMBHnI%thTG59~?WL|CcQV9!M=?2+%4)w6Jo1~ zQg?(t_G#EKk#+zfV1kyFcz4bylCgB`2AQ2;B`ytumUUB&lOf35Ps7gitV4k(uVvko z{J=?!orXK6nUyjlYy$0C%?2&&$dn=(dqddXbpx+uiA=deLFNtzXj5UU zW(_vPnLQ>sVPC)aLD)aGZ5ks)TifOb$l9hA;-`Vv!ai_lY_kXU&=M;hwys)WvZi|2 zs*cY~#;wysSe^LKX;{BE$6*?Af< zvsIM>8_%y8LKa_#nhs~AQQul7B|DebQn*nu2&qlW}XU%4V9bYobu%%%SS+N(w77B)C zScYX-hW!@UDn=i WrZoa?!depm0000=R*Ae diff --git a/docs/html/structi__Class-members.html b/docs/html/structi__Class-members.html deleted file mode 100644 index 82fa314..0000000 --- a/docs/html/structi__Class-members.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - -server: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

i_Class Member List

-
-
-This is the complete list of members for i_Class, including all inherited members. - - - - -
_i_Class
clonei_Class
ctori_Class
dtori_Class
-
- - - - - -
- -
- - - - diff --git a/docs/html/structi__Class.html b/docs/html/structi__Class.html deleted file mode 100644 index 5fad7eb..0000000 --- a/docs/html/structi__Class.html +++ /dev/null @@ -1,199 +0,0 @@ - - - - -server: i_Class Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

i_Class Struct Reference

-
-
- -

#include <class.h>

-
-Collaboration diagram for i_Class:
-
-
Collaboration graph
- - -
[legend]
- -

List of all members.

- - - - - - -

-Public Attributes

struct interface *const _
fptr_ctor ctor
fptr_dtor dtor
fptr_clone clone
-

Detailed Description

-
-

Definition at line 15 of file class.h.

-

Member Data Documentation

- -
-
- - - - -
struct interface* const i_Class::_
-
-
- -

Definition at line 16 of file class.h.

- -
-
- -
- -
- -

Definition at line 19 of file class.h.

- -
-
- -
- -
- -

Definition at line 17 of file class.h.

- -
-
- -
- -
- -

Definition at line 18 of file class.h.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/html/structi__Class__coll__graph.map b/docs/html/structi__Class__coll__graph.map deleted file mode 100644 index 20a5b89..0000000 --- a/docs/html/structi__Class__coll__graph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/structi__Class__coll__graph.md5 b/docs/html/structi__Class__coll__graph.md5 deleted file mode 100644 index 5edad58..0000000 --- a/docs/html/structi__Class__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -71dfb0e4a9fbabe8867117a275509a55 \ No newline at end of file diff --git a/docs/html/structi__Class__coll__graph.png b/docs/html/structi__Class__coll__graph.png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nsdV)cDeyAinIbxZJj6rwp=xotNws zx5j!C#Fw0u2!R4h3gsf7{7san{fplI`etx9+o4h^KkQ%Fjqw{;HMx#FlwkkDE}7q2 zO8eq+OriX^e_6tddy}l^*CUNQ`S?0x4rpa~Wq454CTw|UxQ*D|P zDG>q%6j1&q1#fsk0R - - - -server: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

i_Logger Member List

-
-
-This is the complete list of members for i_Logger, including all inherited members. - - -
_i_Logger
logi_Logger
-
- - - - - -
- -
- - - - diff --git a/docs/html/structi__Logger.html b/docs/html/structi__Logger.html deleted file mode 100644 index 5f6d641..0000000 --- a/docs/html/structi__Logger.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - -server: i_Logger Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

i_Logger Struct Reference

-
-
- -

#include <logger.h>

-
-Collaboration diagram for i_Logger:
-
-
Collaboration graph
- - -
[legend]
- -

List of all members.

- - - - -

-Public Attributes

struct interface *const _
fptr_log log
-

Detailed Description

-
-

Definition at line 13 of file logger.h.

-

Member Data Documentation

- -
-
- - - - -
struct interface* const i_Logger::_
-
-
- -

Definition at line 14 of file logger.h.

- -
-
- -
-
- - - - -
fptr_log i_Logger::log
-
-
- -

Definition at line 15 of file logger.h.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/html/structi__Logger__coll__graph.map b/docs/html/structi__Logger__coll__graph.map deleted file mode 100644 index 20a5b89..0000000 --- a/docs/html/structi__Logger__coll__graph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/structi__Logger__coll__graph.md5 b/docs/html/structi__Logger__coll__graph.md5 deleted file mode 100644 index 8da8ddd..0000000 --- a/docs/html/structi__Logger__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -c38324069e4681b971b9142640e73015 \ No newline at end of file diff --git a/docs/html/structi__Logger__coll__graph.png b/docs/html/structi__Logger__coll__graph.png deleted file mode 100644 index f63b1a71c44a5d4c4526a368be333d05d3306aaa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1038 zcmV+p1o8WcP)%c00960 z|HmufWB>pF0d!JMQvg8b*k%9#1A|FKK~#90?U{>mgCGz^MN!lU8UFugyS&tBwTfWV z^xm12SHf|Du$ygBK+xw%=hQ^WX#pspY*54|TAq5SA1KXO;|sh6Dz#~wZYjcOBt?pvmd8ANBZVj%s+N_t#Sb;ycKgvtN<~AC!i9N$ zyC;@nnpEdCRqHSsNf9H(Uwo!&DOFiY8uABWaVY3E$t7>3MhYza!M>Rf;}ge#>gKa><-K=6vpnr+(KdO4$LhS#_qtF`C0B`W~XPlPqUqz zg-T9{yJ0e7*y?XS-Ev!k0tzS)1ZB}DefL2DCATjA#D*X!xjyNJ0R@!Lpg<6GT$jI< z>He3rOL-;|D4@IxMNM_B@=@d+l=(+8+Ok?P_2_#tu=&6*pSLvZ2Qcxb9QoU^Z zK@GirhEhJ1>Lk6rn?Wv6OwsmzOVw6C$C7%7j^6&VtkD$Pp|ovKeJri!Z_j0mQYk2d zB5mx;!|cl=1;sClJ7dzEt$r%0_wkISY-upd*LGw1y{=LueJuvslu%x!1Q))-XtQu* znZ=f40tJ*UN;18HEueq`N+e~=-KM2nu - - - -server: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

i_StreamReader Member List

-
-
-This is the complete list of members for i_StreamReader, including all inherited members. - - -
_i_StreamReader
readi_StreamReader
-
- - - - - -
- -
- - - - diff --git a/docs/html/structi__StreamReader.html b/docs/html/structi__StreamReader.html deleted file mode 100644 index 85a8536..0000000 --- a/docs/html/structi__StreamReader.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - -server: i_StreamReader Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

i_StreamReader Struct Reference

-
-
- -

#include <stream_reader.h>

-
-Collaboration diagram for i_StreamReader:
-
-
Collaboration graph
- - -
[legend]
- -

List of all members.

- - - - -

-Public Attributes

struct interface *const _
fptr_streamReaderRead read
-

Detailed Description

-
-

Definition at line 10 of file stream_reader.h.

-

Member Data Documentation

- -
-
- - - - -
struct interface* const i_StreamReader::_
-
-
- -

Definition at line 11 of file stream_reader.h.

- -
-
- -
- -
- -

Definition at line 12 of file stream_reader.h.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/html/structi__StreamReader__coll__graph.map b/docs/html/structi__StreamReader__coll__graph.map deleted file mode 100644 index 1fe8984..0000000 --- a/docs/html/structi__StreamReader__coll__graph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/html/structi__StreamReader__coll__graph.md5 b/docs/html/structi__StreamReader__coll__graph.md5 deleted file mode 100644 index 4374504..0000000 --- a/docs/html/structi__StreamReader__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -913fb486afb7b429b609ad386b347751 \ No newline at end of file diff --git a/docs/html/structi__StreamReader__coll__graph.png b/docs/html/structi__StreamReader__coll__graph.png deleted file mode 100644 index 61e7b4bc893ac6a6290ee0dd90289d74cb073a49..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1227 zcmeAS@N?(olHy`uVBq!ia0vp^4Gav70vyahmjA~dJ|JZo;1lBd@BjZ+8F_yNip9$H&JnU%q_*{{5FPUj}OZ|NsBI?yP(u zi?JlgFPOpM*^M*?1{McT7srr_Id5lm3N6+WaJ^f|-2MOm&Fg2AuB^DI-ep{zKebb* zF`3z^T-8&7qiX(_xmGL%&kr*)Fx2Zb-1xK9=IHPLjH^Dbn<1X@k>kLY<9navGF<7` z>u!1zkYVJQn%8=+d*0;AWtL}e2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-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

iface_impl Member List

-
-
-This is the complete list of members for iface_impl, including all inherited members. - - - -
impliface_impl
nimpliface_impl
simpliface_impl
-
- - - - - -
- -
- - - - diff --git a/docs/html/structiface__impl.html b/docs/html/structiface__impl.html deleted file mode 100644 index ecfb9c3..0000000 --- a/docs/html/structiface__impl.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - -server: iface_impl Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

iface_impl Struct Reference

-
-
- -

#include <interface.h>

- -

List of all members.

- - - - - -

-Public Attributes

const size_t nimpl
char simpl
const void * impl [MAX_IFACE]
-

Detailed Description

-
-

Definition at line 28 of file interface.h.

-

Member Data Documentation

- -
-
- - - - -
const void* iface_impl::impl[MAX_IFACE]
-
-
- -

Definition at line 31 of file interface.h.

- -
-
- -
-
- - - - -
const size_t iface_impl::nimpl
-
-
- -

Definition at line 29 of file interface.h.

- -
-
- -
-
- - - - -
char iface_impl::simpl
-
-
- -

Definition at line 30 of file interface.h.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/html/structinterface-members.html b/docs/html/structinterface-members.html deleted file mode 100644 index 2683b30..0000000 --- a/docs/html/structinterface-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - -server: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

interface Member List

-
-
-This is the complete list of members for interface, including all inherited members. - - -
nameinterface
nmethodsinterface
-
- - - - - -
- -
- - - - diff --git a/docs/html/structinterface.html b/docs/html/structinterface.html deleted file mode 100644 index 0e0d0b7..0000000 --- a/docs/html/structinterface.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - -server: interface Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

interface Struct Reference

-
-
- -

#include <interface.h>

- -

List of all members.

- - - - -

-Public Attributes

const char * name
const size_t nmethods
-

Detailed Description

-
-

Definition at line 22 of file interface.h.

-

Member Data Documentation

- -
-
- - - - -
const char* interface::name
-
-
- -

Definition at line 23 of file interface.h.

- -
-
- -
-
- - - - -
const size_t interface::nmethods
-
-
- -

Definition at line 24 of file interface.h.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/html/syslog_8c.html b/docs/html/syslog_8c.html deleted file mode 100644 index c8f88ce..0000000 --- a/docs/html/syslog_8c.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - -server: src/logger/syslog.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/logger/syslog.c File Reference

-
-
-
#include <syslog.h>
-#include "logger.h"
-#include "interface/logger.h"
-
-Include dependency graph for syslog.c:
-
-
-
-
-

Go to the source code of this file.

- - - - -

-Functions

 INIT_IFACE (Logger, logSyslog)
 CREATE_CLASS (LoggerSyslog, Logger, IFACE(Logger))
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
CREATE_CLASS (LoggerSyslog ,
Logger ,
IFACE(Logger 
)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
INIT_IFACE (Logger ,
logSyslog  
)
-
-
- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/syslog_8c__incl.map b/docs/html/syslog_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/syslog_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/syslog_8c__incl.md5 b/docs/html/syslog_8c__incl.md5 deleted file mode 100644 index 06be950..0000000 --- a/docs/html/syslog_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -e0d1e341f19b834baa7a71a9cc09b41d \ No newline at end of file diff --git a/docs/html/syslog_8c__incl.png b/docs/html/syslog_8c__incl.png deleted file mode 100644 index 24d01e14734a53458d31d6e15b9317398c1e644c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1618 zcmV-Y2CeytP)CcPcXt;T7mtsRzrVlJ)6)O| z0RR90C9!@200001bW%=J06^y0W&i*M#7RU!RCt{2oQaaNDiDQ@qF%+Vc>jm}yIB%v z0tkY466{koiKvi9{liNTl0Je1!g*LW0Eh0V05jB7lh^fQcf2i6VfB zDi+{0PGNwj(OMh&>J$rbUIQ7-D*?1=2xTx>YwredUBog^VqMmaFUvUL#6$+uxGWs* z&x;sVVJ_H)BP3{#Gg$WCMx4uHRfSz=(+Q=_3j`?UX%-U<6oxoW1K(!FU>v3iAj|*? z!05}yN7+WUhlZ**U_@BD@ak+jDSonJc>pKDC;Sb+AbYk6(rJ z2i0CS<)^I!^&43y?20@Q1uS*FHu+B|FE zh-;wQW#pEimObFJJQqaE8aNyC5&^4XU>%}WG$pcMx_5BlP4#%*s(4m#ZfAcvfS6;5AVt)|8HrsSa0Jpkg=)3b5m zt~RUVmbcSg0A42om?#36C<2%$0+=WQn5eG?7_G-a*6d8)0@ogaIRtf^s*4K}VGAj>RZ! z#zi8z(KHSmX*7_#AiVH=cMF8q9`DL0c=hS7^dyWq++F{O?^Dd+PJ<|z;Qw?sE_E75 zjw^*ikpyE0l?0)@B#a+XB7(vYo;ejKKeHf&XNHnt_@xj$mkK#XUq%w197LY67eMfj z-%)%$!9RaP@#WJv;r+x1#PIh@h&|)5zc&d_uYXVF3go*GK7L)}4RQngE`(;>Df2fs zzv`QoLN)TF(O&`Z714*IR3lFd@(O;HL3n|2R%IFcH2@XD4+ofM_FV<=O6NSvw1HkX z%8OQqZ2EM7`432W^>}0?m?@?=-|qmJZj>dUciWF9m@l}?M)=tTGsbn{_&%3l&X_J9 z-t_=8eQ&{~?rGkSN1iAgA-RSg`7%V-=P=I``8g55L=nJ55x_(dz(f(iLyP+2LN=NbN6EzKOa+Z0GsDu-H$fRVrSI$1n^zI9^-pzoe+~9VBd+Z-8fTCqBbU`;=kN|njSl6^&&j6}wSXb@OS0xCbGODzbF>E+vH3nPv zcJDxdoMArsI843EIhP7+{|D!-U9~ z=+l@)5x_(dz(f(iL=nJ55x_(dz(nl<=KfcQpAWjwJdbzQkVqsFi9`z2KfiG;43yfK QU;qFB07*qoM6N<$f(*R#5dZ)H diff --git a/docs/html/syslog_8c_source.html b/docs/html/syslog_8c_source.html deleted file mode 100644 index eaf5da9..0000000 --- a/docs/html/syslog_8c_source.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - -server: src/logger/syslog.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/logger/syslog.c

-
-
-Go to the documentation of this file.
00001 #include <syslog.h>
-00002 
-00003 #include "logger.h"
-00004 #include "interface/logger.h"
-00005 
-00006 static
-00007 const
-00008 int syslog_priority[] = {
-00009     LOG_USER | LOG_DEBUG,
-00010     LOG_USER | LOG_INFO,
-00011     LOG_USER | LOG_NOTICE,
-00012     LOG_USER | LOG_WARNING,
-00013     LOG_USER | LOG_ERR,
-00014     LOG_USER | LOG_CRIT,
-00015     LOG_USER | LOG_ALERT,
-00016     LOG_USER | LOG_EMERG
-00017 };
-00018 
-00019 static
-00020 void
-00021 logSyslog(void * this, logger_level level, const char * const msg)
-00022 {
-00023     syslog(syslog_priority[level], "[%s] %s", logger_level_str[level], msg);
-00024 }
-00025 
-00026 INIT_IFACE(Logger, logSyslog);
-00027 CREATE_CLASS(LoggerSyslog, Logger, IFACE(Logger));
-00028 
-00029 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/tab_a.png b/docs/html/tab_a.png deleted file mode 100644 index 2d99ef23fed78c7683f0b5aa803d937060d288c4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 140 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!Qo)`sjv*C{Z|CmjY;X`^DSv)) z;hc^cTF;t%XWXdwWP5+kt?jQ5uhqKtjd^EY`^^-S;M%tFAj_l)EwVTK)E@1LSD0{e q?a6($SGQTzz1#QBzr0NMKf^0WCX-0bi?u-G89ZJ6T-G@yGywp8?ljB* diff --git a/docs/html/tab_b.png b/docs/html/tab_b.png deleted file mode 100644 index b2c3d2be3c7e518fbca6bb30f571882e72fc506d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 178 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!Qk9-Ajv*C{Z|~mbJ)|JfaM8Xd zIP7xAmLwau9@iXhZTrl-TjWj9jM#?{xt`6uU{<)jb9Suc^QnbhJ(o{ib8=j9u0_mE8M7kgF7f<7W7IEf=8(L_qx|g0H;V7iPxm&Q@G7p8W2Kx&iT|YUM=ITC zY<0Qbr;u&AtXD{o@41wH=7&d8=2Z_{M9Tsa=g*t*@A3H$UOlxZk7?f6RUWpx>Fc_L s#LQ{edY3MpIXkMeV^&YV=9fR%8Jv|Kya=#u06K}m)78&qol`;+0RKEt)&Kwi diff --git a/docs/html/tab_s.png b/docs/html/tab_s.png deleted file mode 100644 index 978943ac807718de0e69e5a585a8f0a1e5999285..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 189 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QZ1e?jv*C{Z|}b5Yzkm-c<7z3 zq^cq0=~}Z;b(!Zvb5Z%sTRFKGlz1=qOFg;myyu?$r`wZb^irPsN1a)6)TwB0r+)wb zPL25;=adu89?fTK`qDR>$D*)b_WOmdKI;Vst02j(hg8%>k diff --git a/docs/html/tabs.css b/docs/html/tabs.css deleted file mode 100644 index 2192056..0000000 --- a/docs/html/tabs.css +++ /dev/null @@ -1,59 +0,0 @@ -.tabs, .tabs2, .tabs3 { - background-image: url('tab_b.png'); - width: 100%; - z-index: 101; - font-size: 13px; -} - -.tabs2 { - font-size: 10px; -} -.tabs3 { - font-size: 9px; -} - -.tablist { - margin: 0; - padding: 0; - display: table; -} - -.tablist li { - float: left; - display: table-cell; - background-image: url('tab_b.png'); - line-height: 36px; - list-style: none; -} - -.tablist a { - display: block; - padding: 0 20px; - font-weight: bold; - background-image:url('tab_s.png'); - background-repeat:no-repeat; - background-position:right; - color: #283A5D; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; - outline: none; -} - -.tabs3 .tablist a { - padding: 0 10px; -} - -.tablist a:hover { - background-image: url('tab_h.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); - text-decoration: none; -} - -.tablist li.current a { - background-image: url('tab_a.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); -} diff --git a/docs/html/testserver_8c.html b/docs/html/testserver_8c.html deleted file mode 100644 index b285057..0000000 --- a/docs/html/testserver_8c.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - -server: src/testserver.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/testserver.c File Reference

-
-
-
#include <stdio.h>
-#include <socket.h>
-#include <string.h>
-#include "server.h"
-#include "logger.h"
-#include "http/request_parser.h"
-#include "signalHandling.h"
-#include "interface/class.h"
-
-Include dependency graph for testserver.c:
-
-
-
-
-

Go to the source code of this file.

- - - -

-Functions

int main ()
-

Function Documentation

- -
-
- - - - - - - -
int main ()
-
-
- -

Definition at line 14 of file testserver.c.

-
{
-        Logger            logger = new(LoggerStderr, LOGGER_ERR);
-        HttpRequestParser parser = new(HttpRequestParser);
-        Server            server = new(Server, logger, parser, 11212, SOMAXCONN);
-        //Server            server = new(Server, logger, parser, 11212, 20);
-
-        init_signals();
-        serverRun(server);
-
-        delete(&server);
-        delete(&logger);
-        delete(&parser);
-
-        return 0;
-}
-
-

-Here is the call graph for this function:
-
-
- - -
-

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/html/testserver_8c__incl.map b/docs/html/testserver_8c__incl.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/html/testserver_8c__incl.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/html/testserver_8c__incl.md5 b/docs/html/testserver_8c__incl.md5 deleted file mode 100644 index d5c11e9..0000000 --- a/docs/html/testserver_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -8688f87e920ceb1680eb04bbc589ac2e \ No newline at end of file diff --git a/docs/html/testserver_8c__incl.png b/docs/html/testserver_8c__incl.png deleted file mode 100644 index 5a32e8632d457f9101786205f15589d04e0555ce..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3460 zcma)9c{J3~-=1t~EM?!xQut=<8art$BfBBQ2$7wvlOkeFLbjAaBUxt5*iG4zETxb= zLPM62Es}LC@ARJYp7WmHU%&gu{XFM6_dd_(^SSqrdy}jzjM>0~U=Rqz1~-A(fI#$U z8V+Zsr_Fs~WL{d(vob>%9-o{D2n4rxbm-~nJ$Ue7YI+)1P#`8I_O7)xGc!{`LBZJA z*wxh)kH<$wM)L9TrKP2{wzdur57PurPENL))tYJORG5v0El7Xin->Vgx&?<_L7?*2 zoRcF+>a1o#=iP)d$(WOqu@BDzdOM6_3?{L4lh+b-GCkQYr|*QEqV4~W5yO-?p&s=f z6s*ZQ9e#?3?mefKI7pa{a1Qi@3Be39rUw{ei~jM08^n$MSn#Qr>TiMj(K^$YJS*jB zOQqUK?ft(Omk%fCcvuC984I=lw{N z)nqf6frzmv&EtMGLj5hSYDVKeSXQT?s2r)_w10p(lJHza+uk}d#cgVLw9|wF}LvY?jra9mdZk6AD;#oKw_&RzdW4V zy~`vyqKVD=2ZEPhNVA9lS`^tQoWji+@M$gfEs6}Sz#G+edq+ot$63kKs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RQfK?jY GeE2_F-EP4E diff --git a/docs/html/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map b/docs/html/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map deleted file mode 100644 index d42047b..0000000 --- a/docs/html/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/docs/html/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 b/docs/html/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 deleted file mode 100644 index 0bb1b99..0000000 --- a/docs/html/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -13bd7eb33e05d633c1ace99188c41a6f \ No newline at end of file diff --git a/docs/html/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.png b/docs/html/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.png deleted file mode 100644 index 0c8bde492d6bffe85b66843a2ed25ae5f5a9acb2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1800 zcmaKtX*Ao38pcy*n2B0uG^3TGovE#+wGJW?6iqRfu~SRYqSi#JnY2N*Rir7ULyDkk zNg1)Uw!}7S1T9G`D)vxE{&po*q9oV!o_p@OU+y{YdEe)p=R6;tFYhni#R(+~RtAGW zAX&Q$Hm)GhA?$&^|Bd9qE*na}bZ}rUzq;Fs#NuPe&=wXJ9i5$OYHCHr#Yss?(>$K8 zu5M;#CY4G>p-_Q=fl5kBI2^9Cvy;Q&97M%pvByt0{yI>HuDLq7fh_r>p&*b{f}M?( z`|p(1!uz?Urxk1yIQ{cKSq z=%TAL>f-RGgj-y^KZ@zoY-I5~BD(d{KILYcS$uGL7=@ehX^=bHRW$vEzJy(Ajd|0| zz~pJub~6(hFV>kA9v5AFCP?nlr+=K&aOKv-haI09(p&W*MRW7dx;xx4UfFIK-Zbj5 zpYbCm9^st9Jteg>yrwufn#*;ai%sqY#J-mFVZ&unl@<8y;dAC&Zb}}tNq0w=(j)Ns z!RlzFiv5Bg>CT&^#YzOd@k)g6VnkIMso=uu_h#!A3C0nbkoXe#cTn>&-=YfdZz=a> z0S_H2UY+^&S#6Zhgwc?D0hpXGQ){vN_^lDj-x~;Wez#ltw{u)Tp3(;cw&U1ll^!Gu zqlhqk(p>e(*Yyw@{nSf%!5E;pV@cadxZzo8mRNndS?< zwySsV>eSF6>d%p{+gHM^IF0of#SLfeHB&c-=gXHH4cV2{@?5I6r|Wn)RVjjppgE{; zHFt{^5NZnq7c59q54D z3peFFXC}MdGVlRk#b$Toy&uiGmd~_F06~M!2Cd!7Y|+hSKeTD^`g)E^9Bex=kiS1K zT&yz<{G76(!h-V}Wai-%bO%l%c|#?`tk(v~su6tVm;Q9OID|)^WGKCKe%X$cW@8F7 zd6}tuiKK|@ybfmSFz`cyCI$N*Cf*j%lGc{^{`=*H%NNnCG+^(%#kQKd@H}f!1VZ8(-%VF_M$kDAj!ZvzT|IZeV45Yo}@kLdwg}rL7PXvfmz&l@ym8}^kqcTuvHC^;}7cJ zHwA5KYt4k&OD?r8rhl`UTtSl4Rsl4iS_YxYBJc?AEcE0b_C#)-Hq@zEfH29y%1NU_ zs(pUTHHIIH`qkv6I$w~}Qa%=z7AMV`$)nKA~i#JN72jH#5VqF{5H&)>kLsS;d|62;HZ842<`3UJ&8DaKm8`bO4vuO> z_J(?6&if=7^?&QZAJ8|KGzJr!3atGo#QDlRiXn55@WnAHTgk;cO^nq&qX*{!=(Q}0 z%X|%FUjU14sfGXo80F?EP4_$;B6`01VmN#pUE@7+2ECTNE&4A8z7&-I4;{1<=5yKa gQ1S;9AsC4d^>j^v&h|Sr{6iHxTPK^EbC+)a3quy4(f|Me diff --git a/docs/html/testserver_8c_source.html b/docs/html/testserver_8c_source.html deleted file mode 100644 index 31b531c..0000000 --- a/docs/html/testserver_8c_source.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - -server: src/testserver.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
server 0.0.1
-
basicserverinfrastructure
-
-
- - -
-
- -
-
-
- -
-
-
-

src/testserver.c

-
-
-Go to the documentation of this file.
00001 #include <stdio.h>
-00002 #include <socket.h>
-00003 #include <string.h>
-00004 
-00005 #include "server.h"
-00006 #include "logger.h"
-00007 #include "http/request_parser.h"
-00008 
-00009 #include "signalHandling.h"
-00010 
-00011 #include "interface/class.h"
-00012 
-00013 int
-00014 main()
-00015 {
-00016         Logger            logger = new(LoggerStderr, LOGGER_ERR);
-00017         HttpRequestParser parser = new(HttpRequestParser);
-00018         Server            server = new(Server, logger, parser, 11212, SOMAXCONN);
-00019         //Server            server = new(Server, logger, parser, 11212, 20);
-00020 
-00021         init_signals();
-00022         serverRun(server);
-00023 
-00024         delete(&server);
-00025         delete(&logger);
-00026         delete(&parser);
-00027 
-00028         return 0;
-00029 }
-00030 
-00031 // vim: set ts=4 sw=4:
-
-
- - - - - -
- -
- - - - diff --git a/docs/latex/Makefile b/docs/latex/Makefile deleted file mode 100644 index 8b7c89a..0000000 --- a/docs/latex/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -all: clean refman.pdf - -pdf: refman.pdf - -refman.pdf: refman.tex - pdflatex refman.tex - makeindex refman.idx - pdflatex refman.tex - latex_count=5 ; \ - while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ - do \ - echo "Rerunning latex...." ;\ - pdflatex refman.tex ;\ - latex_count=`expr $$latex_count - 1` ;\ - done - - -clean: - rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf diff --git a/docs/latex/accept_8c.tex b/docs/latex/accept_8c.tex deleted file mode 100644 index 6f4ce2e..0000000 --- a/docs/latex/accept_8c.tex +++ /dev/null @@ -1,69 +0,0 @@ -\hypertarget{accept_8c}{ -\section{src/socket/accept.c File Reference} -\label{accept_8c}\index{src/socket/accept.c@{src/socket/accept.c}} -} -{\ttfamily \#include $<$errno.h$>$}\par -{\ttfamily \#include $<$unistd.h$>$}\par -{\ttfamily \#include \char`\"{}socket.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/logger.h\char`\"{}}\par -Include dependency graph for accept.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{structSock}{Sock} \hyperlink{accept_8c_a46aa6b495ccf752e844f93bf46c9edd6}{socketAccept} (\hyperlink{structSock}{Sock} this, char remoteAddr\mbox{[}16\mbox{]}) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{accept_8c_a46aa6b495ccf752e844f93bf46c9edd6}{ -\index{accept.c@{accept.c}!socketAccept@{socketAccept}} -\index{socketAccept@{socketAccept}!accept.c@{accept.c}} -\subsubsection[{socketAccept}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Sock} socketAccept ( -\begin{DoxyParamCaption} -\item[{{\bf Sock}}]{this, } -\item[{char}]{remoteAddr\mbox{[}16\mbox{]}} -\end{DoxyParamCaption} -)}} -\label{accept_8c_a46aa6b495ccf752e844f93bf46c9edd6} - - -: Uhh, this is bad. we open a new socket additionally to the one we get from the accept call. i have to change the socket constructor to be able to create the data structure without creation of a socket at all. For now i simply close the socket here.... :D - -: change port to remote port on success - - - -Definition at line 9 of file accept.c. - - -\begin{DoxyCode} -{ - Sock sock; /* Socket for client */ - unsigned int len; /* Length of client address data structure */ - - /* Set the size of the in-out parameter */ - len = sizeof(this->addr); - - sock = new(Sock, this->log, this->port); - close(sock->handle); - /* Wait for a client to connect */ - sock->handle = accept(this->handle, (struct sockaddr *) &(sock->addr), &len); - - if (-1 == sock->handle) { - loggerLog(this->log, LOGGER_WARNING, - "error accepting connection: %s", strerror(errno)); - } else { - loggerLog(this->log, LOGGER_INFO, - "handling client %s\n", inet_ntoa((sock->addr).si - n_addr)); - } - - return sock; -} -\end{DoxyCode} - - -Here is the call graph for this function: - - diff --git a/docs/latex/accept_8c__incl.dot b/docs/latex/accept_8c__incl.dot deleted file mode 100644 index f6306b1..0000000 --- a/docs/latex/accept_8c__incl.dot +++ /dev/null @@ -1,17 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/socket/accept.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="errno.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="unistd.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="socket.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="interface/logger.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/accept_8c__incl.md5 b/docs/latex/accept_8c__incl.md5 deleted file mode 100644 index 497d4fe..0000000 --- a/docs/latex/accept_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -fde41efb8dc00cab5cb2d1abd1282b58 \ No newline at end of file diff --git a/docs/latex/accept_8c_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.dot b/docs/latex/accept_8c_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.dot deleted file mode 100644 index 8db5343..0000000 --- a/docs/latex/accept_8c_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="socketAccept",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="loggerLog",height=0.2,width=0.4,color="black",URL="$interface_2logger_8h.html#ae9f8662ec8b300dcfb5064906937553e"]; -} diff --git a/docs/latex/accept_8c_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 b/docs/latex/accept_8c_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 deleted file mode 100644 index 30c94d1..0000000 --- a/docs/latex/accept_8c_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -a87e97e5a05cbb8f89e4bc27d3257053 \ No newline at end of file diff --git a/docs/latex/annotated.tex b/docs/latex/annotated.tex deleted file mode 100644 index 2261788..0000000 --- a/docs/latex/annotated.tex +++ /dev/null @@ -1,19 +0,0 @@ -\section{Class List} -Here are the classes, structs, unions and interfaces with brief descriptions:\begin{DoxyCompactList} -\item\contentsline{section}{\hyperlink{structclass}{class} }{\pageref{structclass}}{} -\item\contentsline{section}{\hyperlink{structHttpHeader}{HttpHeader} }{\pageref{structHttpHeader}}{} -\item\contentsline{section}{\hyperlink{structHttpRequest}{HttpRequest} }{\pageref{structHttpRequest}}{} -\item\contentsline{section}{\hyperlink{structHttpRequestParser}{HttpRequestParser} }{\pageref{structHttpRequestParser}}{} -\item\contentsline{section}{\hyperlink{structHttpRequestQueue}{HttpRequestQueue} }{\pageref{structHttpRequestQueue}}{} -\item\contentsline{section}{\hyperlink{structHttpResponse}{HttpResponse} }{\pageref{structHttpResponse}}{} -\item\contentsline{section}{\hyperlink{structi__Class}{i\_\-Class} }{\pageref{structi__Class}}{} -\item\contentsline{section}{\hyperlink{structi__Logger}{i\_\-Logger} }{\pageref{structi__Logger}}{} -\item\contentsline{section}{\hyperlink{structi__StreamReader}{i\_\-StreamReader} }{\pageref{structi__StreamReader}}{} -\item\contentsline{section}{\hyperlink{structiface__impl}{iface\_\-impl} }{\pageref{structiface__impl}}{} -\item\contentsline{section}{\hyperlink{structinterface}{interface} }{\pageref{structinterface}}{} -\item\contentsline{section}{\hyperlink{structLogger}{Logger} }{\pageref{structLogger}}{} -\item\contentsline{section}{\hyperlink{structLoggerStderr}{LoggerStderr} }{\pageref{structLoggerStderr}}{} -\item\contentsline{section}{\hyperlink{structLoggerSyslog}{LoggerSyslog} }{\pageref{structLoggerSyslog}}{} -\item\contentsline{section}{\hyperlink{structServer}{Server} }{\pageref{structServer}}{} -\item\contentsline{section}{\hyperlink{structSock}{Sock} }{\pageref{structSock}}{} -\end{DoxyCompactList} diff --git a/docs/latex/class_8c.tex b/docs/latex/class_8c.tex deleted file mode 100644 index 9c04af3..0000000 --- a/docs/latex/class_8c.tex +++ /dev/null @@ -1,70 +0,0 @@ -\hypertarget{class_8c}{ -\section{src/class.c File Reference} -\label{class_8c}\index{src/class.c@{src/class.c}} -} -{\ttfamily \#include $<$stdarg.h$>$}\par -{\ttfamily \#include $<$stdlib.h$>$}\par -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface.h\char`\"{}}\par -Include dependency graph for class.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void $\ast$ \hyperlink{class_8c_a30ee53043e30a6f7517952a07b9dad83}{class\_\-getInterface} (\hyperlink{structclass}{class\_\-ptr} $\ast$\hyperlink{structclass}{class}, \hyperlink{structinterface}{iface\_\-ptr} \_\-iface) -\item -\hyperlink{structclass}{class\_\-ptr} \hyperlink{class_8c_a4571582148d8bd8a9387e89843e1904a}{class\_\-getClass} (void $\ast$object) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{class_8c_a4571582148d8bd8a9387e89843e1904a}{ -\index{class.c@{class.c}!class\_\-getClass@{class\_\-getClass}} -\index{class\_\-getClass@{class\_\-getClass}!class.c@{class.c}} -\subsubsection[{class\_\-getClass}]{\setlength{\rightskip}{0pt plus 5cm}{\bf class\_\-ptr} class\_\-getClass ( -\begin{DoxyParamCaption} -\item[{void $\ast$}]{object} -\end{DoxyParamCaption} -)}} -\label{class_8c_a4571582148d8bd8a9387e89843e1904a} - - -Definition at line 21 of file class.c. - - -\begin{DoxyCode} -{ - return *(class_ptr *)(object - sizeof(void*)); -} -\end{DoxyCode} - - -Here is the caller graph for this function: - - -\hypertarget{class_8c_a30ee53043e30a6f7517952a07b9dad83}{ -\index{class.c@{class.c}!class\_\-getInterface@{class\_\-getInterface}} -\index{class\_\-getInterface@{class\_\-getInterface}!class.c@{class.c}} -\subsubsection[{class\_\-getInterface}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ class\_\-getInterface ( -\begin{DoxyParamCaption} -\item[{{\bf class\_\-ptr} $\ast$}]{class, } -\item[{{\bf iface\_\-ptr}}]{\_\-iface} -\end{DoxyParamCaption} -)}} -\label{class_8c_a30ee53043e30a6f7517952a07b9dad83} - - -Definition at line 8 of file class.c. - - -\begin{DoxyCode} -{ - void * iface = (void *)IFACE_GET(*class, _iface); - - while(NULL == iface && HAS_PARENT(*class)) { - *class = (*class)->parent; - iface = (void *)IFACE_GET(*class, _iface); - } - - return iface; -} -\end{DoxyCode} diff --git a/docs/latex/class_8c__incl.dot b/docs/latex/class_8c__incl.dot deleted file mode 100644 index af193e4..0000000 --- a/docs/latex/class_8c__incl.dot +++ /dev/null @@ -1,15 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/class.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdarg.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="interface.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/class_8c__incl.md5 b/docs/latex/class_8c__incl.md5 deleted file mode 100644 index 3bd0211..0000000 --- a/docs/latex/class_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -1922e487506377dd7f0f97faac6a74d4 \ No newline at end of file diff --git a/docs/latex/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.dot b/docs/latex/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.dot deleted file mode 100644 index de9064a..0000000 --- a/docs/latex/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="class_getClass",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="classClone",height=0.2,width=0.4,color="black",URL="$interface_2class_8c.html#ada46f0179448063a30f6f219270bf1e0"]; -} diff --git a/docs/latex/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.md5 b/docs/latex/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.md5 deleted file mode 100644 index 4fd005c..0000000 --- a/docs/latex/class_8c_a4571582148d8bd8a9387e89843e1904a_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -e3784e6b850239e78fddc5ad8dd02142 \ No newline at end of file diff --git a/docs/latex/class_8h.tex b/docs/latex/class_8h.tex deleted file mode 100644 index 142ac5f..0000000 --- a/docs/latex/class_8h.tex +++ /dev/null @@ -1,350 +0,0 @@ -\hypertarget{class_8h}{ -\section{include/class.h File Reference} -\label{class_8h}\index{include/class.h@{include/class.h}} -} -{\ttfamily \#include $<$stdarg.h$>$}\par -{\ttfamily \#include $<$sys/types.h$>$}\par -{\ttfamily \#include $<$string.h$>$}\par -{\ttfamily \#include $<$assert.h$>$}\par -{\ttfamily \#include \char`\"{}interface.h\char`\"{}}\par -Include dependency graph for class.h: -This graph shows which files directly or indirectly include this file: -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structclass}{class} -\end{DoxyCompactItemize} -\subsection*{Defines} -\begin{DoxyCompactItemize} -\item -\#define \hyperlink{class_8h_a04ec2c53aa9fcdb5b58dc8e9d552dec0}{\_\-ISOC99\_\-SOURCE} -\item -\#define \hyperlink{class_8h_a28c4c4c1ebf62795262a3553d59e8bff}{CLASS\_\-MAGIC}~0xFEFE -\item -\#define \hyperlink{class_8h_ab12c2142e0ec3f4f19a03b3879c67f32}{CLASS}(name) -\item -\#define \hyperlink{class_8h_a45e588b871b5b73461805ab4a5c59aa5}{EXTENDS}(parent)~const char \_\-\mbox{[}sizeof(struct c\_\-\#\#parent)\mbox{]} -\item -\#define \hyperlink{class_8h_ab9f9098d95379c04d979721396dabf68}{\_\-NULL}~NULL -\item -\#define \hyperlink{class_8h_a509b4880afb25bb862c448d7a71e7afe}{CREATE\_\-CLASS}(name, \_\-parent,...) -\item -\#define \hyperlink{class_8h_a2e9a0b177e4115cc7e547b51ac35c5af}{\_\-CALL}(object, \_\-iface, method,...) -\item -\#define \hyperlink{class_8h_ada752d9d1fdbf84e978606e8999c762d}{CALL}(object, \_\-iface, method,...) -\item -\#define \hyperlink{class_8h_a06fb0f2e08d1cbacbed6784319e7c3fc}{RETCALL}(object, \_\-iface, method, ret,...) -\item -\#define \hyperlink{class_8h_adb99542d8748b5108322ccb26bb367e0}{IFACE\_\-GET}(\hyperlink{structclass}{class}, iface)~(interfaceGet(\&((\hyperlink{structclass}{class})-\/$>$impl),(iface))) -\item -\#define \hyperlink{class_8h_a80e924aca338b869530dde0a9389e916}{IFACE\_\-EXISTS}(\hyperlink{structclass}{class}, iface)~(NULL != IFACE\_\-GET((\hyperlink{structclass}{class}),(iface))) -\item -\#define \hyperlink{class_8h_a5ea9893a0e62748b9d1154d5b77abed1}{HAS\_\-PARENT}(\hyperlink{structclass}{class})~(NULL != ((\hyperlink{structclass}{class})-\/$>$parent)) -\end{DoxyCompactItemize} -\subsection*{Typedefs} -\begin{DoxyCompactItemize} -\item -typedef void($\ast$ \hyperlink{class_8h_aa0ba47bce818b20155a8ef17a1fdc35c}{fptr\_\-classInit} )(void) -\item -typedef struct \hyperlink{structclass}{class} $\ast$ \hyperlink{class_8h_a68df9f6e346c5fad9f61bb2557d1d832}{class\_\-ptr} -\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void $\ast$ \hyperlink{class_8h_ad96186de45579eb423ab318a5caaf62f}{class\_\-getInterface} (\hyperlink{structclass}{class\_\-ptr} $\ast$, \hyperlink{structinterface}{iface\_\-ptr}) -\item -\hyperlink{structclass}{class\_\-ptr} \hyperlink{class_8h_a1f382a42de272d5cc4d6bb5b17db6ede}{class\_\-getClass} (void $\ast$) -\end{DoxyCompactItemize} - - -\subsection{Define Documentation} -\hypertarget{class_8h_a2e9a0b177e4115cc7e547b51ac35c5af}{ -\index{class.h@{class.h}!\_\-CALL@{\_\-CALL}} -\index{\_\-CALL@{\_\-CALL}!class.h@{class.h}} -\subsubsection[{\_\-CALL}]{\setlength{\rightskip}{0pt plus 5cm}\#define \_\-CALL( -\begin{DoxyParamCaption} -\item[{}]{object, } -\item[{}]{\_\-iface, } -\item[{}]{method, } -\item[{}]{...} -\end{DoxyParamCaption} -)}} -\label{class_8h_a2e9a0b177e4115cc7e547b51ac35c5af} -{\bfseries Value:} -\begin{DoxyCode} -class_ptr class = class_getClass((object)); \ - struct i_##_iface * iface; - \ - if (class->init) class->init(); - \ - iface = (struct i_##_iface *)class_getInterface(&class, &i_##_iface); - \ - while ((NULL == iface || NULL == iface->method) && HAS_PARENT(class)) { - \ - class = class->parent; - \ - if (class->init) class->init(); - \ - iface = (struct i_##_iface *)class_getInterface(&class, &i_##_ifa - ce); \ - }; - \ - assert(NULL != iface->method); -\end{DoxyCode} -: actually i use gcc feature \#\# for variadoc... think about a way to make this standard. - -Definition at line 43 of file class.h. - -\hypertarget{class_8h_a04ec2c53aa9fcdb5b58dc8e9d552dec0}{ -\index{class.h@{class.h}!\_\-ISOC99\_\-SOURCE@{\_\-ISOC99\_\-SOURCE}} -\index{\_\-ISOC99\_\-SOURCE@{\_\-ISOC99\_\-SOURCE}!class.h@{class.h}} -\subsubsection[{\_\-ISOC99\_\-SOURCE}]{\setlength{\rightskip}{0pt plus 5cm}\#define \_\-ISOC99\_\-SOURCE}} -\label{class_8h_a04ec2c53aa9fcdb5b58dc8e9d552dec0} - - -Definition at line 11 of file class.h. - -\hypertarget{class_8h_ab9f9098d95379c04d979721396dabf68}{ -\index{class.h@{class.h}!\_\-NULL@{\_\-NULL}} -\index{\_\-NULL@{\_\-NULL}!class.h@{class.h}} -\subsubsection[{\_\-NULL}]{\setlength{\rightskip}{0pt plus 5cm}\#define \_\-NULL~NULL}} -\label{class_8h_ab9f9098d95379c04d979721396dabf68} - - -Definition at line 24 of file class.h. - -\hypertarget{class_8h_ada752d9d1fdbf84e978606e8999c762d}{ -\index{class.h@{class.h}!CALL@{CALL}} -\index{CALL@{CALL}!class.h@{class.h}} -\subsubsection[{CALL}]{\setlength{\rightskip}{0pt plus 5cm}\#define CALL( -\begin{DoxyParamCaption} -\item[{}]{object, } -\item[{}]{\_\-iface, } -\item[{}]{method, } -\item[{}]{...} -\end{DoxyParamCaption} -)}} -\label{class_8h_ada752d9d1fdbf84e978606e8999c762d} -{\bfseries Value:} -\begin{DoxyCode} -do { \ - _CALL(object, _iface, method, ##__VA_ARGS__); \ - iface->method(object, ##__VA_ARGS__); \ - } while(0) -\end{DoxyCode} - - -Definition at line 55 of file class.h. - -\hypertarget{class_8h_ab12c2142e0ec3f4f19a03b3879c67f32}{ -\index{class.h@{class.h}!CLASS@{CLASS}} -\index{CLASS@{CLASS}!class.h@{class.h}} -\subsubsection[{CLASS}]{\setlength{\rightskip}{0pt plus 5cm}\#define CLASS( -\begin{DoxyParamCaption} -\item[{}]{name} -\end{DoxyParamCaption} -)}} -\label{class_8h_ab12c2142e0ec3f4f19a03b3879c67f32} -{\bfseries Value:} -\begin{DoxyCode} -struct c_##name; \ - typedef struct c_##name * name; \ - extern struct class * const _##name; \ - struct c_##name -\end{DoxyCode} - - -Definition at line 15 of file class.h. - -\hypertarget{class_8h_a28c4c4c1ebf62795262a3553d59e8bff}{ -\index{class.h@{class.h}!CLASS\_\-MAGIC@{CLASS\_\-MAGIC}} -\index{CLASS\_\-MAGIC@{CLASS\_\-MAGIC}!class.h@{class.h}} -\subsubsection[{CLASS\_\-MAGIC}]{\setlength{\rightskip}{0pt plus 5cm}\#define CLASS\_\-MAGIC~0xFEFE}} -\label{class_8h_a28c4c4c1ebf62795262a3553d59e8bff} - - -Definition at line 13 of file class.h. - -\hypertarget{class_8h_a509b4880afb25bb862c448d7a71e7afe}{ -\index{class.h@{class.h}!CREATE\_\-CLASS@{CREATE\_\-CLASS}} -\index{CREATE\_\-CLASS@{CREATE\_\-CLASS}!class.h@{class.h}} -\subsubsection[{CREATE\_\-CLASS}]{\setlength{\rightskip}{0pt plus 5cm}\#define CREATE\_\-CLASS( -\begin{DoxyParamCaption} -\item[{}]{name, } -\item[{}]{\_\-parent, } -\item[{}]{...} -\end{DoxyParamCaption} -)}} -\label{class_8h_a509b4880afb25bb862c448d7a71e7afe} -{\bfseries Value:} -\begin{DoxyCode} -static struct class c_##name; \ - static void _classInit_(void) { \ - c_##name.parent = _##_parent; \ - c_##name.init = NULL; \ - } \ - static struct class c_##name = { \ - CLASS_MAGIC, \ - NULL, \ - sizeof(struct c_##name), \ - _classInit_, \ - INIT_IMPL(__VA_ARGS__) \ - }; struct class * const _##name = &c_##name -\end{DoxyCode} - - -Definition at line 25 of file class.h. - -\hypertarget{class_8h_a45e588b871b5b73461805ab4a5c59aa5}{ -\index{class.h@{class.h}!EXTENDS@{EXTENDS}} -\index{EXTENDS@{EXTENDS}!class.h@{class.h}} -\subsubsection[{EXTENDS}]{\setlength{\rightskip}{0pt plus 5cm}\#define EXTENDS( -\begin{DoxyParamCaption} -\item[{}]{parent} -\end{DoxyParamCaption} -)~const char \_\-\mbox{[}sizeof(struct c\_\-\#\#parent)\mbox{]}}} -\label{class_8h_a45e588b871b5b73461805ab4a5c59aa5} - - -Definition at line 21 of file class.h. - -\hypertarget{class_8h_a5ea9893a0e62748b9d1154d5b77abed1}{ -\index{class.h@{class.h}!HAS\_\-PARENT@{HAS\_\-PARENT}} -\index{HAS\_\-PARENT@{HAS\_\-PARENT}!class.h@{class.h}} -\subsubsection[{HAS\_\-PARENT}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAS\_\-PARENT( -\begin{DoxyParamCaption} -\item[{}]{{\bf class}} -\end{DoxyParamCaption} -)~(NULL != (({\bf class})-\/$>$parent))}} -\label{class_8h_a5ea9893a0e62748b9d1154d5b77abed1} - - -Definition at line 71 of file class.h. - -\hypertarget{class_8h_a80e924aca338b869530dde0a9389e916}{ -\index{class.h@{class.h}!IFACE\_\-EXISTS@{IFACE\_\-EXISTS}} -\index{IFACE\_\-EXISTS@{IFACE\_\-EXISTS}!class.h@{class.h}} -\subsubsection[{IFACE\_\-EXISTS}]{\setlength{\rightskip}{0pt plus 5cm}\#define IFACE\_\-EXISTS( -\begin{DoxyParamCaption} -\item[{}]{{\bf class}, } -\item[{}]{iface} -\end{DoxyParamCaption} -)~(NULL != IFACE\_\-GET(({\bf class}),(iface)))}} -\label{class_8h_a80e924aca338b869530dde0a9389e916} - - -Definition at line 69 of file class.h. - -\hypertarget{class_8h_adb99542d8748b5108322ccb26bb367e0}{ -\index{class.h@{class.h}!IFACE\_\-GET@{IFACE\_\-GET}} -\index{IFACE\_\-GET@{IFACE\_\-GET}!class.h@{class.h}} -\subsubsection[{IFACE\_\-GET}]{\setlength{\rightskip}{0pt plus 5cm}\#define IFACE\_\-GET( -\begin{DoxyParamCaption} -\item[{}]{{\bf class}, } -\item[{}]{iface} -\end{DoxyParamCaption} -)~(interfaceGet(\&(({\bf class})-\/$>$impl),(iface)))}} -\label{class_8h_adb99542d8748b5108322ccb26bb367e0} - - -Definition at line 68 of file class.h. - -\hypertarget{class_8h_a06fb0f2e08d1cbacbed6784319e7c3fc}{ -\index{class.h@{class.h}!RETCALL@{RETCALL}} -\index{RETCALL@{RETCALL}!class.h@{class.h}} -\subsubsection[{RETCALL}]{\setlength{\rightskip}{0pt plus 5cm}\#define RETCALL( -\begin{DoxyParamCaption} -\item[{}]{object, } -\item[{}]{\_\-iface, } -\item[{}]{method, } -\item[{}]{ret, } -\item[{}]{...} -\end{DoxyParamCaption} -)}} -\label{class_8h_a06fb0f2e08d1cbacbed6784319e7c3fc} -{\bfseries Value:} -\begin{DoxyCode} -do { \ - _CALL(object, _iface, method, ##__VA_ARGS__); \ - ret = iface->method(object, ##__VA_ARGS__); \ - } while(0) -\end{DoxyCode} - - -Definition at line 61 of file class.h. - - - -\subsection{Typedef Documentation} -\hypertarget{class_8h_a68df9f6e346c5fad9f61bb2557d1d832}{ -\index{class.h@{class.h}!class\_\-ptr@{class\_\-ptr}} -\index{class\_\-ptr@{class\_\-ptr}!class.h@{class.h}} -\subsubsection[{class\_\-ptr}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf class}$\ast$ {\bf class\_\-ptr}}} -\label{class_8h_a68df9f6e346c5fad9f61bb2557d1d832} - - -Definition at line 76 of file class.h. - -\hypertarget{class_8h_aa0ba47bce818b20155a8ef17a1fdc35c}{ -\index{class.h@{class.h}!fptr\_\-classInit@{fptr\_\-classInit}} -\index{fptr\_\-classInit@{fptr\_\-classInit}!class.h@{class.h}} -\subsubsection[{fptr\_\-classInit}]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ {\bf fptr\_\-classInit})(void)}} -\label{class_8h_aa0ba47bce818b20155a8ef17a1fdc35c} - - -Definition at line 73 of file class.h. - - - -\subsection{Function Documentation} -\hypertarget{class_8h_a1f382a42de272d5cc4d6bb5b17db6ede}{ -\index{class.h@{class.h}!class\_\-getClass@{class\_\-getClass}} -\index{class\_\-getClass@{class\_\-getClass}!class.h@{class.h}} -\subsubsection[{class\_\-getClass}]{\setlength{\rightskip}{0pt plus 5cm}{\bf class\_\-ptr} class\_\-getClass ( -\begin{DoxyParamCaption} -\item[{void $\ast$}]{} -\end{DoxyParamCaption} -)}} -\label{class_8h_a1f382a42de272d5cc4d6bb5b17db6ede} - - -Definition at line 21 of file class.c. - - -\begin{DoxyCode} -{ - return *(class_ptr *)(object - sizeof(void*)); -} -\end{DoxyCode} - - -Here is the caller graph for this function: - - -\hypertarget{class_8h_ad96186de45579eb423ab318a5caaf62f}{ -\index{class.h@{class.h}!class\_\-getInterface@{class\_\-getInterface}} -\index{class\_\-getInterface@{class\_\-getInterface}!class.h@{class.h}} -\subsubsection[{class\_\-getInterface}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ class\_\-getInterface ( -\begin{DoxyParamCaption} -\item[{{\bf class\_\-ptr} $\ast$}]{, } -\item[{{\bf iface\_\-ptr}}]{} -\end{DoxyParamCaption} -)}} -\label{class_8h_ad96186de45579eb423ab318a5caaf62f} - - -Definition at line 8 of file class.c. - - -\begin{DoxyCode} -{ - void * iface = (void *)IFACE_GET(*class, _iface); - - while(NULL == iface && HAS_PARENT(*class)) { - *class = (*class)->parent; - iface = (void *)IFACE_GET(*class, _iface); - } - - return iface; -} -\end{DoxyCode} diff --git a/docs/latex/class_8h__dep__incl.dot b/docs/latex/class_8h__dep__incl.dot deleted file mode 100644 index c3d7206..0000000 --- a/docs/latex/class_8h__dep__incl.dot +++ /dev/null @@ -1,16 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/class.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="include/logger.h",height=0.2,width=0.4,color="black",URL="$logger_8h.html"]; - Node2 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="include/socket.h",height=0.2,width=0.4,color="black",URL="$socket_8h.html"]; - Node3 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="include/server.h",height=0.2,width=0.4,color="black",URL="$server_8h.html"]; - Node2 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node1 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node1 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid"]; -} diff --git a/docs/latex/class_8h__dep__incl.md5 b/docs/latex/class_8h__dep__incl.md5 deleted file mode 100644 index 1432a9c..0000000 --- a/docs/latex/class_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -743c0f1a4db49d95196986108d4026e8 \ No newline at end of file diff --git a/docs/latex/class_8h__incl.dot b/docs/latex/class_8h__incl.dot deleted file mode 100644 index 45ad351..0000000 --- a/docs/latex/class_8h__incl.dot +++ /dev/null @@ -1,18 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/class.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdarg.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="string.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="assert.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="interface.h",height=0.2,width=0.4,color="black",URL="$interface_8h.html"]; - Node6 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; -} diff --git a/docs/latex/class_8h__incl.md5 b/docs/latex/class_8h__incl.md5 deleted file mode 100644 index 6fc0b0b..0000000 --- a/docs/latex/class_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -e55fd9b295617946e63f2ab649c73115 \ No newline at end of file diff --git a/docs/latex/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.dot b/docs/latex/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.dot deleted file mode 100644 index de9064a..0000000 --- a/docs/latex/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="class_getClass",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="classClone",height=0.2,width=0.4,color="black",URL="$interface_2class_8c.html#ada46f0179448063a30f6f219270bf1e0"]; -} diff --git a/docs/latex/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.md5 b/docs/latex/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.md5 deleted file mode 100644 index 4fd005c..0000000 --- a/docs/latex/class_8h_a1f382a42de272d5cc4d6bb5b17db6ede_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -e3784e6b850239e78fddc5ad8dd02142 \ No newline at end of file diff --git a/docs/latex/close__conn_8c.tex b/docs/latex/close__conn_8c.tex deleted file mode 100644 index d937ee6..0000000 --- a/docs/latex/close__conn_8c.tex +++ /dev/null @@ -1,51 +0,0 @@ -\hypertarget{close__conn_8c}{ -\section{src/server/close\_\-conn.c File Reference} -\label{close__conn_8c}\index{src/server/close\_\-conn.c@{src/server/close\_\-conn.c}} -} -{\ttfamily \#include $<$string.h$>$}\par -{\ttfamily \#include \char`\"{}server.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -Include dependency graph for close\_\-conn.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void \hyperlink{close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266}{serverCloseConn} (\hyperlink{structServer}{Server} this, unsigned int i) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266}{ -\index{close\_\-conn.c@{close\_\-conn.c}!serverCloseConn@{serverCloseConn}} -\index{serverCloseConn@{serverCloseConn}!close_conn.c@{close\_\-conn.c}} -\subsubsection[{serverCloseConn}]{\setlength{\rightskip}{0pt plus 5cm}void serverCloseConn ( -\begin{DoxyParamCaption} -\item[{{\bf Server}}]{this, } -\item[{unsigned int}]{i} -\end{DoxyParamCaption} -)}} -\label{close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266} - - -Definition at line 7 of file close\_\-conn.c. - - -\begin{DoxyCode} -{ - int fd = (this->fds)[i].fd; - - delete(&((this->conns)[fd].sock)); - delete(&((this->conns)[fd].reader)); - memset((this->conns)[fd].wbuf, 0, strlen((this->conns)[fd].wbuf)); - (this->fds)[i].events = 0; - (this->fds)[i].revents = 0; - (this->fds)[i].fd = 0; - this->ndel++; -// CLEAR_CONN(this, i); -// this->nfds--; -} -\end{DoxyCode} - - -Here is the caller graph for this function: - - diff --git a/docs/latex/close__conn_8c__incl.dot b/docs/latex/close__conn_8c__incl.dot deleted file mode 100644 index 53eed16..0000000 --- a/docs/latex/close__conn_8c__incl.dot +++ /dev/null @@ -1,13 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/server/close_conn.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="string.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="server.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/close__conn_8c__incl.md5 b/docs/latex/close__conn_8c__incl.md5 deleted file mode 100644 index e662d9e..0000000 --- a/docs/latex/close__conn_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -ff43219012ef29327905204fcca6a7cd \ No newline at end of file diff --git a/docs/latex/close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266_icgraph.dot b/docs/latex/close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266_icgraph.dot deleted file mode 100644 index 80a64cb..0000000 --- a/docs/latex/close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266_icgraph.dot +++ /dev/null @@ -1,12 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="serverCloseConn",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="serverRun",height=0.2,width=0.4,color="black",URL="$run_8c.html#a67a4d9073b80d8ae1459fb11ddd23675"]; - Node2 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="main",height=0.2,width=0.4,color="black",URL="$testserver_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4"]; -} diff --git a/docs/latex/close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266_icgraph.md5 b/docs/latex/close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266_icgraph.md5 deleted file mode 100644 index f2bc53c..0000000 --- a/docs/latex/close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -e78969226285854db8f53c7299426df2 \ No newline at end of file diff --git a/docs/latex/config_8h.tex b/docs/latex/config_8h.tex deleted file mode 100644 index 368336d..0000000 --- a/docs/latex/config_8h.tex +++ /dev/null @@ -1,318 +0,0 @@ -\hypertarget{config_8h}{ -\section{config.h File Reference} -\label{config_8h}\index{config.h@{config.h}} -} -\subsection*{Defines} -\begin{DoxyCompactItemize} -\item -\#define \hyperlink{config_8h_a0ee1617ff2f6885ef384a3dd46f9b9d7}{HAVE\_\-DLFCN\_\-H}~1 -\item -\#define \hyperlink{config_8h_ab90a030ff2790ebdc176660a6dd2a478}{HAVE\_\-INTTYPES\_\-H}~1 -\item -\#define \hyperlink{config_8h_ac2c863e4e8669bd8c3a403107e2102ad}{HAVE\_\-JSON\_\-JSON\_\-H}~1 -\item -\#define \hyperlink{config_8h_a4bfc3880cce93add473eb1d1751330bf}{HAVE\_\-LIBJSON}~1 -\item -\#define \hyperlink{config_8h_ae93a78f9d076138897af441c9f86f285}{HAVE\_\-MEMORY\_\-H}~1 -\item -\#define \hyperlink{config_8h_a3df52e9809253860c385be6f3a160607}{HAVE\_\-MEMSET}~1 -\item -\#define \hyperlink{config_8h_a3a3f8c7f8da8cac799fb620a2dbf2b15}{HAVE\_\-STDARG\_\-H}~1 -\item -\#define \hyperlink{config_8h_a8c3fa1b2f1be8c6f6929548c548cf50a}{HAVE\_\-STDBOOL\_\-H}~1 -\item -\#define \hyperlink{config_8h_ab6cd6d1c63c1e26ea2d4537b77148354}{HAVE\_\-STDINT\_\-H}~1 -\item -\#define \hyperlink{config_8h_ae021ce4fe74984428cc97427b7358fda}{HAVE\_\-STDIO\_\-H}~1 -\item -\#define \hyperlink{config_8h_a9e0e434ec1a6ddbd97db12b5a32905e0}{HAVE\_\-STDLIB\_\-H}~1 -\item -\#define \hyperlink{config_8h_a405d10d46190bcb0320524c54eafc850}{HAVE\_\-STRINGS\_\-H}~1 -\item -\#define \hyperlink{config_8h_ad4c234dd1625255dc626a15886306e7d}{HAVE\_\-STRING\_\-H}~1 -\item -\#define \hyperlink{config_8h_a695d4e005378df4a1f286cb3d0f4b333}{HAVE\_\-SYSLOG\_\-H}~1 -\item -\#define \hyperlink{config_8h_ace156430ba007d19b4348a950d0c692b}{HAVE\_\-SYS\_\-STAT\_\-H}~1 -\item -\#define \hyperlink{config_8h_a69dc70bea5d1f8bd2be9740e974fa666}{HAVE\_\-SYS\_\-TYPES\_\-H}~1 -\item -\#define \hyperlink{config_8h_a219b06937831d0da94d801ab13987639}{HAVE\_\-UNISTD\_\-H}~1 -\item -\#define \hyperlink{config_8h_a862ffdbac7ac8323712310a418b7d9a3}{HAVE\_\-\_\-BOOL}~1 -\item -\#define \hyperlink{config_8h_ac2d5925d76379847dd9fc4747b061659}{LT\_\-OBJDIR}~\char`\"{}.libs/\char`\"{} -\item -\#define \hyperlink{config_8h_aca8570fb706c81df371b7f9bc454ae03}{PACKAGE}~\char`\"{}cclass\char`\"{} -\item -\#define \hyperlink{config_8h_a1d1d2d7f8d2f95b376954d649ab03233}{PACKAGE\_\-BUGREPORT}~\char`\"{}Georg Hopp $<$georg@steffers.org$>$\char`\"{} -\item -\#define \hyperlink{config_8h_a1c0439e4355794c09b64274849eb0279}{PACKAGE\_\-NAME}~\char`\"{}cclass\char`\"{} -\item -\#define \hyperlink{config_8h_ac73e6f903c16eca7710f92e36e1c6fbf}{PACKAGE\_\-STRING}~\char`\"{}cclass 0.0.1\char`\"{} -\item -\#define \hyperlink{config_8h_af415af6bfede0e8d5453708afe68651c}{PACKAGE\_\-TARNAME}~\char`\"{}cclass\char`\"{} -\item -\#define \hyperlink{config_8h_a5c93853116d5a50307b6744f147840aa}{PACKAGE\_\-URL}~\char`\"{}\char`\"{} -\item -\#define \hyperlink{config_8h_aa326a05d5e30f9e9a4bb0b4469d5d0c0}{PACKAGE\_\-VERSION}~\char`\"{}0.0.1\char`\"{} -\item -\#define \hyperlink{config_8h_a550e5c272cc3cf3814651721167dcd23}{STDC\_\-HEADERS}~1 -\item -\#define \hyperlink{config_8h_a1c6d5de492ac61ad29aec7aa9a436bbf}{VERSION}~\char`\"{}0.0.1\char`\"{} -\end{DoxyCompactItemize} - - -\subsection{Define Documentation} -\hypertarget{config_8h_a862ffdbac7ac8323712310a418b7d9a3}{ -\index{config.h@{config.h}!HAVE\_\-\_\-BOOL@{HAVE\_\-\_\-BOOL}} -\index{HAVE\_\-\_\-BOOL@{HAVE\_\-\_\-BOOL}!config.h@{config.h}} -\subsubsection[{HAVE\_\-\_\-BOOL}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-\_\-BOOL~1}} -\label{config_8h_a862ffdbac7ac8323712310a418b7d9a3} - - -Definition at line 56 of file config.h. - -\hypertarget{config_8h_a0ee1617ff2f6885ef384a3dd46f9b9d7}{ -\index{config.h@{config.h}!HAVE\_\-DLFCN\_\-H@{HAVE\_\-DLFCN\_\-H}} -\index{HAVE\_\-DLFCN\_\-H@{HAVE\_\-DLFCN\_\-H}!config.h@{config.h}} -\subsubsection[{HAVE\_\-DLFCN\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-DLFCN\_\-H~1}} -\label{config_8h_a0ee1617ff2f6885ef384a3dd46f9b9d7} - - -Definition at line 5 of file config.h. - -\hypertarget{config_8h_ab90a030ff2790ebdc176660a6dd2a478}{ -\index{config.h@{config.h}!HAVE\_\-INTTYPES\_\-H@{HAVE\_\-INTTYPES\_\-H}} -\index{HAVE\_\-INTTYPES\_\-H@{HAVE\_\-INTTYPES\_\-H}!config.h@{config.h}} -\subsubsection[{HAVE\_\-INTTYPES\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-INTTYPES\_\-H~1}} -\label{config_8h_ab90a030ff2790ebdc176660a6dd2a478} - - -Definition at line 8 of file config.h. - -\hypertarget{config_8h_ac2c863e4e8669bd8c3a403107e2102ad}{ -\index{config.h@{config.h}!HAVE\_\-JSON\_\-JSON\_\-H@{HAVE\_\-JSON\_\-JSON\_\-H}} -\index{HAVE\_\-JSON\_\-JSON\_\-H@{HAVE\_\-JSON\_\-JSON\_\-H}!config.h@{config.h}} -\subsubsection[{HAVE\_\-JSON\_\-JSON\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-JSON\_\-JSON\_\-H~1}} -\label{config_8h_ac2c863e4e8669bd8c3a403107e2102ad} - - -Definition at line 11 of file config.h. - -\hypertarget{config_8h_a4bfc3880cce93add473eb1d1751330bf}{ -\index{config.h@{config.h}!HAVE\_\-LIBJSON@{HAVE\_\-LIBJSON}} -\index{HAVE\_\-LIBJSON@{HAVE\_\-LIBJSON}!config.h@{config.h}} -\subsubsection[{HAVE\_\-LIBJSON}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-LIBJSON~1}} -\label{config_8h_a4bfc3880cce93add473eb1d1751330bf} - - -Definition at line 14 of file config.h. - -\hypertarget{config_8h_ae93a78f9d076138897af441c9f86f285}{ -\index{config.h@{config.h}!HAVE\_\-MEMORY\_\-H@{HAVE\_\-MEMORY\_\-H}} -\index{HAVE\_\-MEMORY\_\-H@{HAVE\_\-MEMORY\_\-H}!config.h@{config.h}} -\subsubsection[{HAVE\_\-MEMORY\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-MEMORY\_\-H~1}} -\label{config_8h_ae93a78f9d076138897af441c9f86f285} - - -Definition at line 17 of file config.h. - -\hypertarget{config_8h_a3df52e9809253860c385be6f3a160607}{ -\index{config.h@{config.h}!HAVE\_\-MEMSET@{HAVE\_\-MEMSET}} -\index{HAVE\_\-MEMSET@{HAVE\_\-MEMSET}!config.h@{config.h}} -\subsubsection[{HAVE\_\-MEMSET}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-MEMSET~1}} -\label{config_8h_a3df52e9809253860c385be6f3a160607} - - -Definition at line 20 of file config.h. - -\hypertarget{config_8h_a3a3f8c7f8da8cac799fb620a2dbf2b15}{ -\index{config.h@{config.h}!HAVE\_\-STDARG\_\-H@{HAVE\_\-STDARG\_\-H}} -\index{HAVE\_\-STDARG\_\-H@{HAVE\_\-STDARG\_\-H}!config.h@{config.h}} -\subsubsection[{HAVE\_\-STDARG\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-STDARG\_\-H~1}} -\label{config_8h_a3a3f8c7f8da8cac799fb620a2dbf2b15} - - -Definition at line 23 of file config.h. - -\hypertarget{config_8h_a8c3fa1b2f1be8c6f6929548c548cf50a}{ -\index{config.h@{config.h}!HAVE\_\-STDBOOL\_\-H@{HAVE\_\-STDBOOL\_\-H}} -\index{HAVE\_\-STDBOOL\_\-H@{HAVE\_\-STDBOOL\_\-H}!config.h@{config.h}} -\subsubsection[{HAVE\_\-STDBOOL\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-STDBOOL\_\-H~1}} -\label{config_8h_a8c3fa1b2f1be8c6f6929548c548cf50a} - - -Definition at line 26 of file config.h. - -\hypertarget{config_8h_ab6cd6d1c63c1e26ea2d4537b77148354}{ -\index{config.h@{config.h}!HAVE\_\-STDINT\_\-H@{HAVE\_\-STDINT\_\-H}} -\index{HAVE\_\-STDINT\_\-H@{HAVE\_\-STDINT\_\-H}!config.h@{config.h}} -\subsubsection[{HAVE\_\-STDINT\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-STDINT\_\-H~1}} -\label{config_8h_ab6cd6d1c63c1e26ea2d4537b77148354} - - -Definition at line 29 of file config.h. - -\hypertarget{config_8h_ae021ce4fe74984428cc97427b7358fda}{ -\index{config.h@{config.h}!HAVE\_\-STDIO\_\-H@{HAVE\_\-STDIO\_\-H}} -\index{HAVE\_\-STDIO\_\-H@{HAVE\_\-STDIO\_\-H}!config.h@{config.h}} -\subsubsection[{HAVE\_\-STDIO\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-STDIO\_\-H~1}} -\label{config_8h_ae021ce4fe74984428cc97427b7358fda} - - -Definition at line 32 of file config.h. - -\hypertarget{config_8h_a9e0e434ec1a6ddbd97db12b5a32905e0}{ -\index{config.h@{config.h}!HAVE\_\-STDLIB\_\-H@{HAVE\_\-STDLIB\_\-H}} -\index{HAVE\_\-STDLIB\_\-H@{HAVE\_\-STDLIB\_\-H}!config.h@{config.h}} -\subsubsection[{HAVE\_\-STDLIB\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-STDLIB\_\-H~1}} -\label{config_8h_a9e0e434ec1a6ddbd97db12b5a32905e0} - - -Definition at line 35 of file config.h. - -\hypertarget{config_8h_ad4c234dd1625255dc626a15886306e7d}{ -\index{config.h@{config.h}!HAVE\_\-STRING\_\-H@{HAVE\_\-STRING\_\-H}} -\index{HAVE\_\-STRING\_\-H@{HAVE\_\-STRING\_\-H}!config.h@{config.h}} -\subsubsection[{HAVE\_\-STRING\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-STRING\_\-H~1}} -\label{config_8h_ad4c234dd1625255dc626a15886306e7d} - - -Definition at line 41 of file config.h. - -\hypertarget{config_8h_a405d10d46190bcb0320524c54eafc850}{ -\index{config.h@{config.h}!HAVE\_\-STRINGS\_\-H@{HAVE\_\-STRINGS\_\-H}} -\index{HAVE\_\-STRINGS\_\-H@{HAVE\_\-STRINGS\_\-H}!config.h@{config.h}} -\subsubsection[{HAVE\_\-STRINGS\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-STRINGS\_\-H~1}} -\label{config_8h_a405d10d46190bcb0320524c54eafc850} - - -Definition at line 38 of file config.h. - -\hypertarget{config_8h_ace156430ba007d19b4348a950d0c692b}{ -\index{config.h@{config.h}!HAVE\_\-SYS\_\-STAT\_\-H@{HAVE\_\-SYS\_\-STAT\_\-H}} -\index{HAVE\_\-SYS\_\-STAT\_\-H@{HAVE\_\-SYS\_\-STAT\_\-H}!config.h@{config.h}} -\subsubsection[{HAVE\_\-SYS\_\-STAT\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-SYS\_\-STAT\_\-H~1}} -\label{config_8h_ace156430ba007d19b4348a950d0c692b} - - -Definition at line 47 of file config.h. - -\hypertarget{config_8h_a69dc70bea5d1f8bd2be9740e974fa666}{ -\index{config.h@{config.h}!HAVE\_\-SYS\_\-TYPES\_\-H@{HAVE\_\-SYS\_\-TYPES\_\-H}} -\index{HAVE\_\-SYS\_\-TYPES\_\-H@{HAVE\_\-SYS\_\-TYPES\_\-H}!config.h@{config.h}} -\subsubsection[{HAVE\_\-SYS\_\-TYPES\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-SYS\_\-TYPES\_\-H~1}} -\label{config_8h_a69dc70bea5d1f8bd2be9740e974fa666} - - -Definition at line 50 of file config.h. - -\hypertarget{config_8h_a695d4e005378df4a1f286cb3d0f4b333}{ -\index{config.h@{config.h}!HAVE\_\-SYSLOG\_\-H@{HAVE\_\-SYSLOG\_\-H}} -\index{HAVE\_\-SYSLOG\_\-H@{HAVE\_\-SYSLOG\_\-H}!config.h@{config.h}} -\subsubsection[{HAVE\_\-SYSLOG\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-SYSLOG\_\-H~1}} -\label{config_8h_a695d4e005378df4a1f286cb3d0f4b333} - - -Definition at line 44 of file config.h. - -\hypertarget{config_8h_a219b06937831d0da94d801ab13987639}{ -\index{config.h@{config.h}!HAVE\_\-UNISTD\_\-H@{HAVE\_\-UNISTD\_\-H}} -\index{HAVE\_\-UNISTD\_\-H@{HAVE\_\-UNISTD\_\-H}!config.h@{config.h}} -\subsubsection[{HAVE\_\-UNISTD\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define HAVE\_\-UNISTD\_\-H~1}} -\label{config_8h_a219b06937831d0da94d801ab13987639} - - -Definition at line 53 of file config.h. - -\hypertarget{config_8h_ac2d5925d76379847dd9fc4747b061659}{ -\index{config.h@{config.h}!LT\_\-OBJDIR@{LT\_\-OBJDIR}} -\index{LT\_\-OBJDIR@{LT\_\-OBJDIR}!config.h@{config.h}} -\subsubsection[{LT\_\-OBJDIR}]{\setlength{\rightskip}{0pt plus 5cm}\#define LT\_\-OBJDIR~\char`\"{}.libs/\char`\"{}}} -\label{config_8h_ac2d5925d76379847dd9fc4747b061659} - - -Definition at line 60 of file config.h. - -\hypertarget{config_8h_aca8570fb706c81df371b7f9bc454ae03}{ -\index{config.h@{config.h}!PACKAGE@{PACKAGE}} -\index{PACKAGE@{PACKAGE}!config.h@{config.h}} -\subsubsection[{PACKAGE}]{\setlength{\rightskip}{0pt plus 5cm}\#define PACKAGE~\char`\"{}cclass\char`\"{}}} -\label{config_8h_aca8570fb706c81df371b7f9bc454ae03} - - -Definition at line 66 of file config.h. - -\hypertarget{config_8h_a1d1d2d7f8d2f95b376954d649ab03233}{ -\index{config.h@{config.h}!PACKAGE\_\-BUGREPORT@{PACKAGE\_\-BUGREPORT}} -\index{PACKAGE\_\-BUGREPORT@{PACKAGE\_\-BUGREPORT}!config.h@{config.h}} -\subsubsection[{PACKAGE\_\-BUGREPORT}]{\setlength{\rightskip}{0pt plus 5cm}\#define PACKAGE\_\-BUGREPORT~\char`\"{}Georg Hopp $<$georg@steffers.org$>$\char`\"{}}} -\label{config_8h_a1d1d2d7f8d2f95b376954d649ab03233} - - -Definition at line 69 of file config.h. - -\hypertarget{config_8h_a1c0439e4355794c09b64274849eb0279}{ -\index{config.h@{config.h}!PACKAGE\_\-NAME@{PACKAGE\_\-NAME}} -\index{PACKAGE\_\-NAME@{PACKAGE\_\-NAME}!config.h@{config.h}} -\subsubsection[{PACKAGE\_\-NAME}]{\setlength{\rightskip}{0pt plus 5cm}\#define PACKAGE\_\-NAME~\char`\"{}cclass\char`\"{}}} -\label{config_8h_a1c0439e4355794c09b64274849eb0279} - - -Definition at line 72 of file config.h. - -\hypertarget{config_8h_ac73e6f903c16eca7710f92e36e1c6fbf}{ -\index{config.h@{config.h}!PACKAGE\_\-STRING@{PACKAGE\_\-STRING}} -\index{PACKAGE\_\-STRING@{PACKAGE\_\-STRING}!config.h@{config.h}} -\subsubsection[{PACKAGE\_\-STRING}]{\setlength{\rightskip}{0pt plus 5cm}\#define PACKAGE\_\-STRING~\char`\"{}cclass 0.0.1\char`\"{}}} -\label{config_8h_ac73e6f903c16eca7710f92e36e1c6fbf} - - -Definition at line 75 of file config.h. - -\hypertarget{config_8h_af415af6bfede0e8d5453708afe68651c}{ -\index{config.h@{config.h}!PACKAGE\_\-TARNAME@{PACKAGE\_\-TARNAME}} -\index{PACKAGE\_\-TARNAME@{PACKAGE\_\-TARNAME}!config.h@{config.h}} -\subsubsection[{PACKAGE\_\-TARNAME}]{\setlength{\rightskip}{0pt plus 5cm}\#define PACKAGE\_\-TARNAME~\char`\"{}cclass\char`\"{}}} -\label{config_8h_af415af6bfede0e8d5453708afe68651c} - - -Definition at line 78 of file config.h. - -\hypertarget{config_8h_a5c93853116d5a50307b6744f147840aa}{ -\index{config.h@{config.h}!PACKAGE\_\-URL@{PACKAGE\_\-URL}} -\index{PACKAGE\_\-URL@{PACKAGE\_\-URL}!config.h@{config.h}} -\subsubsection[{PACKAGE\_\-URL}]{\setlength{\rightskip}{0pt plus 5cm}\#define PACKAGE\_\-URL~\char`\"{}\char`\"{}}} -\label{config_8h_a5c93853116d5a50307b6744f147840aa} - - -Definition at line 81 of file config.h. - -\hypertarget{config_8h_aa326a05d5e30f9e9a4bb0b4469d5d0c0}{ -\index{config.h@{config.h}!PACKAGE\_\-VERSION@{PACKAGE\_\-VERSION}} -\index{PACKAGE\_\-VERSION@{PACKAGE\_\-VERSION}!config.h@{config.h}} -\subsubsection[{PACKAGE\_\-VERSION}]{\setlength{\rightskip}{0pt plus 5cm}\#define PACKAGE\_\-VERSION~\char`\"{}0.0.1\char`\"{}}} -\label{config_8h_aa326a05d5e30f9e9a4bb0b4469d5d0c0} - - -Definition at line 84 of file config.h. - -\hypertarget{config_8h_a550e5c272cc3cf3814651721167dcd23}{ -\index{config.h@{config.h}!STDC\_\-HEADERS@{STDC\_\-HEADERS}} -\index{STDC\_\-HEADERS@{STDC\_\-HEADERS}!config.h@{config.h}} -\subsubsection[{STDC\_\-HEADERS}]{\setlength{\rightskip}{0pt plus 5cm}\#define STDC\_\-HEADERS~1}} -\label{config_8h_a550e5c272cc3cf3814651721167dcd23} - - -Definition at line 87 of file config.h. - -\hypertarget{config_8h_a1c6d5de492ac61ad29aec7aa9a436bbf}{ -\index{config.h@{config.h}!VERSION@{VERSION}} -\index{VERSION@{VERSION}!config.h@{config.h}} -\subsubsection[{VERSION}]{\setlength{\rightskip}{0pt plus 5cm}\#define VERSION~\char`\"{}0.0.1\char`\"{}}} -\label{config_8h_a1c6d5de492ac61ad29aec7aa9a436bbf} - - -Definition at line 90 of file config.h. - diff --git a/docs/latex/connect_8c.tex b/docs/latex/connect_8c.tex deleted file mode 100644 index 308e37d..0000000 --- a/docs/latex/connect_8c.tex +++ /dev/null @@ -1,53 +0,0 @@ -\hypertarget{connect_8c}{ -\section{src/socket/connect.c File Reference} -\label{connect_8c}\index{src/socket/connect.c@{src/socket/connect.c}} -} -{\ttfamily \#include $<$stdlib.h$>$}\par -{\ttfamily \#include $<$errno.h$>$}\par -{\ttfamily \#include \char`\"{}socket.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/logger.h\char`\"{}}\par -Include dependency graph for connect.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void \hyperlink{connect_8c_adbfc4792c437102f20e2c86c4ee8581b}{socketConnect} (\hyperlink{structSock}{Sock} this, const char $\ast$addr) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{connect_8c_adbfc4792c437102f20e2c86c4ee8581b}{ -\index{connect.c@{connect.c}!socketConnect@{socketConnect}} -\index{socketConnect@{socketConnect}!connect.c@{connect.c}} -\subsubsection[{socketConnect}]{\setlength{\rightskip}{0pt plus 5cm}void socketConnect ( -\begin{DoxyParamCaption} -\item[{{\bf Sock}}]{this, } -\item[{const char $\ast$}]{addr} -\end{DoxyParamCaption} -)}} -\label{connect_8c_adbfc4792c437102f20e2c86c4ee8581b} - - -Definition at line 10 of file connect.c. - - -\begin{DoxyCode} -{ - inet_pton(AF_INET, addr, &((this->addr).sin_addr)); - (this->addr).sin_family = AF_INET; /* Internet address family */ - (this->addr).sin_port = htons(this->port); /* Local port */ - - if (-1 == connect(this->handle, (struct sockaddr*) &(this->addr), sizeof( - this->addr))) { - loggerLog(this->log, LOGGER_CRIT, - "error connection socket: %s - service terminated", - strerror(errno)); - exit(EXIT_FAILURE); - } -} -\end{DoxyCode} - - -Here is the call graph for this function: - - diff --git a/docs/latex/connect_8c__incl.dot b/docs/latex/connect_8c__incl.dot deleted file mode 100644 index eec67cc..0000000 --- a/docs/latex/connect_8c__incl.dot +++ /dev/null @@ -1,17 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/socket/connect.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="errno.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="socket.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="interface/logger.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/connect_8c__incl.md5 b/docs/latex/connect_8c__incl.md5 deleted file mode 100644 index 2d0eb54..0000000 --- a/docs/latex/connect_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -c7b1742ea57dbf2fa3b5487303cc6d27 \ No newline at end of file diff --git a/docs/latex/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.dot b/docs/latex/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.dot deleted file mode 100644 index de308ae..0000000 --- a/docs/latex/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="socketConnect",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="loggerLog",height=0.2,width=0.4,color="black",URL="$interface_2logger_8h.html#ae9f8662ec8b300dcfb5064906937553e"]; -} diff --git a/docs/latex/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.md5 b/docs/latex/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.md5 deleted file mode 100644 index 39afb5b..0000000 --- a/docs/latex/connect_8c_adbfc4792c437102f20e2c86c4ee8581b_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -d4b61c03fa9446761ec7f4284d17967f \ No newline at end of file diff --git a/docs/latex/daemonize_8c.tex b/docs/latex/daemonize_8c.tex deleted file mode 100644 index 39a4b81..0000000 --- a/docs/latex/daemonize_8c.tex +++ /dev/null @@ -1,50 +0,0 @@ -\hypertarget{daemonize_8c}{ -\section{src/daemonize.c File Reference} -\label{daemonize_8c}\index{src/daemonize.c@{src/daemonize.c}} -} -{\ttfamily \#include $<$stdio.h$>$}\par -{\ttfamily \#include $<$unistd.h$>$}\par -{\ttfamily \#include $<$stdlib.h$>$}\par -Include dependency graph for daemonize.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void \hyperlink{daemonize_8c_a29b0af1da2432bcc90721c0b62f4e660}{daemonize} (void) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{daemonize_8c_a29b0af1da2432bcc90721c0b62f4e660}{ -\index{daemonize.c@{daemonize.c}!daemonize@{daemonize}} -\index{daemonize@{daemonize}!daemonize.c@{daemonize.c}} -\subsubsection[{daemonize}]{\setlength{\rightskip}{0pt plus 5cm}void daemonize ( -\begin{DoxyParamCaption} -\item[{void}]{} -\end{DoxyParamCaption} -)}} -\label{daemonize_8c_a29b0af1da2432bcc90721c0b62f4e660} - - -Definition at line 6 of file daemonize.c. - - -\begin{DoxyCode} - { - pid_t pid; - - if (0 > ((pid = fork()))) { - perror("deamoinze[fork]"); - exit(EXIT_FAILURE); - } else if (0 != pid) { - exit(EXIT_SUCCESS); - } - - /* make new child session leader */ - setsid(); - - /* connect all standard streams to /dev/null */ - stderr = freopen("/dev/null", "w", stderr); - stdin = freopen("/dev/null", "r", stdin); - stdout = freopen("/dev/null", "w", stdout); -} -\end{DoxyCode} diff --git a/docs/latex/daemonize_8c__incl.dot b/docs/latex/daemonize_8c__incl.dot deleted file mode 100644 index 99e8cc4..0000000 --- a/docs/latex/daemonize_8c__incl.dot +++ /dev/null @@ -1,13 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/daemonize.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdio.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="unistd.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/daemonize_8c__incl.md5 b/docs/latex/daemonize_8c__incl.md5 deleted file mode 100644 index bc98496..0000000 --- a/docs/latex/daemonize_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -403b8d0b590d43f10a9874fc6dbeffa0 \ No newline at end of file diff --git a/docs/latex/doxygen.sty b/docs/latex/doxygen.sty deleted file mode 100644 index f5644f5..0000000 --- a/docs/latex/doxygen.sty +++ /dev/null @@ -1,445 +0,0 @@ -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{doxygen} - -% Packages used by this style file -\RequirePackage{alltt} -\RequirePackage{array} -\RequirePackage{calc} -\RequirePackage{color} -\RequirePackage{fancyhdr} -\RequirePackage{longtable} -\RequirePackage{verbatim} -\RequirePackage{ifthen} -\RequirePackage{xcolor} - -% Use helvetica font instead of times roman -\RequirePackage{helvet} -\RequirePackage{sectsty} -\RequirePackage{tocloft} -\allsectionsfont{\usefont{OT1}{phv}{bc}{n}\selectfont} -\providecommand{\cftchapfont}{% - \fontsize{11}{13}\usefont{OT1}{phv}{bc}{n}\selectfont -} -\providecommand{\cftchappagefont}{% - \fontsize{11}{13}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cftsecfont}{% - \fontsize{10}{12}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cftsecpagefont}{% - \fontsize{10}{12}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cftsubsecfont}{% - \fontsize{10}{12}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cftsubsecpagefont}{% - \fontsize{10}{12}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cftsubsubsecfont}{% - \fontsize{9}{11}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cftsubsubsecpagefont}{% - \fontsize{9}{11}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cftparafont}{% - \fontsize{9}{11}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cftparapagefont}{% - \fontsize{9}{11}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cfttoctitlefont}{% - \fontsize{20}{22}\usefont{OT1}{phv}{b}{n}\selectfont -} -\providecommand{\rmdefault}{phv} -\providecommand{\bfdefault}{bc} - - -% Setup fancy headings -\pagestyle{fancyplain} -\newcommand{\clearemptydoublepage}{% - \newpage{\pagestyle{empty}\cleardoublepage}% -} -\renewcommand{\chaptermark}[1]{% - \markboth{#1}{}% -} -\renewcommand{\sectionmark}[1]{% - \markright{\thesection\ #1}% -} -\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}} -\fancyhead[CE]{\fancyplain{}{}} -\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}} -\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}} -\fancyhead[CO]{\fancyplain{}{}} -\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}} -\fancyfoot[LE]{\fancyplain{}{}} -\fancyfoot[CE]{\fancyplain{}{}} -\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated on Thu Feb 9 2012 22:38:12 for server by Doxygen }} -\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Thu Feb 9 2012 22:38:12 for server by Doxygen }} -\fancyfoot[CO]{\fancyplain{}{}} -\fancyfoot[RO]{\fancyplain{}{}} -%---------- Internal commands used in this style file ---------------- - -% Generic environment used by all paragraph-based environments defined -% below. Note that the command \title{...} needs to be defined inside -% those environments! -\newenvironment{DoxyDesc}[1]{% - \begin{list}{}% - {% - \settowidth{\labelwidth}{40pt}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{-4pt}% - \renewcommand{\makelabel}{\entrylabel}% - }% - \item[#1]% -}{% - \end{list}% -} - -%---------- Commands used by doxygen LaTeX output generator ---------- - -% Used by
 ... 
-\newenvironment{DoxyPre}{% - \small% - \begin{alltt}% -}{% - \end{alltt}% - \normalsize% -} - -% Used by @code ... @endcode -\newenvironment{DoxyCode}{% - \footnotesize% - \verbatim% -}{% - \endverbatim% - \normalsize% -} - -% Used by @example, @include, @includelineno and @dontinclude -\newenvironment{DoxyCodeInclude}{% - \DoxyCode% -}{% - \endDoxyCode% -} - -% Used by @verbatim ... @endverbatim -\newenvironment{DoxyVerb}{% - \footnotesize% - \verbatim% -}{% - \endverbatim% - \normalsize% -} - -% Used by @verbinclude -\newenvironment{DoxyVerbInclude}{% - \DoxyVerb% -}{% - \endDoxyVerb% -} - -% Used by numbered lists (using '-#' or
    ...
) -\newenvironment{DoxyEnumerate}{% - \enumerate% -}{% - \endenumerate% -} - -% Used by bullet lists (using '-', @li, @arg, or
    ...
) -\newenvironment{DoxyItemize}{% - \itemize% -}{% - \enditemize% -} - -% Used by description lists (using
...
) -\newenvironment{DoxyDescription}{% - \description% -}{% - \enddescription% -} - -% Used by @image, @dotfile, and @dot ... @enddot -% (only if caption is specified) -\newenvironment{DoxyImage}{% - \begin{figure}[H]% - \begin{center}% -}{% - \end{center}% - \end{figure}% -} - -% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc -% (only if no caption is specified) -\newenvironment{DoxyImageNoCaption}{% -}{% -} - -% Used by @attention -\newenvironment{DoxyAttention}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @author and @authors -\newenvironment{DoxyAuthor}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @date -\newenvironment{DoxyDate}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @invariant -\newenvironment{DoxyInvariant}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @note -\newenvironment{DoxyNote}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @post -\newenvironment{DoxyPostcond}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @pre -\newenvironment{DoxyPrecond}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @remark -\newenvironment{DoxyRemark}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @return -\newenvironment{DoxyReturn}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @since -\newenvironment{DoxySince}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @see -\newenvironment{DoxySeeAlso}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @version -\newenvironment{DoxyVersion}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @warning -\newenvironment{DoxyWarning}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @internal -\newenvironment{DoxyInternal}[1]{% - \paragraph*{#1}% -}{% -} - -% Used by @par and @paragraph -\newenvironment{DoxyParagraph}[1]{% - \begin{list}{}% - {% - \settowidth{\labelwidth}{40pt}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{-4pt}% - \renewcommand{\makelabel}{\entrylabel}% - }% - \item[#1]% -}{% - \end{list}% -} - -% Used by parameter lists -\newenvironment{DoxyParams}[2][]{% - \begin{DoxyDesc}{#2}% - \begin{description}% - \item[] \hspace{\fill} \vspace{-25pt}% - \definecolor{tableShade}{HTML}{F8F8F8}% - \rowcolors{1}{white}{tableShade}% - \arrayrulecolor{gray}% - \setlength{\tabcolsep}{0.01\textwidth}% - \ifthenelse{\equal{#1}{}} - {\begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.87\textwidth}|}}% - {\ifthenelse{\equal{#1}{1}}% - {\begin{longtable}{|>{\centering}p{0.10\textwidth}|% - >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.75\textwidth}|}}% - {\begin{longtable}{|>{\centering}p{0.10\textwidth}|% - >{\centering\hspace{0pt}}p{0.15\textwidth}|% - >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.58\textwidth}|}}% - }\hline% -}{% - \end{longtable}% - \end{description}% - \end{DoxyDesc}% -} - -% is used for parameters within a detailed function description -\newenvironment{DoxyParamCaption}{% - \renewcommand{\item}[2][]{##1 {\em ##2}}% - }{% -} - -% Used by return value lists -\newenvironment{DoxyRetVals}[1]{% - \begin{DoxyDesc}{#1}% - \begin{description}% - \item[] \hspace{\fill} \vspace{-25pt}% - \definecolor{tableShade}{HTML}{F8F8F8}% - \rowcolors{1}{white}{tableShade}% - \arrayrulecolor{gray}% - \setlength{\tabcolsep}{0.01\textwidth}% - \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% - p{0.77\textwidth}|}% - \hline% -}{% - \end{longtable}% - \end{description}% - \end{DoxyDesc}% -} - -% Used by exception lists -\newenvironment{DoxyExceptions}[1]{% - \begin{DoxyDesc}{#1}% - \begin{description}% - \item[] \hspace{\fill} \vspace{-25pt}% - \definecolor{tableShade}{HTML}{F8F8F8}% - \rowcolors{1}{white}{tableShade}% - \arrayrulecolor{gray}% - \setlength{\tabcolsep}{0.01\textwidth}% - \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% - p{0.77\textwidth}|}% - \hline% -}{% - \end{longtable}% - \end{description}% - \end{DoxyDesc}% -} - -% Used by template parameter lists -\newenvironment{DoxyTemplParams}[1]{% - \begin{DoxyDesc}{#1}% - \begin{description}% - \item[] \hspace{\fill} \vspace{-25pt}% - \definecolor{tableShade}{HTML}{F8F8F8}% - \rowcolors{1}{white}{tableShade}% - \arrayrulecolor{gray}% - \setlength{\tabcolsep}{0.01\textwidth}% - \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% - p{0.77\textwidth}|}% - \hline% -}{% - \end{longtable}% - \end{description}% - \end{DoxyDesc}% -} - -\newcommand{\doxyref}[3]{\textbf{#1} (\textnormal{#2}\,\pageref{#3})} -\newenvironment{DoxyCompactList} -{\begin{list}{}{ - \setlength{\leftmargin}{0.5cm} - \setlength{\itemsep}{0pt} - \setlength{\parsep}{0pt} - \setlength{\topsep}{0pt} - \renewcommand{\makelabel}{\hfill}}} -{\end{list}} -\newenvironment{DoxyCompactItemize} -{ - \begin{itemize} - \setlength{\itemsep}{-3pt} - \setlength{\parsep}{0pt} - \setlength{\topsep}{0pt} - \setlength{\partopsep}{0pt} -} -{\end{itemize}} -\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp} -\newlength{\tmplength} -\newenvironment{TabularC}[1] -{ -\setlength{\tmplength} - {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)} - \par\begin{tabular*}{\linewidth} - {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|} -} -{\end{tabular*}\par} -\newcommand{\entrylabel}[1]{ - {\parbox[b]{\labelwidth-4pt}{\makebox[0pt][l]{\textbf{#1}}\vspace{1.5\baselineskip}}}} -\newenvironment{Desc} -{\begin{list}{} - { - \settowidth{\labelwidth}{40pt} - \setlength{\leftmargin}{\labelwidth} - \setlength{\parsep}{0pt} - \setlength{\itemsep}{-4pt} - \renewcommand{\makelabel}{\entrylabel} - } -} -{\end{list}} -\newenvironment{Indent} - {\begin{list}{}{\setlength{\leftmargin}{0.5cm}} - \item[]\ignorespaces} - {\unskip\end{list}} -\setlength{\parindent}{0cm} -\setlength{\parskip}{0.2cm} -\addtocounter{secnumdepth}{1} -\usepackage[T1]{fontenc} -\makeatletter -\renewcommand{\paragraph}{\@startsection{paragraph}{4}{0ex}% - {-3.25ex plus -1ex minus -0.2ex}% - {1.5ex plus 0.2ex}% - {\normalfont\normalsize\bfseries}} -\makeatother -\stepcounter{secnumdepth} -\stepcounter{tocdepth} -\definecolor{comment}{rgb}{0.5,0.0,0.0} -\definecolor{keyword}{rgb}{0.0,0.5,0.0} -\definecolor{keywordtype}{rgb}{0.38,0.25,0.125} -\definecolor{keywordflow}{rgb}{0.88,0.5,0.0} -\definecolor{preprocessor}{rgb}{0.5,0.38,0.125} -\definecolor{stringliteral}{rgb}{0.0,0.125,0.25} -\definecolor{charliteral}{rgb}{0.0,0.5,0.5} -\definecolor{vhdldigit}{rgb}{1.0,0.0,1.0} -\definecolor{vhdlkeyword}{rgb}{0.43,0.0,0.43} -\definecolor{vhdllogic}{rgb}{1.0,0.0,0.0} -\definecolor{vhdlchar}{rgb}{0.0,0.0,0.0} diff --git a/docs/latex/files.tex b/docs/latex/files.tex deleted file mode 100644 index 66ad0b2..0000000 --- a/docs/latex/files.tex +++ /dev/null @@ -1,49 +0,0 @@ -\section{File List} -Here is a list of all files with brief descriptions:\begin{DoxyCompactList} -\item\contentsline{section}{\hyperlink{config_8h}{config.h} }{\pageref{config_8h}}{} -\item\contentsline{section}{include/\hyperlink{class_8h}{class.h} }{\pageref{class_8h}}{} -\item\contentsline{section}{include/\hyperlink{interface_8h}{interface.h} }{\pageref{interface_8h}}{} -\item\contentsline{section}{include/\hyperlink{logger_8h}{logger.h} }{\pageref{logger_8h}}{} -\item\contentsline{section}{include/\hyperlink{server_8h}{server.h} }{\pageref{server_8h}}{} -\item\contentsline{section}{include/\hyperlink{signalHandling_8h}{signalHandling.h} }{\pageref{signalHandling_8h}}{} -\item\contentsline{section}{include/\hyperlink{socket_8h}{socket.h} }{\pageref{socket_8h}}{} -\item\contentsline{section}{include/http/\hyperlink{header_8h}{header.h} }{\pageref{header_8h}}{} -\item\contentsline{section}{include/http/\hyperlink{request_8h}{request.h} }{\pageref{request_8h}}{} -\item\contentsline{section}{include/http/\hyperlink{request__parser_8h}{request\_\-parser.h} }{\pageref{request__parser_8h}}{} -\item\contentsline{section}{include/http/\hyperlink{request__queue_8h}{request\_\-queue.h} }{\pageref{request__queue_8h}}{} -\item\contentsline{section}{include/http/\hyperlink{response_8h}{response.h} }{\pageref{response_8h}}{} -\item\contentsline{section}{include/interface/\hyperlink{interface_2class_8h}{class.h} }{\pageref{interface_2class_8h}}{} -\item\contentsline{section}{include/interface/\hyperlink{interface_2logger_8h}{logger.h} }{\pageref{interface_2logger_8h}}{} -\item\contentsline{section}{include/interface/\hyperlink{stream__reader_8h}{stream\_\-reader.h} }{\pageref{stream__reader_8h}}{} -\item\contentsline{section}{src/\hyperlink{class_8c}{class.c} }{\pageref{class_8c}}{} -\item\contentsline{section}{src/\hyperlink{daemonize_8c}{daemonize.c} }{\pageref{daemonize_8c}}{} -\item\contentsline{section}{src/\hyperlink{interface_8c}{interface.c} }{\pageref{interface_8c}}{} -\item\contentsline{section}{src/\hyperlink{logger_8c}{logger.c} }{\pageref{logger_8c}}{} -\item\contentsline{section}{src/\hyperlink{server_8c}{server.c} }{\pageref{server_8c}}{} -\item\contentsline{section}{src/\hyperlink{signalHandling_8c}{signalHandling.c} }{\pageref{signalHandling_8c}}{} -\item\contentsline{section}{src/\hyperlink{socket_8c}{socket.c} }{\pageref{socket_8c}}{} -\item\contentsline{section}{src/\hyperlink{testserver_8c}{testserver.c} }{\pageref{testserver_8c}}{} -\item\contentsline{section}{src/http/\hyperlink{header_8c}{header.c} }{\pageref{header_8c}}{} -\item\contentsline{section}{src/http/\hyperlink{request_8c}{request.c} }{\pageref{request_8c}}{} -\item\contentsline{section}{src/http/header/\hyperlink{get_8c}{get.c} }{\pageref{get_8c}}{} -\item\contentsline{section}{src/http/header/\hyperlink{sort_8c}{sort.c} }{\pageref{sort_8c}}{} -\item\contentsline{section}{src/http/request/\hyperlink{header__get_8c}{header\_\-get.c} }{\pageref{header__get_8c}}{} -\item\contentsline{section}{src/http/request/\hyperlink{parser_8c}{parser.c} }{\pageref{parser_8c}}{} -\item\contentsline{section}{src/http/request/\hyperlink{queue_8c}{queue.c} }{\pageref{queue_8c}}{} -\item\contentsline{section}{src/http/request/parser/\hyperlink{get__header_8c}{get\_\-header.c} }{\pageref{get__header_8c}}{} -\item\contentsline{section}{src/http/request/parser/\hyperlink{get__request__line_8c}{get\_\-request\_\-line.c} }{\pageref{get__request__line_8c}}{} -\item\contentsline{section}{src/http/request/parser/\hyperlink{parse_8c}{parse.c} }{\pageref{parse_8c}}{} -\item\contentsline{section}{src/interface/\hyperlink{interface_2class_8c}{class.c} }{\pageref{interface_2class_8c}}{} -\item\contentsline{section}{src/interface/\hyperlink{interface_2logger_8c}{logger.c} }{\pageref{interface_2logger_8c}}{} -\item\contentsline{section}{src/interface/\hyperlink{stream__reader_8c}{stream\_\-reader.c} }{\pageref{stream__reader_8c}}{} -\item\contentsline{section}{src/logger/\hyperlink{stderr_8c}{stderr.c} }{\pageref{stderr_8c}}{} -\item\contentsline{section}{src/logger/\hyperlink{syslog_8c}{syslog.c} }{\pageref{syslog_8c}}{} -\item\contentsline{section}{src/server/\hyperlink{close__conn_8c}{close\_\-conn.c} }{\pageref{close__conn_8c}}{} -\item\contentsline{section}{src/server/\hyperlink{handle__accept_8c}{handle\_\-accept.c} }{\pageref{handle__accept_8c}}{} -\item\contentsline{section}{src/server/\hyperlink{poll_8c}{poll.c} }{\pageref{poll_8c}}{} -\item\contentsline{section}{src/server/\hyperlink{read_8c}{read.c} }{\pageref{read_8c}}{} -\item\contentsline{section}{src/server/\hyperlink{run_8c}{run.c} }{\pageref{run_8c}}{} -\item\contentsline{section}{src/socket/\hyperlink{accept_8c}{accept.c} }{\pageref{accept_8c}}{} -\item\contentsline{section}{src/socket/\hyperlink{connect_8c}{connect.c} }{\pageref{connect_8c}}{} -\item\contentsline{section}{src/socket/\hyperlink{listen_8c}{listen.c} }{\pageref{listen_8c}}{} -\end{DoxyCompactList} diff --git a/docs/latex/get_8c.tex b/docs/latex/get_8c.tex deleted file mode 100644 index 2b7a39a..0000000 --- a/docs/latex/get_8c.tex +++ /dev/null @@ -1,47 +0,0 @@ -\hypertarget{get_8c}{ -\section{src/http/header/get.c File Reference} -\label{get_8c}\index{src/http/header/get.c@{src/http/header/get.c}} -} -{\ttfamily \#include $<$stdlib.h$>$}\par -{\ttfamily \#include $<$ctype.h$>$}\par -{\ttfamily \#include \char`\"{}http/header.h\char`\"{}}\par -Include dependency graph for get.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -char $\ast$ \hyperlink{get_8c_abed67d03f002ffb1a7cf94d641a80ca4}{httpHeaderGet} (const \hyperlink{structHttpHeader}{HttpHeader} header\mbox{[}$\,$\mbox{]}, int nheader, const char $\ast$name) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{get_8c_abed67d03f002ffb1a7cf94d641a80ca4}{ -\index{get.c@{get.c}!httpHeaderGet@{httpHeaderGet}} -\index{httpHeaderGet@{httpHeaderGet}!get.c@{get.c}} -\subsubsection[{httpHeaderGet}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ httpHeaderGet ( -\begin{DoxyParamCaption} -\item[{const {\bf HttpHeader}}]{header\mbox{[}$\,$\mbox{]}, } -\item[{int}]{nheader, } -\item[{const char $\ast$}]{name} -\end{DoxyParamCaption} -)}} -\label{get_8c_abed67d03f002ffb1a7cf94d641a80ca4} - - -Definition at line 31 of file get.c. - - -\begin{DoxyCode} -{ - unsigned long hash = sdbm((unsigned char *)name); - HttpHeader found; - - found = bsearch(&hash, header, nheader, sizeof(HttpHeader), comp); - - return (NULL != found)? found->value : NULL; -} -\end{DoxyCode} - - -Here is the caller graph for this function: - - diff --git a/docs/latex/get_8c__incl.dot b/docs/latex/get_8c__incl.dot deleted file mode 100644 index faafb27..0000000 --- a/docs/latex/get_8c__incl.dot +++ /dev/null @@ -1,13 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/http/header/get.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="ctype.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="http/header.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/get_8c__incl.md5 b/docs/latex/get_8c__incl.md5 deleted file mode 100644 index 11ca87d..0000000 --- a/docs/latex/get_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -7b536144d556b4393c4136235b61cbe4 \ No newline at end of file diff --git a/docs/latex/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.dot b/docs/latex/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.dot deleted file mode 100644 index b37cee8..0000000 --- a/docs/latex/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="httpHeaderGet",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="httpRequestParserParse",height=0.2,width=0.4,color="black",URL="$parser_8c.html#a659e7ea125685d797a099638b3376320"]; -} diff --git a/docs/latex/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.md5 b/docs/latex/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.md5 deleted file mode 100644 index 4fec088..0000000 --- a/docs/latex/get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -6d3ab79d1c55ca8e59b3bfceac7f70ed \ No newline at end of file diff --git a/docs/latex/get__header_8c.tex b/docs/latex/get__header_8c.tex deleted file mode 100644 index 76ff9f3..0000000 --- a/docs/latex/get__header_8c.tex +++ /dev/null @@ -1,48 +0,0 @@ -\hypertarget{get__header_8c}{ -\section{src/http/request/parser/get\_\-header.c File Reference} -\label{get__header_8c}\index{src/http/request/parser/get\_\-header.c@{src/http/request/parser/get\_\-header.c}} -} -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/header.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/request.h\char`\"{}}\par -Include dependency graph for get\_\-header.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void \hyperlink{get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c}{httpRequestParserGetHeader} (\hyperlink{structHttpRequest}{HttpRequest} request, char $\ast$line) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c}{ -\index{get\_\-header.c@{get\_\-header.c}!httpRequestParserGetHeader@{httpRequestParserGetHeader}} -\index{httpRequestParserGetHeader@{httpRequestParserGetHeader}!get_header.c@{get\_\-header.c}} -\subsubsection[{httpRequestParserGetHeader}]{\setlength{\rightskip}{0pt plus 5cm}void httpRequestParserGetHeader ( -\begin{DoxyParamCaption} -\item[{{\bf HttpRequest}}]{request, } -\item[{char $\ast$}]{line} -\end{DoxyParamCaption} -)}} -\label{get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c} - - -Definition at line 7 of file get\_\-header.c. - - -\begin{DoxyCode} -{ - char * name = line; - char * value = strchr(line, ':'); - - *value = 0; - for (; *value == ' ' && *value != 0; value++); - - (request->header)[request->nheader++] = new(HttpHeader, name, value); -} -\end{DoxyCode} - - -Here is the caller graph for this function: - - diff --git a/docs/latex/get__header_8c__incl.dot b/docs/latex/get__header_8c__incl.dot deleted file mode 100644 index a82061d..0000000 --- a/docs/latex/get__header_8c__incl.dot +++ /dev/null @@ -1,15 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/http/request/parser/get_header.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="http/header.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="http/request.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/get__header_8c__incl.md5 b/docs/latex/get__header_8c__incl.md5 deleted file mode 100644 index 09dd6a4..0000000 --- a/docs/latex/get__header_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -bcb16755a62fa1be4443228944d33bf1 \ No newline at end of file diff --git a/docs/latex/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.dot b/docs/latex/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.dot deleted file mode 100644 index 6024225..0000000 --- a/docs/latex/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="httpRequestParserGetHeader",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="httpRequestParserParse",height=0.2,width=0.4,color="black",URL="$parser_8c.html#a659e7ea125685d797a099638b3376320"]; -} diff --git a/docs/latex/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.md5 b/docs/latex/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.md5 deleted file mode 100644 index 4111b55..0000000 --- a/docs/latex/get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -7c852c6a220b847fa31cac6f58c201d9 \ No newline at end of file diff --git a/docs/latex/get__request__line_8c.tex b/docs/latex/get__request__line_8c.tex deleted file mode 100644 index 45a9346..0000000 --- a/docs/latex/get__request__line_8c.tex +++ /dev/null @@ -1,57 +0,0 @@ -\hypertarget{get__request__line_8c}{ -\section{src/http/request/parser/get\_\-request\_\-line.c File Reference} -\label{get__request__line_8c}\index{src/http/request/parser/get\_\-request\_\-line.c@{src/http/request/parser/get\_\-request\_\-line.c}} -} -{\ttfamily \#include $<$string.h$>$}\par -{\ttfamily \#include \char`\"{}http/request.h\char`\"{}}\par -Include dependency graph for get\_\-request\_\-line.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void \hyperlink{get__request__line_8c_a47a4a36f54b295507a2599488a4a6077}{httpRequestParserGetRequestLine} (\hyperlink{structHttpRequest}{HttpRequest} request, char $\ast$line) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{get__request__line_8c_a47a4a36f54b295507a2599488a4a6077}{ -\index{get\_\-request\_\-line.c@{get\_\-request\_\-line.c}!httpRequestParserGetRequestLine@{httpRequestParserGetRequestLine}} -\index{httpRequestParserGetRequestLine@{httpRequestParserGetRequestLine}!get_request_line.c@{get\_\-request\_\-line.c}} -\subsubsection[{httpRequestParserGetRequestLine}]{\setlength{\rightskip}{0pt plus 5cm}void httpRequestParserGetRequestLine ( -\begin{DoxyParamCaption} -\item[{{\bf HttpRequest}}]{request, } -\item[{char $\ast$}]{line} -\end{DoxyParamCaption} -)}} -\label{get__request__line_8c_a47a4a36f54b295507a2599488a4a6077} - - -Definition at line 7 of file get\_\-request\_\-line.c. - - -\begin{DoxyCode} -{ - char * method, * uri, * version; - - method = line; - - uri = strchr(line, ' '); - *uri++ = 0; - for (; *uri == ' ' && *uri != 0; uri++); - - version = strchr(uri, ' '); - *version++ = 0; - for (; *version == ' ' && *version != 0; version++); - - request->method = malloc(strlen(method) + 1); - strcpy(request->method, method); - request->uri = malloc(strlen(uri) + 1); - strcpy(request->uri, uri); - request->version = malloc(strlen(version) + 1); - strcpy(request->version, method); -} -\end{DoxyCode} - - -Here is the caller graph for this function: - - diff --git a/docs/latex/get__request__line_8c__incl.dot b/docs/latex/get__request__line_8c__incl.dot deleted file mode 100644 index 8fe5fa8..0000000 --- a/docs/latex/get__request__line_8c__incl.dot +++ /dev/null @@ -1,11 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/http/request/parser/get_request_line.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="string.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="http/request.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/get__request__line_8c__incl.md5 b/docs/latex/get__request__line_8c__incl.md5 deleted file mode 100644 index e5f14de..0000000 --- a/docs/latex/get__request__line_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -830be5fd763f4b14500e585fbee3ac94 \ No newline at end of file diff --git a/docs/latex/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.dot b/docs/latex/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.dot deleted file mode 100644 index 89361ad..0000000 --- a/docs/latex/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="httpRequestParserGetRequestLine",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="httpRequestParserParse",height=0.2,width=0.4,color="black",URL="$parser_8c.html#a659e7ea125685d797a099638b3376320"]; -} diff --git a/docs/latex/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.md5 b/docs/latex/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.md5 deleted file mode 100644 index 60c9d9d..0000000 --- a/docs/latex/get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -32af75e9bb6a368f76224dfe5df3d13f \ No newline at end of file diff --git a/docs/latex/handle__accept_8c.tex b/docs/latex/handle__accept_8c.tex deleted file mode 100644 index c0079ba..0000000 --- a/docs/latex/handle__accept_8c.tex +++ /dev/null @@ -1,5 +0,0 @@ -\hypertarget{handle__accept_8c}{ -\section{src/server/handle\_\-accept.c File Reference} -\label{handle__accept_8c}\index{src/server/handle\_\-accept.c@{src/server/handle\_\-accept.c}} -} -This graph shows which files directly or indirectly include this file: diff --git a/docs/latex/handle__accept_8c__dep__incl.dot b/docs/latex/handle__accept_8c__dep__incl.dot deleted file mode 100644 index 0b13af4..0000000 --- a/docs/latex/handle__accept_8c__dep__incl.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/server/handle_accept.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="src/server/run.c",height=0.2,width=0.4,color="black",URL="$run_8c.html"]; -} diff --git a/docs/latex/handle__accept_8c__dep__incl.md5 b/docs/latex/handle__accept_8c__dep__incl.md5 deleted file mode 100644 index b77e5ec..0000000 --- a/docs/latex/handle__accept_8c__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -202b02f8d82b9a69e87d5eac330c8cb2 \ No newline at end of file diff --git a/docs/latex/header_8c.tex b/docs/latex/header_8c.tex deleted file mode 100644 index 8a3d3a2..0000000 --- a/docs/latex/header_8c.tex +++ /dev/null @@ -1,44 +0,0 @@ -\hypertarget{header_8c}{ -\section{src/http/header.c File Reference} -\label{header_8c}\index{src/http/header.c@{src/http/header.c}} -} -{\ttfamily \#include $<$stdlib.h$>$}\par -{\ttfamily \#include $<$string.h$>$}\par -{\ttfamily \#include $<$ctype.h$>$}\par -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/header.h\char`\"{}}\par -Include dependency graph for header.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{header_8c_a4dd368b7bead6fa0805e91405d90f786}{INIT\_\-IFACE} (Class, ctor, dtor, NULL) -\item -\hyperlink{header_8c_ae8e5d69987c0bf3b3f0a3729c8bec8e4}{CREATE\_\-CLASS} (\hyperlink{structHttpHeader}{HttpHeader}, NULL, IFACE(Class)) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{header_8c_ae8e5d69987c0bf3b3f0a3729c8bec8e4}{ -\index{header.c@{header.c}!CREATE\_\-CLASS@{CREATE\_\-CLASS}} -\index{CREATE\_\-CLASS@{CREATE\_\-CLASS}!header.c@{header.c}} -\subsubsection[{CREATE\_\-CLASS}]{\setlength{\rightskip}{0pt plus 5cm}CREATE\_\-CLASS ( -\begin{DoxyParamCaption} -\item[{{\bf HttpHeader}}]{, } -\item[{NULL}]{, } -\item[{IFACE(Class)}]{} -\end{DoxyParamCaption} -)}} -\label{header_8c_ae8e5d69987c0bf3b3f0a3729c8bec8e4} -\hypertarget{header_8c_a4dd368b7bead6fa0805e91405d90f786}{ -\index{header.c@{header.c}!INIT\_\-IFACE@{INIT\_\-IFACE}} -\index{INIT\_\-IFACE@{INIT\_\-IFACE}!header.c@{header.c}} -\subsubsection[{INIT\_\-IFACE}]{\setlength{\rightskip}{0pt plus 5cm}INIT\_\-IFACE ( -\begin{DoxyParamCaption} -\item[{Class}]{, } -\item[{ctor}]{, } -\item[{dtor}]{, } -\item[{NULL}]{} -\end{DoxyParamCaption} -)}} -\label{header_8c_a4dd368b7bead6fa0805e91405d90f786} diff --git a/docs/latex/header_8c__incl.dot b/docs/latex/header_8c__incl.dot deleted file mode 100644 index 13b7d0d..0000000 --- a/docs/latex/header_8c__incl.dot +++ /dev/null @@ -1,19 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/http/header.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="string.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="ctype.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid"]; - Node7 [label="http/header.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/header_8c__incl.md5 b/docs/latex/header_8c__incl.md5 deleted file mode 100644 index c10d4a2..0000000 --- a/docs/latex/header_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -90ee23e32e268dbabe82c94f89d71887 \ No newline at end of file diff --git a/docs/latex/header_8h.tex b/docs/latex/header_8h.tex deleted file mode 100644 index e4dde46..0000000 --- a/docs/latex/header_8h.tex +++ /dev/null @@ -1,88 +0,0 @@ -\hypertarget{header_8h}{ -\section{include/http/header.h File Reference} -\label{header_8h}\index{include/http/header.h@{include/http/header.h}} -} -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -Include dependency graph for header.h: -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structHttpHeader}{HttpHeader} -\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{structHttpHeader}{HttpHeader} \hyperlink{header_8h_a498d29a6d4b5a4e3ef92df617600fe54}{httpHeaderParse} (char $\ast$line) -\item -void \hyperlink{header_8h_a43ccec0413f9f2e394bb3af5ff628b56}{httpHeaderSort} (const \hyperlink{structHttpHeader}{HttpHeader}\mbox{[}$\,$\mbox{]}, int) -\item -char $\ast$ \hyperlink{header_8h_a002a617a3523cbc79ba8ef6f76d98465}{httpHeaderGet} (const \hyperlink{structHttpHeader}{HttpHeader}\mbox{[}$\,$\mbox{]}, int, const char $\ast$) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{header_8h_a002a617a3523cbc79ba8ef6f76d98465}{ -\index{header.h@{header.h}!httpHeaderGet@{httpHeaderGet}} -\index{httpHeaderGet@{httpHeaderGet}!header.h@{header.h}} -\subsubsection[{httpHeaderGet}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ httpHeaderGet ( -\begin{DoxyParamCaption} -\item[{const {\bf HttpHeader}}]{\mbox{[}$\,$\mbox{]}, } -\item[{int}]{, } -\item[{const char $\ast$}]{} -\end{DoxyParamCaption} -)}} -\label{header_8h_a002a617a3523cbc79ba8ef6f76d98465} - - -Definition at line 31 of file get.c. - - -\begin{DoxyCode} -{ - unsigned long hash = sdbm((unsigned char *)name); - HttpHeader found; - - found = bsearch(&hash, header, nheader, sizeof(HttpHeader), comp); - - return (NULL != found)? found->value : NULL; -} -\end{DoxyCode} - - -Here is the caller graph for this function: - - -\hypertarget{header_8h_a498d29a6d4b5a4e3ef92df617600fe54}{ -\index{header.h@{header.h}!httpHeaderParse@{httpHeaderParse}} -\index{httpHeaderParse@{httpHeaderParse}!header.h@{header.h}} -\subsubsection[{httpHeaderParse}]{\setlength{\rightskip}{0pt plus 5cm}{\bf HttpHeader} httpHeaderParse ( -\begin{DoxyParamCaption} -\item[{char $\ast$}]{line} -\end{DoxyParamCaption} -)}} -\label{header_8h_a498d29a6d4b5a4e3ef92df617600fe54} -\hypertarget{header_8h_a43ccec0413f9f2e394bb3af5ff628b56}{ -\index{header.h@{header.h}!httpHeaderSort@{httpHeaderSort}} -\index{httpHeaderSort@{httpHeaderSort}!header.h@{header.h}} -\subsubsection[{httpHeaderSort}]{\setlength{\rightskip}{0pt plus 5cm}void httpHeaderSort ( -\begin{DoxyParamCaption} -\item[{const {\bf HttpHeader}}]{\mbox{[}$\,$\mbox{]}, } -\item[{int}]{} -\end{DoxyParamCaption} -)}} -\label{header_8h_a43ccec0413f9f2e394bb3af5ff628b56} - - -Definition at line 14 of file sort.c. - - -\begin{DoxyCode} -{ - qsort(header, nheader, sizeof(HttpHeader), comp); -} -\end{DoxyCode} - - -Here is the caller graph for this function: - - diff --git a/docs/latex/header_8h__incl.dot b/docs/latex/header_8h__incl.dot deleted file mode 100644 index 9136b0b..0000000 --- a/docs/latex/header_8h__incl.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/http/header.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="class.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/header_8h__incl.md5 b/docs/latex/header_8h__incl.md5 deleted file mode 100644 index 652835b..0000000 --- a/docs/latex/header_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -fb541b7670e1d8afbc6202234e2a39ef \ No newline at end of file diff --git a/docs/latex/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.dot b/docs/latex/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.dot deleted file mode 100644 index b37cee8..0000000 --- a/docs/latex/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="httpHeaderGet",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="httpRequestParserParse",height=0.2,width=0.4,color="black",URL="$parser_8c.html#a659e7ea125685d797a099638b3376320"]; -} diff --git a/docs/latex/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.md5 b/docs/latex/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.md5 deleted file mode 100644 index 4fec088..0000000 --- a/docs/latex/header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -6d3ab79d1c55ca8e59b3bfceac7f70ed \ No newline at end of file diff --git a/docs/latex/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.dot b/docs/latex/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.dot deleted file mode 100644 index 4d2f27f..0000000 --- a/docs/latex/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="httpHeaderSort",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="httpRequestParserParse",height=0.2,width=0.4,color="black",URL="$parser_8c.html#a659e7ea125685d797a099638b3376320"]; -} diff --git a/docs/latex/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.md5 b/docs/latex/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.md5 deleted file mode 100644 index 9062fa0..0000000 --- a/docs/latex/header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -d4dd874c170f6f96950bc1c377a2b156 \ No newline at end of file diff --git a/docs/latex/header__get_8c.tex b/docs/latex/header__get_8c.tex deleted file mode 100644 index 1bf4c5c..0000000 --- a/docs/latex/header__get_8c.tex +++ /dev/null @@ -1,46 +0,0 @@ -\hypertarget{header__get_8c}{ -\section{src/http/request/header\_\-get.c File Reference} -\label{header__get_8c}\index{src/http/request/header\_\-get.c@{src/http/request/header\_\-get.c}} -} -{\ttfamily \#include $<$stdlib.h$>$}\par -{\ttfamily \#include $<$ctype.h$>$}\par -{\ttfamily \#include \char`\"{}http/request.h\char`\"{}}\par -Include dependency graph for header\_\-get.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -char $\ast$ \hyperlink{header__get_8c_abe5df7e20fea66f7926cf40df8250f26}{httpRequestHeaderGet} (\hyperlink{structHttpRequest}{HttpRequest} this, const char $\ast$name) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{header__get_8c_abe5df7e20fea66f7926cf40df8250f26}{ -\index{header\_\-get.c@{header\_\-get.c}!httpRequestHeaderGet@{httpRequestHeaderGet}} -\index{httpRequestHeaderGet@{httpRequestHeaderGet}!header_get.c@{header\_\-get.c}} -\subsubsection[{httpRequestHeaderGet}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ httpRequestHeaderGet ( -\begin{DoxyParamCaption} -\item[{{\bf HttpRequest}}]{this, } -\item[{const char $\ast$}]{name} -\end{DoxyParamCaption} -)}} -\label{header__get_8c_abe5df7e20fea66f7926cf40df8250f26} - - -Definition at line 31 of file header\_\-get.c. - - -\begin{DoxyCode} -{ - unsigned long hash = sdbm((unsigned char *)name); - struct HttpRequestHeader * header; - - header = bsearch( - &hash, - this->header, - this->nheader, - sizeof(struct HttpRequestHeader), - comp); - - return (NULL != header)? header->value : NULL; -} -\end{DoxyCode} diff --git a/docs/latex/header__get_8c__incl.dot b/docs/latex/header__get_8c__incl.dot deleted file mode 100644 index f609880..0000000 --- a/docs/latex/header__get_8c__incl.dot +++ /dev/null @@ -1,13 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/http/request/header_get.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="ctype.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="http/request.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/header__get_8c__incl.md5 b/docs/latex/header__get_8c__incl.md5 deleted file mode 100644 index 371cc85..0000000 --- a/docs/latex/header__get_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -2f92e533b85ced0d9227e4a1176eba63 \ No newline at end of file diff --git a/docs/latex/interface_2class_8c.tex b/docs/latex/interface_2class_8c.tex deleted file mode 100644 index 847fa3d..0000000 --- a/docs/latex/interface_2class_8c.tex +++ /dev/null @@ -1,109 +0,0 @@ -\hypertarget{interface_2class_8c}{ -\section{src/interface/class.c File Reference} -\label{interface_2class_8c}\index{src/interface/class.c@{src/interface/class.c}} -} -{\ttfamily \#include $<$stdarg.h$>$}\par -{\ttfamily \#include $<$stdlib.h$>$}\par -{\ttfamily \#include $<$assert.h$>$}\par -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -Include dependency graph for class.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void $\ast$ \hyperlink{interface_2class_8c_a841e4a0f9bceb16fda262302d038bfa0}{classNew} (\hyperlink{structclass}{class\_\-ptr} \hyperlink{structclass}{class},...) -\item -void \hyperlink{interface_2class_8c_a292005216c251622a115ea90ff6d36c0}{classDelete} (void $\ast$$\ast$object) -\item -void $\ast$ \hyperlink{interface_2class_8c_ada46f0179448063a30f6f219270bf1e0}{classClone} (void $\ast$\_\-object) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{interface_2class_8c_ada46f0179448063a30f6f219270bf1e0}{ -\index{interface/class.c@{interface/class.c}!classClone@{classClone}} -\index{classClone@{classClone}!interface/class.c@{interface/class.c}} -\subsubsection[{classClone}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ classClone ( -\begin{DoxyParamCaption} -\item[{void $\ast$}]{\_\-object} -\end{DoxyParamCaption} -)}} -\label{interface_2class_8c_ada46f0179448063a30f6f219270bf1e0} - - -Definition at line 42 of file class.c. - - -\begin{DoxyCode} -{ - class_ptr class = class_getClass(_object); - void * object = calloc(1, class->object_size + sizeof(void*)); - - * (class_ptr *)object = class; - object += sizeof(void*); - -#undef clone - CALL(object, Class, clone, _object); - - return object; -} -\end{DoxyCode} - - -Here is the call graph for this function: - - -\hypertarget{interface_2class_8c_a292005216c251622a115ea90ff6d36c0}{ -\index{interface/class.c@{interface/class.c}!classDelete@{classDelete}} -\index{classDelete@{classDelete}!interface/class.c@{interface/class.c}} -\subsubsection[{classDelete}]{\setlength{\rightskip}{0pt plus 5cm}void classDelete ( -\begin{DoxyParamCaption} -\item[{void $\ast$$\ast$}]{object} -\end{DoxyParamCaption} -)}} -\label{interface_2class_8c_a292005216c251622a115ea90ff6d36c0} - - -Definition at line 33 of file class.c. - - -\begin{DoxyCode} -{ - CALL(*object, Class, dtor); - - free(*object - sizeof(void*)); - *object = NULL; -} -\end{DoxyCode} -\hypertarget{interface_2class_8c_a841e4a0f9bceb16fda262302d038bfa0}{ -\index{interface/class.c@{interface/class.c}!classNew@{classNew}} -\index{classNew@{classNew}!interface/class.c@{interface/class.c}} -\subsubsection[{classNew}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ classNew ( -\begin{DoxyParamCaption} -\item[{{\bf class\_\-ptr}}]{class, } -\item[{}]{...} -\end{DoxyParamCaption} -)}} -\label{interface_2class_8c_a841e4a0f9bceb16fda262302d038bfa0} - - -Definition at line 15 of file class.c. - - -\begin{DoxyCode} -{ - void * object = calloc(1, class->object_size + sizeof(void*)); - va_list params; - - if (class->init) class->init(); - - * (class_ptr *)object = class; - object += sizeof(void*); - - va_start(params, class); - CALL(object, Class, ctor, ¶ms); - va_end(params); - - return object; -} -\end{DoxyCode} diff --git a/docs/latex/interface_2class_8c__incl.dot b/docs/latex/interface_2class_8c__incl.dot deleted file mode 100644 index f87456f..0000000 --- a/docs/latex/interface_2class_8c__incl.dot +++ /dev/null @@ -1,17 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/interface/class.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdarg.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="assert.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/interface_2class_8c__incl.md5 b/docs/latex/interface_2class_8c__incl.md5 deleted file mode 100644 index 896c016..0000000 --- a/docs/latex/interface_2class_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -d385f264a2ce6003971df8559889df1b \ No newline at end of file diff --git a/docs/latex/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.dot b/docs/latex/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.dot deleted file mode 100644 index 76973c7..0000000 --- a/docs/latex/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="classClone",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="class_getClass",height=0.2,width=0.4,color="black",URL="$class_8h.html#a1f382a42de272d5cc4d6bb5b17db6ede"]; -} diff --git a/docs/latex/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.md5 b/docs/latex/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.md5 deleted file mode 100644 index dda6e21..0000000 --- a/docs/latex/interface_2class_8c_ada46f0179448063a30f6f219270bf1e0_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -3c009b311a9cda1bd0f95e0be210ba41 \ No newline at end of file diff --git a/docs/latex/interface_2class_8h.tex b/docs/latex/interface_2class_8h.tex deleted file mode 100644 index c128396..0000000 --- a/docs/latex/interface_2class_8h.tex +++ /dev/null @@ -1,204 +0,0 @@ -\hypertarget{interface_2class_8h}{ -\section{include/interface/class.h File Reference} -\label{interface_2class_8h}\index{include/interface/class.h@{include/interface/class.h}} -} -{\ttfamily \#include $<$stdarg.h$>$}\par -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface.h\char`\"{}}\par -Include dependency graph for class.h: -This graph shows which files directly or indirectly include this file: -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structi__Class}{i\_\-Class} -\end{DoxyCompactItemize} -\subsection*{Defines} -\begin{DoxyCompactItemize} -\item -\#define \hyperlink{interface_2class_8h_a323cb9a9088662b03bc37a47403e4212}{new}(\hyperlink{structclass}{class},...)~classNew(\_\-\#\#\hyperlink{structclass}{class}, \#\#\_\-\_\-VA\_\-ARGS\_\-\_\-) -\item -\#define \hyperlink{interface_2class_8h_adb9a02719a59dd833c56e1a33ded59db}{delete}(object)~classDelete((void $\ast$$\ast$)(object)) -\item -\#define \hyperlink{interface_2class_8h_a864061d3c9c7f123efb63649bb0fade7}{clone}(object)~classClone((void $\ast$)(object)) -\end{DoxyCompactItemize} -\subsection*{Typedefs} -\begin{DoxyCompactItemize} -\item -typedef void($\ast$ \hyperlink{interface_2class_8h_a207fe2c25aae0b91e9df60b0ece4217e}{fptr\_\-ctor} )(void $\ast$, va\_\-list $\ast$) -\item -typedef void($\ast$ \hyperlink{interface_2class_8h_a59366634eecbace7ae9c8c5e65199c91}{fptr\_\-dtor} )(void $\ast$) -\item -typedef void($\ast$ \hyperlink{interface_2class_8h_a6d852b3640eeb6ef8a3d776b87736392}{fptr\_\-clone} )(void $\ast$, void $\ast$const) -\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void $\ast$ \hyperlink{interface_2class_8h_adebe9bba79f753f5c44409a2ff664299}{classNew} (\hyperlink{structclass}{class\_\-ptr},...) -\item -void \hyperlink{interface_2class_8h_ac064b1caf75bc6c8b1a4371748d55878}{classDelete} (void $\ast$$\ast$) -\item -void $\ast$ \hyperlink{interface_2class_8h_a51116659174ec46c5a04721d31631053}{classClone} (void $\ast$) -\end{DoxyCompactItemize} - - -\subsection{Define Documentation} -\hypertarget{interface_2class_8h_a864061d3c9c7f123efb63649bb0fade7}{ -\index{interface/class.h@{interface/class.h}!clone@{clone}} -\index{clone@{clone}!interface/class.h@{interface/class.h}} -\subsubsection[{clone}]{\setlength{\rightskip}{0pt plus 5cm}\#define clone( -\begin{DoxyParamCaption} -\item[{}]{object} -\end{DoxyParamCaption} -)~classClone((void $\ast$)(object))}} -\label{interface_2class_8h_a864061d3c9c7f123efb63649bb0fade7} - - -Definition at line 28 of file class.h. - -\hypertarget{interface_2class_8h_adb9a02719a59dd833c56e1a33ded59db}{ -\index{interface/class.h@{interface/class.h}!delete@{delete}} -\index{delete@{delete}!interface/class.h@{interface/class.h}} -\subsubsection[{delete}]{\setlength{\rightskip}{0pt plus 5cm}\#define delete( -\begin{DoxyParamCaption} -\item[{}]{object} -\end{DoxyParamCaption} -)~classDelete((void $\ast$$\ast$)(object))}} -\label{interface_2class_8h_adb9a02719a59dd833c56e1a33ded59db} - - -Definition at line 27 of file class.h. - -\hypertarget{interface_2class_8h_a323cb9a9088662b03bc37a47403e4212}{ -\index{interface/class.h@{interface/class.h}!new@{new}} -\index{new@{new}!interface/class.h@{interface/class.h}} -\subsubsection[{new}]{\setlength{\rightskip}{0pt plus 5cm}\#define new( -\begin{DoxyParamCaption} -\item[{}]{{\bf class}, } -\item[{}]{...} -\end{DoxyParamCaption} -)~classNew(\_\-\#\#{\bf class}, \#\#\_\-\_\-VA\_\-ARGS\_\-\_\-)}} -\label{interface_2class_8h_a323cb9a9088662b03bc37a47403e4212} - - -Definition at line 26 of file class.h. - - - -\subsection{Typedef Documentation} -\hypertarget{interface_2class_8h_a6d852b3640eeb6ef8a3d776b87736392}{ -\index{interface/class.h@{interface/class.h}!fptr\_\-clone@{fptr\_\-clone}} -\index{fptr\_\-clone@{fptr\_\-clone}!interface/class.h@{interface/class.h}} -\subsubsection[{fptr\_\-clone}]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ {\bf fptr\_\-clone})(void $\ast$, void $\ast$const)}} -\label{interface_2class_8h_a6d852b3640eeb6ef8a3d776b87736392} - - -Definition at line 11 of file class.h. - -\hypertarget{interface_2class_8h_a207fe2c25aae0b91e9df60b0ece4217e}{ -\index{interface/class.h@{interface/class.h}!fptr\_\-ctor@{fptr\_\-ctor}} -\index{fptr\_\-ctor@{fptr\_\-ctor}!interface/class.h@{interface/class.h}} -\subsubsection[{fptr\_\-ctor}]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ {\bf fptr\_\-ctor})(void $\ast$, va\_\-list $\ast$)}} -\label{interface_2class_8h_a207fe2c25aae0b91e9df60b0ece4217e} - - -Definition at line 9 of file class.h. - -\hypertarget{interface_2class_8h_a59366634eecbace7ae9c8c5e65199c91}{ -\index{interface/class.h@{interface/class.h}!fptr\_\-dtor@{fptr\_\-dtor}} -\index{fptr\_\-dtor@{fptr\_\-dtor}!interface/class.h@{interface/class.h}} -\subsubsection[{fptr\_\-dtor}]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ {\bf fptr\_\-dtor})(void $\ast$)}} -\label{interface_2class_8h_a59366634eecbace7ae9c8c5e65199c91} - - -Definition at line 10 of file class.h. - - - -\subsection{Function Documentation} -\hypertarget{interface_2class_8h_a51116659174ec46c5a04721d31631053}{ -\index{interface/class.h@{interface/class.h}!classClone@{classClone}} -\index{classClone@{classClone}!interface/class.h@{interface/class.h}} -\subsubsection[{classClone}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ classClone ( -\begin{DoxyParamCaption} -\item[{void $\ast$}]{} -\end{DoxyParamCaption} -)}} -\label{interface_2class_8h_a51116659174ec46c5a04721d31631053} - - -Definition at line 42 of file class.c. - - -\begin{DoxyCode} -{ - class_ptr class = class_getClass(_object); - void * object = calloc(1, class->object_size + sizeof(void*)); - - * (class_ptr *)object = class; - object += sizeof(void*); - -#undef clone - CALL(object, Class, clone, _object); - - return object; -} -\end{DoxyCode} - - -Here is the call graph for this function: - - -\hypertarget{interface_2class_8h_ac064b1caf75bc6c8b1a4371748d55878}{ -\index{interface/class.h@{interface/class.h}!classDelete@{classDelete}} -\index{classDelete@{classDelete}!interface/class.h@{interface/class.h}} -\subsubsection[{classDelete}]{\setlength{\rightskip}{0pt plus 5cm}void classDelete ( -\begin{DoxyParamCaption} -\item[{void $\ast$$\ast$}]{} -\end{DoxyParamCaption} -)}} -\label{interface_2class_8h_ac064b1caf75bc6c8b1a4371748d55878} - - -Definition at line 33 of file class.c. - - -\begin{DoxyCode} -{ - CALL(*object, Class, dtor); - - free(*object - sizeof(void*)); - *object = NULL; -} -\end{DoxyCode} -\hypertarget{interface_2class_8h_adebe9bba79f753f5c44409a2ff664299}{ -\index{interface/class.h@{interface/class.h}!classNew@{classNew}} -\index{classNew@{classNew}!interface/class.h@{interface/class.h}} -\subsubsection[{classNew}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ classNew ( -\begin{DoxyParamCaption} -\item[{{\bf class\_\-ptr}}]{, } -\item[{}]{...} -\end{DoxyParamCaption} -)}} -\label{interface_2class_8h_adebe9bba79f753f5c44409a2ff664299} - - -Definition at line 15 of file class.c. - - -\begin{DoxyCode} -{ - void * object = calloc(1, class->object_size + sizeof(void*)); - va_list params; - - if (class->init) class->init(); - - * (class_ptr *)object = class; - object += sizeof(void*); - - va_start(params, class); - CALL(object, Class, ctor, ¶ms); - va_end(params); - - return object; -} -\end{DoxyCode} diff --git a/docs/latex/interface_2class_8h__dep__incl.dot b/docs/latex/interface_2class_8h__dep__incl.dot deleted file mode 100644 index 5fe300a..0000000 --- a/docs/latex/interface_2class_8h__dep__incl.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/interface/class.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node1 [dir=back,color="midnightblue",fontsize="10",style="solid"]; -} diff --git a/docs/latex/interface_2class_8h__dep__incl.md5 b/docs/latex/interface_2class_8h__dep__incl.md5 deleted file mode 100644 index f1ed3d2..0000000 --- a/docs/latex/interface_2class_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -465c0b34ebf6d6763ab90d2d446b72ab \ No newline at end of file diff --git a/docs/latex/interface_2class_8h__incl.dot b/docs/latex/interface_2class_8h__incl.dot deleted file mode 100644 index 05495c4..0000000 --- a/docs/latex/interface_2class_8h__incl.dot +++ /dev/null @@ -1,12 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/interface/class.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdarg.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node1 [color="midnightblue",fontsize="10",style="solid"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="interface.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/interface_2class_8h__incl.md5 b/docs/latex/interface_2class_8h__incl.md5 deleted file mode 100644 index 9ba9cde..0000000 --- a/docs/latex/interface_2class_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -6b58762b248da531ad8d2946e11b7f00 \ No newline at end of file diff --git a/docs/latex/interface_2class_8h_a51116659174ec46c5a04721d31631053_cgraph.dot b/docs/latex/interface_2class_8h_a51116659174ec46c5a04721d31631053_cgraph.dot deleted file mode 100644 index 76973c7..0000000 --- a/docs/latex/interface_2class_8h_a51116659174ec46c5a04721d31631053_cgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="classClone",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="class_getClass",height=0.2,width=0.4,color="black",URL="$class_8h.html#a1f382a42de272d5cc4d6bb5b17db6ede"]; -} diff --git a/docs/latex/interface_2class_8h_a51116659174ec46c5a04721d31631053_cgraph.md5 b/docs/latex/interface_2class_8h_a51116659174ec46c5a04721d31631053_cgraph.md5 deleted file mode 100644 index dda6e21..0000000 --- a/docs/latex/interface_2class_8h_a51116659174ec46c5a04721d31631053_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -3c009b311a9cda1bd0f95e0be210ba41 \ No newline at end of file diff --git a/docs/latex/interface_2logger_8c.tex b/docs/latex/interface_2logger_8c.tex deleted file mode 100644 index 00fb26d..0000000 --- a/docs/latex/interface_2logger_8c.tex +++ /dev/null @@ -1,65 +0,0 @@ -\hypertarget{interface_2logger_8c}{ -\section{src/interface/logger.c File Reference} -\label{interface_2logger_8c}\index{src/interface/logger.c@{src/interface/logger.c}} -} -{\ttfamily \#include $<$stdlib.h$>$}\par -{\ttfamily \#include $<$stdio.h$>$}\par -{\ttfamily \#include $<$stdarg.h$>$}\par -{\ttfamily \#include \char`\"{}logger.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/logger.h\char`\"{}}\par -Include dependency graph for logger.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void \hyperlink{interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f}{loggerLog} (void $\ast$\_\-object, \hyperlink{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1e}{logger\_\-level} level, const char $\ast$const fmt,...) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f}{ -\index{interface/logger.c@{interface/logger.c}!loggerLog@{loggerLog}} -\index{loggerLog@{loggerLog}!interface/logger.c@{interface/logger.c}} -\subsubsection[{loggerLog}]{\setlength{\rightskip}{0pt plus 5cm}void loggerLog ( -\begin{DoxyParamCaption} -\item[{void $\ast$}]{\_\-object, } -\item[{{\bf logger\_\-level}}]{level, } -\item[{const char $\ast$const}]{fmt, } -\item[{}]{...} -\end{DoxyParamCaption} -)}} -\label{interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f} - - -Definition at line 14 of file logger.c. - - -\begin{DoxyCode} - { - Logger object = _object; - - if (level >= object->min_level) { - char * msg = NULL; - size_t msg_size = 0; - va_list params; - - va_start(params, fmt); - msg_size = vsnprintf(msg, msg_size, fmt, params); - va_end(params); - - msg = malloc(msg_size + 1); - - va_start(params, fmt); - vsnprintf(msg, msg_size + 1, fmt, params); - va_end(params); - - CALL(_object, Logger, log, level, msg); - - free(msg); - } -} -\end{DoxyCode} - - -Here is the caller graph for this function: - - diff --git a/docs/latex/interface_2logger_8c__incl.dot b/docs/latex/interface_2logger_8c__incl.dot deleted file mode 100644 index 55a2b7d..0000000 --- a/docs/latex/interface_2logger_8c__incl.dot +++ /dev/null @@ -1,17 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/interface/logger.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="stdio.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="stdarg.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="logger.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="interface/logger.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/interface_2logger_8c__incl.md5 b/docs/latex/interface_2logger_8c__incl.md5 deleted file mode 100644 index 12897d5..0000000 --- a/docs/latex/interface_2logger_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -904443824ae94b1a8284befdf0365711 \ No newline at end of file diff --git a/docs/latex/interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f_icgraph.dot b/docs/latex/interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f_icgraph.dot deleted file mode 100644 index 38d4890..0000000 --- a/docs/latex/interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f_icgraph.dot +++ /dev/null @@ -1,18 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="loggerLog",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="serverRun",height=0.2,width=0.4,color="black",URL="$run_8c.html#a67a4d9073b80d8ae1459fb11ddd23675"]; - Node2 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="main",height=0.2,width=0.4,color="black",URL="$testserver_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4"]; - Node1 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="socketAccept",height=0.2,width=0.4,color="black",URL="$accept_8c.html#a46aa6b495ccf752e844f93bf46c9edd6"]; - Node1 -> Node5 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="socketConnect",height=0.2,width=0.4,color="black",URL="$connect_8c.html#adbfc4792c437102f20e2c86c4ee8581b"]; - Node1 -> Node6 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="socketListen",height=0.2,width=0.4,color="black",URL="$listen_8c.html#a757c220e9371523ef55b1137a1efed57"]; -} diff --git a/docs/latex/interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f_icgraph.md5 b/docs/latex/interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f_icgraph.md5 deleted file mode 100644 index 08c4b62..0000000 --- a/docs/latex/interface_2logger_8c_a9053743a944f1faef3866efaa52d3c7f_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -d95cb4c57c90bfe358449d670a3395c0 \ No newline at end of file diff --git a/docs/latex/interface_2logger_8h.tex b/docs/latex/interface_2logger_8h.tex deleted file mode 100644 index 321d5b4..0000000 --- a/docs/latex/interface_2logger_8h.tex +++ /dev/null @@ -1,86 +0,0 @@ -\hypertarget{interface_2logger_8h}{ -\section{include/interface/logger.h File Reference} -\label{interface_2logger_8h}\index{include/interface/logger.h@{include/interface/logger.h}} -} -{\ttfamily \#include $<$stdarg.h$>$}\par -{\ttfamily \#include \char`\"{}interface.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}logger.h\char`\"{}}\par -Include dependency graph for logger.h: -This graph shows which files directly or indirectly include this file: -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structi__Logger}{i\_\-Logger} -\end{DoxyCompactItemize} -\subsection*{Typedefs} -\begin{DoxyCompactItemize} -\item -typedef void($\ast$ \hyperlink{interface_2logger_8h_a4dcd041363da34329e1c9442c98a273e}{fptr\_\-log} )(void $\ast$, \hyperlink{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1e}{logger\_\-level}, const char $\ast$const) -\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void \hyperlink{interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e}{loggerLog} (void $\ast$, \hyperlink{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1e}{logger\_\-level}, const char $\ast$const,...) -\end{DoxyCompactItemize} - - -\subsection{Typedef Documentation} -\hypertarget{interface_2logger_8h_a4dcd041363da34329e1c9442c98a273e}{ -\index{interface/logger.h@{interface/logger.h}!fptr\_\-log@{fptr\_\-log}} -\index{fptr\_\-log@{fptr\_\-log}!interface/logger.h@{interface/logger.h}} -\subsubsection[{fptr\_\-log}]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ {\bf fptr\_\-log})(void $\ast$, {\bf logger\_\-level}, const char $\ast$const)}} -\label{interface_2logger_8h_a4dcd041363da34329e1c9442c98a273e} - - -Definition at line 9 of file logger.h. - - - -\subsection{Function Documentation} -\hypertarget{interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e}{ -\index{interface/logger.h@{interface/logger.h}!loggerLog@{loggerLog}} -\index{loggerLog@{loggerLog}!interface/logger.h@{interface/logger.h}} -\subsubsection[{loggerLog}]{\setlength{\rightskip}{0pt plus 5cm}void loggerLog ( -\begin{DoxyParamCaption} -\item[{void $\ast$}]{, } -\item[{{\bf logger\_\-level}}]{, } -\item[{const char $\ast$}]{const, } -\item[{}]{...} -\end{DoxyParamCaption} -)}} -\label{interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e} - - -Definition at line 14 of file logger.c. - - -\begin{DoxyCode} - { - Logger object = _object; - - if (level >= object->min_level) { - char * msg = NULL; - size_t msg_size = 0; - va_list params; - - va_start(params, fmt); - msg_size = vsnprintf(msg, msg_size, fmt, params); - va_end(params); - - msg = malloc(msg_size + 1); - - va_start(params, fmt); - vsnprintf(msg, msg_size + 1, fmt, params); - va_end(params); - - CALL(_object, Logger, log, level, msg); - - free(msg); - } -} -\end{DoxyCode} - - -Here is the caller graph for this function: - - diff --git a/docs/latex/interface_2logger_8h__dep__incl.dot b/docs/latex/interface_2logger_8h__dep__incl.dot deleted file mode 100644 index ff75ee5..0000000 --- a/docs/latex/interface_2logger_8h__dep__incl.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/interface/logger.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node1 [dir=back,color="midnightblue",fontsize="10",style="solid"]; -} diff --git a/docs/latex/interface_2logger_8h__dep__incl.md5 b/docs/latex/interface_2logger_8h__dep__incl.md5 deleted file mode 100644 index 10bc0cd..0000000 --- a/docs/latex/interface_2logger_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -f38e06bc2f319d8a8d7e0aa9731641cb \ No newline at end of file diff --git a/docs/latex/interface_2logger_8h__incl.dot b/docs/latex/interface_2logger_8h__incl.dot deleted file mode 100644 index b2afc04..0000000 --- a/docs/latex/interface_2logger_8h__incl.dot +++ /dev/null @@ -1,12 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/interface/logger.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdarg.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="interface.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node1 [color="midnightblue",fontsize="10",style="solid"]; -} diff --git a/docs/latex/interface_2logger_8h__incl.md5 b/docs/latex/interface_2logger_8h__incl.md5 deleted file mode 100644 index 137e595..0000000 --- a/docs/latex/interface_2logger_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -2bc981d947623d8518e26b04bf2f1202 \ No newline at end of file diff --git a/docs/latex/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.dot b/docs/latex/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.dot deleted file mode 100644 index 38d4890..0000000 --- a/docs/latex/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.dot +++ /dev/null @@ -1,18 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="loggerLog",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="serverRun",height=0.2,width=0.4,color="black",URL="$run_8c.html#a67a4d9073b80d8ae1459fb11ddd23675"]; - Node2 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="main",height=0.2,width=0.4,color="black",URL="$testserver_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4"]; - Node1 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="socketAccept",height=0.2,width=0.4,color="black",URL="$accept_8c.html#a46aa6b495ccf752e844f93bf46c9edd6"]; - Node1 -> Node5 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="socketConnect",height=0.2,width=0.4,color="black",URL="$connect_8c.html#adbfc4792c437102f20e2c86c4ee8581b"]; - Node1 -> Node6 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="socketListen",height=0.2,width=0.4,color="black",URL="$listen_8c.html#a757c220e9371523ef55b1137a1efed57"]; -} diff --git a/docs/latex/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.md5 b/docs/latex/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.md5 deleted file mode 100644 index 08c4b62..0000000 --- a/docs/latex/interface_2logger_8h_ae9f8662ec8b300dcfb5064906937553e_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -d95cb4c57c90bfe358449d670a3395c0 \ No newline at end of file diff --git a/docs/latex/interface_8c.tex b/docs/latex/interface_8c.tex deleted file mode 100644 index ddf1339..0000000 --- a/docs/latex/interface_8c.tex +++ /dev/null @@ -1,69 +0,0 @@ -\hypertarget{interface_8c}{ -\section{src/interface.c File Reference} -\label{interface_8c}\index{src/interface.c@{src/interface.c}} -} -{\ttfamily \#include $<$sys/types.h$>$}\par -{\ttfamily \#include $<$stdlib.h$>$}\par -{\ttfamily \#include \char`\"{}interface.h\char`\"{}}\par -Include dependency graph for interface.c: -\subsection*{Defines} -\begin{DoxyCompactItemize} -\item -\#define \hyperlink{interface_8c_aa8cecfc5c5c054d2875c03e77b7be15d}{TRUE}~1 -\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structinterface}{interface} $\ast$ \hyperlink{interface_8c_a3592671f742071d6b215f46ba58f53ab}{interfaceGet} (\hyperlink{structiface__impl}{iface\_\-impl\_\-ptr} \hyperlink{structiface__impl}{iface\_\-impl}, const \hyperlink{structinterface}{iface\_\-ptr} \_\-iface) -\end{DoxyCompactItemize} - - -\subsection{Define Documentation} -\hypertarget{interface_8c_aa8cecfc5c5c054d2875c03e77b7be15d}{ -\index{interface.c@{interface.c}!TRUE@{TRUE}} -\index{TRUE@{TRUE}!interface.c@{interface.c}} -\subsubsection[{TRUE}]{\setlength{\rightskip}{0pt plus 5cm}\#define TRUE~1}} -\label{interface_8c_aa8cecfc5c5c054d2875c03e77b7be15d} - - -Definition at line 7 of file interface.c. - - - -\subsection{Function Documentation} -\hypertarget{interface_8c_a3592671f742071d6b215f46ba58f53ab}{ -\index{interface.c@{interface.c}!interfaceGet@{interfaceGet}} -\index{interfaceGet@{interfaceGet}!interface.c@{interface.c}} -\subsubsection[{interfaceGet}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf interface}$\ast$ interfaceGet ( -\begin{DoxyParamCaption} -\item[{{\bf iface\_\-impl\_\-ptr}}]{iface\_\-impl, } -\item[{const {\bf iface\_\-ptr}}]{\_\-iface} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily \mbox{[}read\mbox{]}}}} -\label{interface_8c_a3592671f742071d6b215f46ba58f53ab} -this one is important in selector functions to get the correct interface implementation of a class. - -Definition at line 25 of file interface.c. - - -\begin{DoxyCode} -{ - const iface_ptr * iface = &_iface; - void * dummy; - - if (! iface_impl->simpl) { - qsort((void**)(iface_impl->impl), iface_impl->nimpl, sizeof(iface_ptr), c - omp); - iface_impl->simpl=TRUE; - } - - dummy = bsearch( - &iface, - iface_impl->impl, - iface_impl->nimpl, - sizeof(iface_ptr), - comp); - - return dummy? *(struct interface **)dummy : dummy; -} -\end{DoxyCode} diff --git a/docs/latex/interface_8c__incl.dot b/docs/latex/interface_8c__incl.dot deleted file mode 100644 index 16295a7..0000000 --- a/docs/latex/interface_8c__incl.dot +++ /dev/null @@ -1,13 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/interface.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="interface.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/interface_8c__incl.md5 b/docs/latex/interface_8c__incl.md5 deleted file mode 100644 index 110d011..0000000 --- a/docs/latex/interface_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -a33e8cb0390b141deafdb3a8fb923990 \ No newline at end of file diff --git a/docs/latex/interface_8h.tex b/docs/latex/interface_8h.tex deleted file mode 100644 index a7d37b9..0000000 --- a/docs/latex/interface_8h.tex +++ /dev/null @@ -1,195 +0,0 @@ -\hypertarget{interface_8h}{ -\section{include/interface.h File Reference} -\label{interface_8h}\index{include/interface.h@{include/interface.h}} -} -{\ttfamily \#include $<$sys/types.h$>$}\par -Include dependency graph for interface.h: -This graph shows which files directly or indirectly include this file: -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structinterface}{interface} -\item -struct \hyperlink{structiface__impl}{iface\_\-impl} -\end{DoxyCompactItemize} -\subsection*{Defines} -\begin{DoxyCompactItemize} -\item -\#define \hyperlink{interface_8h_ad620a89e939b586d6a025cf342da8e55}{MAX\_\-IFACE}~32 -\item -\#define \hyperlink{interface_8h_a02255665665c91d905ec32d00d9a4a85}{IFACE}(name)~((const struct i\_\-\#\#name const$\ast$)\&i\_\-\#\#name\#\#\_\-impl) -\item -\#define \hyperlink{interface_8h_a446cc7d7282f8a0b8e62a371671ea605}{INIT\_\-IFACE}(name,...)~static const struct i\_\-\#\#name i\_\-\#\#name\#\#\_\-impl = \{\&i\_\-\#\#name,\_\-\_\-VA\_\-ARGS\_\-\_\-\} -\item -\#define \hyperlink{interface_8h_a9dda4d034150e3159927f83d9d15d840}{NUMARGS}(...)~(sizeof((const void$\ast$\mbox{[}$\,$\mbox{]})\{\_\-\_\-VA\_\-ARGS\_\-\_\-\})/sizeof(void$\ast$)) -\item -\#define \hyperlink{interface_8h_a6e8015282e5aac5747daff5bb71d8601}{INIT\_\-IMPL}(...)~\{NUMARGS(\_\-\_\-VA\_\-ARGS\_\-\_\-), 0, \{\_\-\_\-VA\_\-ARGS\_\-\_\-\}\} -\item -\#define \hyperlink{interface_8h_a855b98f3119c2d64e7dd4c2c910bd5b5}{CREATE\_\-IMPL}(...)~static struct \hyperlink{structiface__impl}{iface\_\-impl} \hyperlink{structiface__impl}{iface\_\-impl} = INIT\_\-IMPL(\_\-\_\-VA\_\-ARGS\_\-\_\-) -\item -\#define \hyperlink{interface_8h_a12243bdd01e5366fecc15f395f09221a}{METHOD\_\-GET}(iface, method)~(iface-\/$>$method) -\end{DoxyCompactItemize} -\subsection*{Typedefs} -\begin{DoxyCompactItemize} -\item -typedef struct \hyperlink{structinterface}{interface} $\ast$ \hyperlink{interface_8h_afaa63cd951f41a496111e88acf36dc40}{iface\_\-ptr} -\item -typedef struct \hyperlink{structiface__impl}{iface\_\-impl} $\ast$ \hyperlink{interface_8h_a998b025a5015049fd824424d6983f2df}{iface\_\-impl\_\-ptr} -\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structinterface}{interface} $\ast$ \hyperlink{interface_8h_ae4bb16dde691d2513d444ce772f48718}{interfaceGet} (\hyperlink{structiface__impl}{iface\_\-impl\_\-ptr}, const \hyperlink{structinterface}{iface\_\-ptr}) -\end{DoxyCompactItemize} - - -\subsection{Define Documentation} -\hypertarget{interface_8h_a855b98f3119c2d64e7dd4c2c910bd5b5}{ -\index{interface.h@{interface.h}!CREATE\_\-IMPL@{CREATE\_\-IMPL}} -\index{CREATE\_\-IMPL@{CREATE\_\-IMPL}!interface.h@{interface.h}} -\subsubsection[{CREATE\_\-IMPL}]{\setlength{\rightskip}{0pt plus 5cm}\#define CREATE\_\-IMPL( -\begin{DoxyParamCaption} -\item[{}]{...} -\end{DoxyParamCaption} -)~static struct {\bf iface\_\-impl} {\bf iface\_\-impl} = INIT\_\-IMPL(\_\-\_\-VA\_\-ARGS\_\-\_\-)}} -\label{interface_8h_a855b98f3119c2d64e7dd4c2c910bd5b5} - - -Definition at line 16 of file interface.h. - -\hypertarget{interface_8h_a02255665665c91d905ec32d00d9a4a85}{ -\index{interface.h@{interface.h}!IFACE@{IFACE}} -\index{IFACE@{IFACE}!interface.h@{interface.h}} -\subsubsection[{IFACE}]{\setlength{\rightskip}{0pt plus 5cm}\#define IFACE( -\begin{DoxyParamCaption} -\item[{}]{name} -\end{DoxyParamCaption} -)~((const struct i\_\-\#\#name const$\ast$)\&i\_\-\#\#name\#\#\_\-impl)}} -\label{interface_8h_a02255665665c91d905ec32d00d9a4a85} - - -Definition at line 8 of file interface.h. - -\hypertarget{interface_8h_a446cc7d7282f8a0b8e62a371671ea605}{ -\index{interface.h@{interface.h}!INIT\_\-IFACE@{INIT\_\-IFACE}} -\index{INIT\_\-IFACE@{INIT\_\-IFACE}!interface.h@{interface.h}} -\subsubsection[{INIT\_\-IFACE}]{\setlength{\rightskip}{0pt plus 5cm}\#define INIT\_\-IFACE( -\begin{DoxyParamCaption} -\item[{}]{name, } -\item[{}]{...} -\end{DoxyParamCaption} -)~static const struct i\_\-\#\#name i\_\-\#\#name\#\#\_\-impl = \{\&i\_\-\#\#name,\_\-\_\-VA\_\-ARGS\_\-\_\-\}}} -\label{interface_8h_a446cc7d7282f8a0b8e62a371671ea605} - - -Definition at line 10 of file interface.h. - -\hypertarget{interface_8h_a6e8015282e5aac5747daff5bb71d8601}{ -\index{interface.h@{interface.h}!INIT\_\-IMPL@{INIT\_\-IMPL}} -\index{INIT\_\-IMPL@{INIT\_\-IMPL}!interface.h@{interface.h}} -\subsubsection[{INIT\_\-IMPL}]{\setlength{\rightskip}{0pt plus 5cm}\#define INIT\_\-IMPL( -\begin{DoxyParamCaption} -\item[{}]{...} -\end{DoxyParamCaption} -)~\{NUMARGS(\_\-\_\-VA\_\-ARGS\_\-\_\-), 0, \{\_\-\_\-VA\_\-ARGS\_\-\_\-\}\}}} -\label{interface_8h_a6e8015282e5aac5747daff5bb71d8601} - - -Definition at line 15 of file interface.h. - -\hypertarget{interface_8h_ad620a89e939b586d6a025cf342da8e55}{ -\index{interface.h@{interface.h}!MAX\_\-IFACE@{MAX\_\-IFACE}} -\index{MAX\_\-IFACE@{MAX\_\-IFACE}!interface.h@{interface.h}} -\subsubsection[{MAX\_\-IFACE}]{\setlength{\rightskip}{0pt plus 5cm}\#define MAX\_\-IFACE~32}} -\label{interface_8h_ad620a89e939b586d6a025cf342da8e55} - - -Definition at line 6 of file interface.h. - -\hypertarget{interface_8h_a12243bdd01e5366fecc15f395f09221a}{ -\index{interface.h@{interface.h}!METHOD\_\-GET@{METHOD\_\-GET}} -\index{METHOD\_\-GET@{METHOD\_\-GET}!interface.h@{interface.h}} -\subsubsection[{METHOD\_\-GET}]{\setlength{\rightskip}{0pt plus 5cm}\#define METHOD\_\-GET( -\begin{DoxyParamCaption} -\item[{}]{iface, } -\item[{}]{method} -\end{DoxyParamCaption} -)~(iface-\/$>$method)}} -\label{interface_8h_a12243bdd01e5366fecc15f395f09221a} - - -Definition at line 19 of file interface.h. - -\hypertarget{interface_8h_a9dda4d034150e3159927f83d9d15d840}{ -\index{interface.h@{interface.h}!NUMARGS@{NUMARGS}} -\index{NUMARGS@{NUMARGS}!interface.h@{interface.h}} -\subsubsection[{NUMARGS}]{\setlength{\rightskip}{0pt plus 5cm}\#define NUMARGS( -\begin{DoxyParamCaption} -\item[{}]{...} -\end{DoxyParamCaption} -)~(sizeof((const void$\ast$\mbox{[}$\,$\mbox{]})\{\_\-\_\-VA\_\-ARGS\_\-\_\-\})/sizeof(void$\ast$))}} -\label{interface_8h_a9dda4d034150e3159927f83d9d15d840} - - -Definition at line 13 of file interface.h. - - - -\subsection{Typedef Documentation} -\hypertarget{interface_8h_a998b025a5015049fd824424d6983f2df}{ -\index{interface.h@{interface.h}!iface\_\-impl\_\-ptr@{iface\_\-impl\_\-ptr}} -\index{iface\_\-impl\_\-ptr@{iface\_\-impl\_\-ptr}!interface.h@{interface.h}} -\subsubsection[{iface\_\-impl\_\-ptr}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf iface\_\-impl}$\ast$ {\bf iface\_\-impl\_\-ptr}}} -\label{interface_8h_a998b025a5015049fd824424d6983f2df} - - -Definition at line 33 of file interface.h. - -\hypertarget{interface_8h_afaa63cd951f41a496111e88acf36dc40}{ -\index{interface.h@{interface.h}!iface\_\-ptr@{iface\_\-ptr}} -\index{iface\_\-ptr@{iface\_\-ptr}!interface.h@{interface.h}} -\subsubsection[{iface\_\-ptr}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf interface}$\ast$ {\bf iface\_\-ptr}}} -\label{interface_8h_afaa63cd951f41a496111e88acf36dc40} - - -Definition at line 26 of file interface.h. - - - -\subsection{Function Documentation} -\hypertarget{interface_8h_ae4bb16dde691d2513d444ce772f48718}{ -\index{interface.h@{interface.h}!interfaceGet@{interfaceGet}} -\index{interfaceGet@{interfaceGet}!interface.h@{interface.h}} -\subsubsection[{interfaceGet}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf interface}$\ast$ interfaceGet ( -\begin{DoxyParamCaption} -\item[{{\bf iface\_\-impl\_\-ptr}}]{iface\_\-impl, } -\item[{const {\bf iface\_\-ptr}}]{\_\-iface} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily \mbox{[}read\mbox{]}}}} -\label{interface_8h_ae4bb16dde691d2513d444ce772f48718} -this one is important in selector functions to get the correct interface implementation of a class. - -Definition at line 25 of file interface.c. - - -\begin{DoxyCode} -{ - const iface_ptr * iface = &_iface; - void * dummy; - - if (! iface_impl->simpl) { - qsort((void**)(iface_impl->impl), iface_impl->nimpl, sizeof(iface_ptr), c - omp); - iface_impl->simpl=TRUE; - } - - dummy = bsearch( - &iface, - iface_impl->impl, - iface_impl->nimpl, - sizeof(iface_ptr), - comp); - - return dummy? *(struct interface **)dummy : dummy; -} -\end{DoxyCode} diff --git a/docs/latex/interface_8h__dep__incl.dot b/docs/latex/interface_8h__dep__incl.dot deleted file mode 100644 index 9290352..0000000 --- a/docs/latex/interface_8h__dep__incl.dot +++ /dev/null @@ -1,18 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/interface.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="include/class.h",height=0.2,width=0.4,color="black",URL="$class_8h.html"]; - Node2 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="include/logger.h",height=0.2,width=0.4,color="black",URL="$logger_8h.html"]; - Node3 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="include/socket.h",height=0.2,width=0.4,color="black",URL="$socket_8h.html"]; - Node4 -> Node5 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="include/server.h",height=0.2,width=0.4,color="black",URL="$server_8h.html"]; - Node3 -> Node5 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 -> Node5 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid"]; -} diff --git a/docs/latex/interface_8h__dep__incl.md5 b/docs/latex/interface_8h__dep__incl.md5 deleted file mode 100644 index 835d87e..0000000 --- a/docs/latex/interface_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -48514c60a17f6133e5522a18f6291a6a \ No newline at end of file diff --git a/docs/latex/interface_8h__incl.dot b/docs/latex/interface_8h__incl.dot deleted file mode 100644 index c5a8345..0000000 --- a/docs/latex/interface_8h__incl.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/interface.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/interface_8h__incl.md5 b/docs/latex/interface_8h__incl.md5 deleted file mode 100644 index cca5a90..0000000 --- a/docs/latex/interface_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -e9dd42938c2ede4b7449aa7db0132d54 \ No newline at end of file diff --git a/docs/latex/listen_8c.tex b/docs/latex/listen_8c.tex deleted file mode 100644 index 5aea047..0000000 --- a/docs/latex/listen_8c.tex +++ /dev/null @@ -1,64 +0,0 @@ -\hypertarget{listen_8c}{ -\section{src/socket/listen.c File Reference} -\label{listen_8c}\index{src/socket/listen.c@{src/socket/listen.c}} -} -{\ttfamily \#include $<$stdlib.h$>$}\par -{\ttfamily \#include $<$errno.h$>$}\par -{\ttfamily \#include \char`\"{}socket.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/logger.h\char`\"{}}\par -Include dependency graph for listen.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void \hyperlink{listen_8c_a757c220e9371523ef55b1137a1efed57}{socketListen} (\hyperlink{structSock}{Sock} this, int backlog) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{listen_8c_a757c220e9371523ef55b1137a1efed57}{ -\index{listen.c@{listen.c}!socketListen@{socketListen}} -\index{socketListen@{socketListen}!listen.c@{listen.c}} -\subsubsection[{socketListen}]{\setlength{\rightskip}{0pt plus 5cm}void socketListen ( -\begin{DoxyParamCaption} -\item[{{\bf Sock}}]{this, } -\item[{int}]{backlog} -\end{DoxyParamCaption} -)}} -\label{listen_8c_a757c220e9371523ef55b1137a1efed57} - - -Definition at line 10 of file listen.c. - - -\begin{DoxyCode} -{ - (this->addr).sin_family = AF_INET; /* Internet address family - */ - (this->addr).sin_addr.s_addr = htonl(INADDR_ANY); /* Any incoming interface * - / - (this->addr).sin_port = htons(this->port); /* Local port */ - - /* Bind to the local address */ - if (-1 == bind(this->handle, (struct sockaddr *) &(this->addr), sizeof(this-> - addr))) { - loggerLog(this->log, LOGGER_CRIT, - "error binding socket: %s - service terminated", - strerror(errno)); - exit(EXIT_FAILURE); - } - - /* Mark the socket so it will listen for incoming connections */ - if (-1 == listen(this->handle, backlog)) { - loggerLog(this->log, LOGGER_CRIT, - "error binding socket: %s - service terminated", - strerror(errno)); - exit(EXIT_FAILURE); - } -} -\end{DoxyCode} - - -Here is the call graph for this function: - - diff --git a/docs/latex/listen_8c__incl.dot b/docs/latex/listen_8c__incl.dot deleted file mode 100644 index 418b9a6..0000000 --- a/docs/latex/listen_8c__incl.dot +++ /dev/null @@ -1,17 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/socket/listen.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="errno.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="socket.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="interface/logger.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/listen_8c__incl.md5 b/docs/latex/listen_8c__incl.md5 deleted file mode 100644 index 30400f8..0000000 --- a/docs/latex/listen_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -5ca6e39d43d7d8ae2d18033afbef3889 \ No newline at end of file diff --git a/docs/latex/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.dot b/docs/latex/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.dot deleted file mode 100644 index 457e774..0000000 --- a/docs/latex/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="socketListen",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="loggerLog",height=0.2,width=0.4,color="black",URL="$interface_2logger_8h.html#ae9f8662ec8b300dcfb5064906937553e"]; -} diff --git a/docs/latex/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.md5 b/docs/latex/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.md5 deleted file mode 100644 index 8d1cc7c..0000000 --- a/docs/latex/listen_8c_a757c220e9371523ef55b1137a1efed57_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -9119991752c8de97a1c44af5d17e244c \ No newline at end of file diff --git a/docs/latex/logger_8c.tex b/docs/latex/logger_8c.tex deleted file mode 100644 index b3b6c31..0000000 --- a/docs/latex/logger_8c.tex +++ /dev/null @@ -1,72 +0,0 @@ -\hypertarget{logger_8c}{ -\section{src/logger.c File Reference} -\label{logger_8c}\index{src/logger.c@{src/logger.c}} -} -{\ttfamily \#include $<$stdarg.h$>$}\par -{\ttfamily \#include \char`\"{}logger.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/logger.h\char`\"{}}\par -Include dependency graph for logger.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{logger_8c_a4dd368b7bead6fa0805e91405d90f786}{INIT\_\-IFACE} (Class, ctor, dtor, NULL) -\item -\hyperlink{logger_8c_a010ac92393088a64e3dbe6cd301e6cd0}{CREATE\_\-CLASS} (\hyperlink{structLogger}{Logger}, NULL, IFACE(Class)) -\end{DoxyCompactItemize} -\subsection*{Variables} -\begin{DoxyCompactItemize} -\item -const char $\ast$const \hyperlink{logger_8c_a6f4ba515aab77f23138ce05b414ee616}{logger\_\-level\_\-str} \mbox{[}$\,$\mbox{]} -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{logger_8c_a010ac92393088a64e3dbe6cd301e6cd0}{ -\index{logger.c@{logger.c}!CREATE\_\-CLASS@{CREATE\_\-CLASS}} -\index{CREATE\_\-CLASS@{CREATE\_\-CLASS}!logger.c@{logger.c}} -\subsubsection[{CREATE\_\-CLASS}]{\setlength{\rightskip}{0pt plus 5cm}CREATE\_\-CLASS ( -\begin{DoxyParamCaption} -\item[{{\bf Logger}}]{, } -\item[{NULL}]{, } -\item[{IFACE(Class)}]{} -\end{DoxyParamCaption} -)}} -\label{logger_8c_a010ac92393088a64e3dbe6cd301e6cd0} -\hypertarget{logger_8c_a4dd368b7bead6fa0805e91405d90f786}{ -\index{logger.c@{logger.c}!INIT\_\-IFACE@{INIT\_\-IFACE}} -\index{INIT\_\-IFACE@{INIT\_\-IFACE}!logger.c@{logger.c}} -\subsubsection[{INIT\_\-IFACE}]{\setlength{\rightskip}{0pt plus 5cm}INIT\_\-IFACE ( -\begin{DoxyParamCaption} -\item[{Class}]{, } -\item[{ctor}]{, } -\item[{dtor}]{, } -\item[{NULL}]{} -\end{DoxyParamCaption} -)}} -\label{logger_8c_a4dd368b7bead6fa0805e91405d90f786} - - -\subsection{Variable Documentation} -\hypertarget{logger_8c_a6f4ba515aab77f23138ce05b414ee616}{ -\index{logger.c@{logger.c}!logger\_\-level\_\-str@{logger\_\-level\_\-str}} -\index{logger\_\-level\_\-str@{logger\_\-level\_\-str}!logger.c@{logger.c}} -\subsubsection[{logger\_\-level\_\-str}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ const {\bf logger\_\-level\_\-str}\mbox{[}$\,$\mbox{]}}} -\label{logger_8c_a6f4ba515aab77f23138ce05b414ee616} -{\bfseries Initial value:} -\begin{DoxyCode} - { - "DEBUG", - "INFO", - "NOTICE", - "WARNING", - "ERR", - "CRIT", - "ALERT", - "EMERG" -} -\end{DoxyCode} - - -Definition at line 9 of file logger.c. - diff --git a/docs/latex/logger_8c__incl.dot b/docs/latex/logger_8c__incl.dot deleted file mode 100644 index 00ce7b9..0000000 --- a/docs/latex/logger_8c__incl.dot +++ /dev/null @@ -1,15 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/logger.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdarg.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="logger.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="interface/logger.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/logger_8c__incl.md5 b/docs/latex/logger_8c__incl.md5 deleted file mode 100644 index af0ff64..0000000 --- a/docs/latex/logger_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -d9b74b2f9dad9b5bcc091215c1c9f478 \ No newline at end of file diff --git a/docs/latex/logger_8h.tex b/docs/latex/logger_8h.tex deleted file mode 100644 index 2e93147..0000000 --- a/docs/latex/logger_8h.tex +++ /dev/null @@ -1,124 +0,0 @@ -\hypertarget{logger_8h}{ -\section{include/logger.h File Reference} -\label{logger_8h}\index{include/logger.h@{include/logger.h}} -} -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -Include dependency graph for logger.h: -This graph shows which files directly or indirectly include this file: -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structLogger}{Logger} -\item -struct \hyperlink{structLoggerStderr}{LoggerStderr} -\item -struct \hyperlink{structLoggerSyslog}{LoggerSyslog} -\end{DoxyCompactItemize} -\subsection*{Typedefs} -\begin{DoxyCompactItemize} -\item -typedef enum \hyperlink{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1e}{logger\_\-level} \hyperlink{logger_8h_a5c4c4dba00ce08b2a3d0a6c7ab8daf92}{logger\_\-level} -\end{DoxyCompactItemize} -\subsection*{Enumerations} -\begin{DoxyCompactItemize} -\item -enum \hyperlink{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1e}{logger\_\-level} \{ \par -\hyperlink{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1ea30eb5eac34e7c2406c74fb78d9004f6c}{LOGGER\_\-DEBUG} = 0, -\hyperlink{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1ea3a56c2c000665930df74a9ebf9047316}{LOGGER\_\-INFO}, -\hyperlink{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1ea8cc2b7c645b647fecb44f2e5a5aa7fa8}{LOGGER\_\-NOTICE}, -\hyperlink{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1ea236a2401a6ed3e96611f3a14352082ad}{LOGGER\_\-WARNING}, -\par -\hyperlink{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1eadea66ab9219dfd6addc90edf08ed96fb}{LOGGER\_\-ERR}, -\hyperlink{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1eaa7d55c7b377d82da77e532aa299eeeb0}{LOGGER\_\-CRIT}, -\hyperlink{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1ea55e6111bbd01c0bee4a7ca7373f31bc8}{LOGGER\_\-ALERT}, -\hyperlink{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1eabbdf8b92875d1e13023c293b21a467ec}{LOGGER\_\-EMERG} - \} -\end{DoxyCompactItemize} -\subsection*{Variables} -\begin{DoxyCompactItemize} -\item -const char $\ast$const \hyperlink{logger_8h_a6f4ba515aab77f23138ce05b414ee616}{logger\_\-level\_\-str} \mbox{[}$\,$\mbox{]} -\end{DoxyCompactItemize} - - -\subsection{Typedef Documentation} -\hypertarget{logger_8h_a5c4c4dba00ce08b2a3d0a6c7ab8daf92}{ -\index{logger.h@{logger.h}!logger\_\-level@{logger\_\-level}} -\index{logger\_\-level@{logger\_\-level}!logger.h@{logger.h}} -\subsubsection[{logger\_\-level}]{\setlength{\rightskip}{0pt plus 5cm}typedef enum {\bf logger\_\-level} {\bf logger\_\-level}}} -\label{logger_8h_a5c4c4dba00ce08b2a3d0a6c7ab8daf92} - - -\subsection{Enumeration Type Documentation} -\hypertarget{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1e}{ -\index{logger.h@{logger.h}!logger\_\-level@{logger\_\-level}} -\index{logger\_\-level@{logger\_\-level}!logger.h@{logger.h}} -\subsubsection[{logger\_\-level}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf logger\_\-level}}} -\label{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1e} -\begin{Desc} -\item[Enumerator: ]\par -\begin{description} -\index{LOGGER\_\-DEBUG@{LOGGER\_\-DEBUG}!logger.h@{logger.h}}\index{logger.h@{logger.h}!LOGGER\_\-DEBUG@{LOGGER\_\-DEBUG}}\item[{\em -\hypertarget{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1ea30eb5eac34e7c2406c74fb78d9004f6c}{ -LOGGER\_\-DEBUG} -\label{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1ea30eb5eac34e7c2406c74fb78d9004f6c} -}]\index{LOGGER\_\-INFO@{LOGGER\_\-INFO}!logger.h@{logger.h}}\index{logger.h@{logger.h}!LOGGER\_\-INFO@{LOGGER\_\-INFO}}\item[{\em -\hypertarget{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1ea3a56c2c000665930df74a9ebf9047316}{ -LOGGER\_\-INFO} -\label{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1ea3a56c2c000665930df74a9ebf9047316} -}]\index{LOGGER\_\-NOTICE@{LOGGER\_\-NOTICE}!logger.h@{logger.h}}\index{logger.h@{logger.h}!LOGGER\_\-NOTICE@{LOGGER\_\-NOTICE}}\item[{\em -\hypertarget{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1ea8cc2b7c645b647fecb44f2e5a5aa7fa8}{ -LOGGER\_\-NOTICE} -\label{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1ea8cc2b7c645b647fecb44f2e5a5aa7fa8} -}]\index{LOGGER\_\-WARNING@{LOGGER\_\-WARNING}!logger.h@{logger.h}}\index{logger.h@{logger.h}!LOGGER\_\-WARNING@{LOGGER\_\-WARNING}}\item[{\em -\hypertarget{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1ea236a2401a6ed3e96611f3a14352082ad}{ -LOGGER\_\-WARNING} -\label{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1ea236a2401a6ed3e96611f3a14352082ad} -}]\index{LOGGER\_\-ERR@{LOGGER\_\-ERR}!logger.h@{logger.h}}\index{logger.h@{logger.h}!LOGGER\_\-ERR@{LOGGER\_\-ERR}}\item[{\em -\hypertarget{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1eadea66ab9219dfd6addc90edf08ed96fb}{ -LOGGER\_\-ERR} -\label{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1eadea66ab9219dfd6addc90edf08ed96fb} -}]\index{LOGGER\_\-CRIT@{LOGGER\_\-CRIT}!logger.h@{logger.h}}\index{logger.h@{logger.h}!LOGGER\_\-CRIT@{LOGGER\_\-CRIT}}\item[{\em -\hypertarget{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1eaa7d55c7b377d82da77e532aa299eeeb0}{ -LOGGER\_\-CRIT} -\label{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1eaa7d55c7b377d82da77e532aa299eeeb0} -}]\index{LOGGER\_\-ALERT@{LOGGER\_\-ALERT}!logger.h@{logger.h}}\index{logger.h@{logger.h}!LOGGER\_\-ALERT@{LOGGER\_\-ALERT}}\item[{\em -\hypertarget{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1ea55e6111bbd01c0bee4a7ca7373f31bc8}{ -LOGGER\_\-ALERT} -\label{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1ea55e6111bbd01c0bee4a7ca7373f31bc8} -}]\index{LOGGER\_\-EMERG@{LOGGER\_\-EMERG}!logger.h@{logger.h}}\index{logger.h@{logger.h}!LOGGER\_\-EMERG@{LOGGER\_\-EMERG}}\item[{\em -\hypertarget{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1eabbdf8b92875d1e13023c293b21a467ec}{ -LOGGER\_\-EMERG} -\label{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1eabbdf8b92875d1e13023c293b21a467ec} -}]\end{description} -\end{Desc} - - - -Definition at line 6 of file logger.h. - - -\begin{DoxyCode} - { - LOGGER_DEBUG=0, - LOGGER_INFO, - LOGGER_NOTICE, - LOGGER_WARNING, - LOGGER_ERR, - LOGGER_CRIT, - LOGGER_ALERT, - LOGGER_EMERG -} logger_level; -\end{DoxyCode} - - -\subsection{Variable Documentation} -\hypertarget{logger_8h_a6f4ba515aab77f23138ce05b414ee616}{ -\index{logger.h@{logger.h}!logger\_\-level\_\-str@{logger\_\-level\_\-str}} -\index{logger\_\-level\_\-str@{logger\_\-level\_\-str}!logger.h@{logger.h}} -\subsubsection[{logger\_\-level\_\-str}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ const {\bf logger\_\-level\_\-str}\mbox{[}$\,$\mbox{]}}} -\label{logger_8h_a6f4ba515aab77f23138ce05b414ee616} - - -Definition at line 9 of file logger.c. - diff --git a/docs/latex/logger_8h__dep__incl.dot b/docs/latex/logger_8h__dep__incl.dot deleted file mode 100644 index 04212bd..0000000 --- a/docs/latex/logger_8h__dep__incl.dot +++ /dev/null @@ -1,12 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/logger.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="include/socket.h",height=0.2,width=0.4,color="black",URL="$socket_8h.html"]; - Node2 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="include/server.h",height=0.2,width=0.4,color="black",URL="$server_8h.html"]; - Node1 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid"]; -} diff --git a/docs/latex/logger_8h__dep__incl.md5 b/docs/latex/logger_8h__dep__incl.md5 deleted file mode 100644 index 380e5f7..0000000 --- a/docs/latex/logger_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -f7a2abed7130c6ae3bf9dfc84d27450f \ No newline at end of file diff --git a/docs/latex/logger_8h__incl.dot b/docs/latex/logger_8h__incl.dot deleted file mode 100644 index 35bfcb0..0000000 --- a/docs/latex/logger_8h__incl.dot +++ /dev/null @@ -1,20 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/logger.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="class.h",height=0.2,width=0.4,color="black",URL="$class_8h.html"]; - Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="stdarg.h",height=0.2,width=0.4,color="grey75"]; - Node2 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; - Node2 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="string.h",height=0.2,width=0.4,color="grey75"]; - Node2 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="assert.h",height=0.2,width=0.4,color="grey75"]; - Node2 -> Node7 [color="midnightblue",fontsize="10",style="solid"]; - Node7 [label="interface.h",height=0.2,width=0.4,color="black",URL="$interface_8h.html"]; - Node7 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; -} diff --git a/docs/latex/logger_8h__incl.md5 b/docs/latex/logger_8h__incl.md5 deleted file mode 100644 index 9f28c2b..0000000 --- a/docs/latex/logger_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -153ef79425ada7406c77fd58d85d501f \ No newline at end of file diff --git a/docs/latex/parse_8c.tex b/docs/latex/parse_8c.tex deleted file mode 100644 index d731c7f..0000000 --- a/docs/latex/parse_8c.tex +++ /dev/null @@ -1,222 +0,0 @@ -\hypertarget{parse_8c}{ -\section{src/http/request/parser/parse.c File Reference} -\label{parse_8c}\index{src/http/request/parser/parse.c@{src/http/request/parser/parse.c}} -} -{\ttfamily \#include $<$stdlib.h$>$}\par -{\ttfamily \#include $<$string.h$>$}\par -{\ttfamily \#include $<$unistd.h$>$}\par -{\ttfamily \#include $<$ctype.h$>$}\par -{\ttfamily \#include \char`\"{}http/request\_\-parser.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -Include dependency graph for parse.c: -\subsection*{Defines} -\begin{DoxyCompactItemize} -\item -\#define \hyperlink{parse_8c_a3d501f4eabec1eb9a20aed0a116b69a3}{REMAINS}(pars, done)~((pars)-\/$>$buffer\_\-used -\/ ((done) -\/ (pars)-\/$>$buffer)) -\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void \hyperlink{parse_8c_a187bf52da83090068bafea54589f6f69}{httpRequestParserGetRequestLine} (\hyperlink{structHttpRequest}{HttpRequest}, char $\ast$) -\item -void \hyperlink{parse_8c_a9bb74bc564fe961a7ab5459ef5806de6}{httpRequestParserParse} (\hyperlink{structHttpRequestParser}{HttpRequestParser} this) -\end{DoxyCompactItemize} - - -\subsection{Define Documentation} -\hypertarget{parse_8c_a3d501f4eabec1eb9a20aed0a116b69a3}{ -\index{parse.c@{parse.c}!REMAINS@{REMAINS}} -\index{REMAINS@{REMAINS}!parse.c@{parse.c}} -\subsubsection[{REMAINS}]{\setlength{\rightskip}{0pt plus 5cm}\#define REMAINS( -\begin{DoxyParamCaption} -\item[{}]{pars, } -\item[{}]{done} -\end{DoxyParamCaption} -)~((pars)-\/$>$buffer\_\-used -\/ ((done) -\/ (pars)-\/$>$buffer))}} -\label{parse_8c_a3d501f4eabec1eb9a20aed0a116b69a3} - - -Definition at line 10 of file parse.c. - - - -\subsection{Function Documentation} -\hypertarget{parse_8c_a187bf52da83090068bafea54589f6f69}{ -\index{parse.c@{parse.c}!httpRequestParserGetRequestLine@{httpRequestParserGetRequestLine}} -\index{httpRequestParserGetRequestLine@{httpRequestParserGetRequestLine}!parse.c@{parse.c}} -\subsubsection[{httpRequestParserGetRequestLine}]{\setlength{\rightskip}{0pt plus 5cm}void httpRequestParserGetRequestLine ( -\begin{DoxyParamCaption} -\item[{{\bf HttpRequest}}]{, } -\item[{char $\ast$}]{} -\end{DoxyParamCaption} -)}} -\label{parse_8c_a187bf52da83090068bafea54589f6f69} - - -Definition at line 7 of file get\_\-request\_\-line.c. - - -\begin{DoxyCode} -{ - char * method, * uri, * version; - - method = line; - - uri = strchr(line, ' '); - *uri++ = 0; - for (; *uri == ' ' && *uri != 0; uri++); - - version = strchr(uri, ' '); - *version++ = 0; - for (; *version == ' ' && *version != 0; version++); - - request->method = malloc(strlen(method) + 1); - strcpy(request->method, method); - request->uri = malloc(strlen(uri) + 1); - strcpy(request->uri, uri); - request->version = malloc(strlen(version) + 1); - strcpy(request->version, method); -} -\end{DoxyCode} - - -Here is the caller graph for this function: - - -\hypertarget{parse_8c_a9bb74bc564fe961a7ab5459ef5806de6}{ -\index{parse.c@{parse.c}!httpRequestParserParse@{httpRequestParserParse}} -\index{httpRequestParserParse@{httpRequestParserParse}!parse.c@{parse.c}} -\subsubsection[{httpRequestParserParse}]{\setlength{\rightskip}{0pt plus 5cm}void httpRequestParserParse ( -\begin{DoxyParamCaption} -\item[{{\bf HttpRequestParser}}]{this} -\end{DoxyParamCaption} -)}} -\label{parse_8c_a9bb74bc564fe961a7ab5459ef5806de6} - - -enqueue current request - -remove processed stuff from input buffer. - -dont continue loop if input buffer is empty - -prepare for next request - - - -Definition at line 43 of file parse.c. - - -\begin{DoxyCode} -{ - static HttpRequest request = NULL; - static char * data; // static pointer to unprocessed data - char * line; - int cont = 1; - - while(cont) { - switch(this->state) { - case HTTP_REQUEST_GARBAGE: - data = this->buffer; // initialize static pointer - - httpRequestSkip(&data); - request = new(HttpRequest); - - this->state = HTTP_REQUEST_START; - break; - - case HTTP_REQUEST_START: - if (NULL == (line = httpRequestParserGetLine(&dat - a))) { - cont = 0; - break; - } - - httpRequestParserGetRequestLine(request, line); - - this->state = HTTP_REQUEST_REQUEST_LINE_DONE; - break; - - case HTTP_REQUEST_REQUEST_LINE_DONE: - if (NULL == (line = httpRequestParserGetLine(&dat - a))) { - cont = 0; - break; - } - - if (0 == strlen(line)) { - this->state = HTTP_REQUEST_HEADERS_DONE; - break; - } - - httpRequestParserGetHeader(request, line); - break; - - case HTTP_REQUEST_HEADERS_DONE: - httpHeaderSort(request->header, request->nheader) - ; - - { - char * nbody; - - if (0 == request->nbody) { - nbody = httpHeaderGet( - request->header, - request->nheader, - - "Content-Length") - ; - - if (NULL == nbody) { - this->state = - HTTP_REQUEST_DONE; - break; - } - else { - request->nbody = atoi(nbo - dy); - } - } - - if (REMAINS(this, data) >= request-> - nbody) { - request->body = calloc(1, request - ->nbody + 1); - memcpy(request->body, data, reque - st->nbody); - data += request->nbody; - this->state = HTTP_REQUEST_DONE; - } - } - - break; - - case HTTP_REQUEST_DONE: - this->request_queue->requests[(this->request_queu - e->nrequests)++] = - request; - - memmove(this->buffer, data, REMAINS(this, data)); - - - this->buffer_used -= data - this->buffer; - - if (0 == this->buffer_used) { - cont = 0; - } - - this->state = HTTP_REQUEST_GARBAGE; - - break; - - default: - break; - } - } -} -\end{DoxyCode} - - -Here is the call graph for this function: - - diff --git a/docs/latex/parse_8c__incl.dot b/docs/latex/parse_8c__incl.dot deleted file mode 100644 index 51aa57b..0000000 --- a/docs/latex/parse_8c__incl.dot +++ /dev/null @@ -1,19 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/http/request/parser/parse.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="string.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="unistd.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="ctype.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="http/request_parser.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid"]; - Node7 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/parse_8c__incl.md5 b/docs/latex/parse_8c__incl.md5 deleted file mode 100644 index 39b49b7..0000000 --- a/docs/latex/parse_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -4fe243eae25c57683a537927f9df9ebd \ No newline at end of file diff --git a/docs/latex/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.dot b/docs/latex/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.dot deleted file mode 100644 index 89361ad..0000000 --- a/docs/latex/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="httpRequestParserGetRequestLine",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="httpRequestParserParse",height=0.2,width=0.4,color="black",URL="$parser_8c.html#a659e7ea125685d797a099638b3376320"]; -} diff --git a/docs/latex/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.md5 b/docs/latex/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.md5 deleted file mode 100644 index 60c9d9d..0000000 --- a/docs/latex/parse_8c_a187bf52da83090068bafea54589f6f69_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -32af75e9bb6a368f76224dfe5df3d13f \ No newline at end of file diff --git a/docs/latex/parse_8c_a9bb74bc564fe961a7ab5459ef5806de6_cgraph.dot b/docs/latex/parse_8c_a9bb74bc564fe961a7ab5459ef5806de6_cgraph.dot deleted file mode 100644 index 469b42b..0000000 --- a/docs/latex/parse_8c_a9bb74bc564fe961a7ab5459ef5806de6_cgraph.dot +++ /dev/null @@ -1,16 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="httpRequestParserParse",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="httpHeaderGet",height=0.2,width=0.4,color="black",URL="$header_8h.html#a002a617a3523cbc79ba8ef6f76d98465"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="httpHeaderSort",height=0.2,width=0.4,color="black",URL="$header_8h.html#a43ccec0413f9f2e394bb3af5ff628b56"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="httpRequestParserGetHeader",height=0.2,width=0.4,color="black",URL="$get__header_8c.html#a53acbf83d2753cafdc4880dfc4f4222c"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="httpRequestParserGetRequestLine",height=0.2,width=0.4,color="black",URL="$get__request__line_8c.html#a47a4a36f54b295507a2599488a4a6077"]; -} diff --git a/docs/latex/parse_8c_a9bb74bc564fe961a7ab5459ef5806de6_cgraph.md5 b/docs/latex/parse_8c_a9bb74bc564fe961a7ab5459ef5806de6_cgraph.md5 deleted file mode 100644 index 2b7fecf..0000000 --- a/docs/latex/parse_8c_a9bb74bc564fe961a7ab5459ef5806de6_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -d1955a4780018691334460a35fd50964 \ No newline at end of file diff --git a/docs/latex/parser_8c.tex b/docs/latex/parser_8c.tex deleted file mode 100644 index 7a765ea..0000000 --- a/docs/latex/parser_8c.tex +++ /dev/null @@ -1,199 +0,0 @@ -\hypertarget{parser_8c}{ -\section{src/http/request/parser.c File Reference} -\label{parser_8c}\index{src/http/request/parser.c@{src/http/request/parser.c}} -} -{\ttfamily \#include $<$string.h$>$}\par -{\ttfamily \#include $<$stdlib.h$>$}\par -{\ttfamily \#include $<$sys/types.h$>$}\par -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/request\_\-parser.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/stream\_\-reader.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/request.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/request\_\-queue.h\char`\"{}}\par -Include dependency graph for parser.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void \hyperlink{parser_8c_a659e7ea125685d797a099638b3376320}{httpRequestParserParse} (\hyperlink{structHttpRequestParser}{HttpRequestParser}) -\item -\hyperlink{parser_8c_a0508cf41efb8d26b8c43116711820d71}{INIT\_\-IFACE} (Class, ctor, dtor, \_\-clone) -\item -\hyperlink{parser_8c_a70f4eea7746a809dd8da71e9cbf4842a}{INIT\_\-IFACE} (StreamReader, get\_\-data) -\item -\hyperlink{parser_8c_a70093dfed29b221273e59f63936237b5}{CREATE\_\-CLASS} (\hyperlink{structHttpRequestParser}{HttpRequestParser}, NULL, IFACE(Class), IFACE(StreamReader)) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{parser_8c_a70093dfed29b221273e59f63936237b5}{ -\index{parser.c@{parser.c}!CREATE\_\-CLASS@{CREATE\_\-CLASS}} -\index{CREATE\_\-CLASS@{CREATE\_\-CLASS}!parser.c@{parser.c}} -\subsubsection[{CREATE\_\-CLASS}]{\setlength{\rightskip}{0pt plus 5cm}CREATE\_\-CLASS ( -\begin{DoxyParamCaption} -\item[{{\bf HttpRequestParser}}]{, } -\item[{NULL}]{, } -\item[{IFACE(Class)}]{, } -\item[{IFACE(StreamReader)}]{} -\end{DoxyParamCaption} -)}} -\label{parser_8c_a70093dfed29b221273e59f63936237b5} -\hypertarget{parser_8c_a659e7ea125685d797a099638b3376320}{ -\index{parser.c@{parser.c}!httpRequestParserParse@{httpRequestParserParse}} -\index{httpRequestParserParse@{httpRequestParserParse}!parser.c@{parser.c}} -\subsubsection[{httpRequestParserParse}]{\setlength{\rightskip}{0pt plus 5cm}void httpRequestParserParse ( -\begin{DoxyParamCaption} -\item[{{\bf HttpRequestParser}}]{} -\end{DoxyParamCaption} -)}} -\label{parser_8c_a659e7ea125685d797a099638b3376320} - - -enqueue current request - -remove processed stuff from input buffer. - -dont continue loop if input buffer is empty - -prepare for next request - - - -Definition at line 43 of file parse.c. - - -\begin{DoxyCode} -{ - static HttpRequest request = NULL; - static char * data; // static pointer to unprocessed data - char * line; - int cont = 1; - - while(cont) { - switch(this->state) { - case HTTP_REQUEST_GARBAGE: - data = this->buffer; // initialize static pointer - - httpRequestSkip(&data); - request = new(HttpRequest); - - this->state = HTTP_REQUEST_START; - break; - - case HTTP_REQUEST_START: - if (NULL == (line = httpRequestParserGetLine(&dat - a))) { - cont = 0; - break; - } - - httpRequestParserGetRequestLine(request, line); - - this->state = HTTP_REQUEST_REQUEST_LINE_DONE; - break; - - case HTTP_REQUEST_REQUEST_LINE_DONE: - if (NULL == (line = httpRequestParserGetLine(&dat - a))) { - cont = 0; - break; - } - - if (0 == strlen(line)) { - this->state = HTTP_REQUEST_HEADERS_DONE; - break; - } - - httpRequestParserGetHeader(request, line); - break; - - case HTTP_REQUEST_HEADERS_DONE: - httpHeaderSort(request->header, request->nheader) - ; - - { - char * nbody; - - if (0 == request->nbody) { - nbody = httpHeaderGet( - request->header, - request->nheader, - - "Content-Length") - ; - - if (NULL == nbody) { - this->state = - HTTP_REQUEST_DONE; - break; - } - else { - request->nbody = atoi(nbo - dy); - } - } - - if (REMAINS(this, data) >= request-> - nbody) { - request->body = calloc(1, request - ->nbody + 1); - memcpy(request->body, data, reque - st->nbody); - data += request->nbody; - this->state = HTTP_REQUEST_DONE; - } - } - - break; - - case HTTP_REQUEST_DONE: - this->request_queue->requests[(this->request_queu - e->nrequests)++] = - request; - - memmove(this->buffer, data, REMAINS(this, data)); - - - this->buffer_used -= data - this->buffer; - - if (0 == this->buffer_used) { - cont = 0; - } - - this->state = HTTP_REQUEST_GARBAGE; - - break; - - default: - break; - } - } -} -\end{DoxyCode} - - -Here is the call graph for this function: - - -\hypertarget{parser_8c_a0508cf41efb8d26b8c43116711820d71}{ -\index{parser.c@{parser.c}!INIT\_\-IFACE@{INIT\_\-IFACE}} -\index{INIT\_\-IFACE@{INIT\_\-IFACE}!parser.c@{parser.c}} -\subsubsection[{INIT\_\-IFACE}]{\setlength{\rightskip}{0pt plus 5cm}INIT\_\-IFACE ( -\begin{DoxyParamCaption} -\item[{Class}]{, } -\item[{ctor}]{, } -\item[{dtor}]{, } -\item[{\_\-clone}]{} -\end{DoxyParamCaption} -)}} -\label{parser_8c_a0508cf41efb8d26b8c43116711820d71} -\hypertarget{parser_8c_a70f4eea7746a809dd8da71e9cbf4842a}{ -\index{parser.c@{parser.c}!INIT\_\-IFACE@{INIT\_\-IFACE}} -\index{INIT\_\-IFACE@{INIT\_\-IFACE}!parser.c@{parser.c}} -\subsubsection[{INIT\_\-IFACE}]{\setlength{\rightskip}{0pt plus 5cm}INIT\_\-IFACE ( -\begin{DoxyParamCaption} -\item[{StreamReader}]{, } -\item[{get\_\-data}]{} -\end{DoxyParamCaption} -)}} -\label{parser_8c_a70f4eea7746a809dd8da71e9cbf4842a} diff --git a/docs/latex/parser_8c__incl.dot b/docs/latex/parser_8c__incl.dot deleted file mode 100644 index eb78bce..0000000 --- a/docs/latex/parser_8c__incl.dot +++ /dev/null @@ -1,25 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/http/request/parser.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="string.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="http/request_parser.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid"]; - Node7 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid"]; - Node8 [label="interface/stream_reader.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid"]; - Node9 [label="http/request.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid"]; - Node10 [label="http/request_queue.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/parser_8c__incl.md5 b/docs/latex/parser_8c__incl.md5 deleted file mode 100644 index c6129f9..0000000 --- a/docs/latex/parser_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -caa7c1473d92866499c65b983efa9b65 \ No newline at end of file diff --git a/docs/latex/parser_8c_a659e7ea125685d797a099638b3376320_cgraph.dot b/docs/latex/parser_8c_a659e7ea125685d797a099638b3376320_cgraph.dot deleted file mode 100644 index 469b42b..0000000 --- a/docs/latex/parser_8c_a659e7ea125685d797a099638b3376320_cgraph.dot +++ /dev/null @@ -1,16 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="httpRequestParserParse",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="httpHeaderGet",height=0.2,width=0.4,color="black",URL="$header_8h.html#a002a617a3523cbc79ba8ef6f76d98465"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="httpHeaderSort",height=0.2,width=0.4,color="black",URL="$header_8h.html#a43ccec0413f9f2e394bb3af5ff628b56"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="httpRequestParserGetHeader",height=0.2,width=0.4,color="black",URL="$get__header_8c.html#a53acbf83d2753cafdc4880dfc4f4222c"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="httpRequestParserGetRequestLine",height=0.2,width=0.4,color="black",URL="$get__request__line_8c.html#a47a4a36f54b295507a2599488a4a6077"]; -} diff --git a/docs/latex/parser_8c_a659e7ea125685d797a099638b3376320_cgraph.md5 b/docs/latex/parser_8c_a659e7ea125685d797a099638b3376320_cgraph.md5 deleted file mode 100644 index 2b7fecf..0000000 --- a/docs/latex/parser_8c_a659e7ea125685d797a099638b3376320_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -d1955a4780018691334460a35fd50964 \ No newline at end of file diff --git a/docs/latex/poll_8c.tex b/docs/latex/poll_8c.tex deleted file mode 100644 index 6301d65..0000000 --- a/docs/latex/poll_8c.tex +++ /dev/null @@ -1,26 +0,0 @@ -\hypertarget{poll_8c}{ -\section{src/server/poll.c File Reference} -\label{poll_8c}\index{src/server/poll.c@{src/server/poll.c}} -} -This graph shows which files directly or indirectly include this file: -\subsection*{Defines} -\begin{DoxyCompactItemize} -\item -\#define \hyperlink{poll_8c_aef9c98bcbff485b7c43831fe918ce4ac}{POLLFD}(ptr)~((struct pollfd $\ast$)(ptr)) -\end{DoxyCompactItemize} - - -\subsection{Define Documentation} -\hypertarget{poll_8c_aef9c98bcbff485b7c43831fe918ce4ac}{ -\index{poll.c@{poll.c}!POLLFD@{POLLFD}} -\index{POLLFD@{POLLFD}!poll.c@{poll.c}} -\subsubsection[{POLLFD}]{\setlength{\rightskip}{0pt plus 5cm}\#define POLLFD( -\begin{DoxyParamCaption} -\item[{}]{ptr} -\end{DoxyParamCaption} -)~((struct pollfd $\ast$)(ptr))}} -\label{poll_8c_aef9c98bcbff485b7c43831fe918ce4ac} - - -Definition at line 1 of file poll.c. - diff --git a/docs/latex/poll_8c__dep__incl.dot b/docs/latex/poll_8c__dep__incl.dot deleted file mode 100644 index 139a099..0000000 --- a/docs/latex/poll_8c__dep__incl.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/server/poll.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="src/server/run.c",height=0.2,width=0.4,color="black",URL="$run_8c.html"]; -} diff --git a/docs/latex/poll_8c__dep__incl.md5 b/docs/latex/poll_8c__dep__incl.md5 deleted file mode 100644 index 3dbc544..0000000 --- a/docs/latex/poll_8c__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -d4cde99efc4a70ad19caaef72552d897 \ No newline at end of file diff --git a/docs/latex/queue_8c.tex b/docs/latex/queue_8c.tex deleted file mode 100644 index 854e0e0..0000000 --- a/docs/latex/queue_8c.tex +++ /dev/null @@ -1,42 +0,0 @@ -\hypertarget{queue_8c}{ -\section{src/http/request/queue.c File Reference} -\label{queue_8c}\index{src/http/request/queue.c@{src/http/request/queue.c}} -} -{\ttfamily \#include $<$stdarg.h$>$}\par -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/request\_\-queue.h\char`\"{}}\par -Include dependency graph for queue.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{queue_8c_a4dd368b7bead6fa0805e91405d90f786}{INIT\_\-IFACE} (Class, ctor, dtor, NULL) -\item -\hyperlink{queue_8c_aebf96b69aa671f499918b976cd20c087}{CREATE\_\-CLASS} (\hyperlink{structHttpRequestQueue}{HttpRequestQueue}, NULL, IFACE(Class)) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{queue_8c_aebf96b69aa671f499918b976cd20c087}{ -\index{queue.c@{queue.c}!CREATE\_\-CLASS@{CREATE\_\-CLASS}} -\index{CREATE\_\-CLASS@{CREATE\_\-CLASS}!queue.c@{queue.c}} -\subsubsection[{CREATE\_\-CLASS}]{\setlength{\rightskip}{0pt plus 5cm}CREATE\_\-CLASS ( -\begin{DoxyParamCaption} -\item[{{\bf HttpRequestQueue}}]{, } -\item[{NULL}]{, } -\item[{IFACE(Class)}]{} -\end{DoxyParamCaption} -)}} -\label{queue_8c_aebf96b69aa671f499918b976cd20c087} -\hypertarget{queue_8c_a4dd368b7bead6fa0805e91405d90f786}{ -\index{queue.c@{queue.c}!INIT\_\-IFACE@{INIT\_\-IFACE}} -\index{INIT\_\-IFACE@{INIT\_\-IFACE}!queue.c@{queue.c}} -\subsubsection[{INIT\_\-IFACE}]{\setlength{\rightskip}{0pt plus 5cm}INIT\_\-IFACE ( -\begin{DoxyParamCaption} -\item[{Class}]{, } -\item[{ctor}]{, } -\item[{dtor}]{, } -\item[{NULL}]{} -\end{DoxyParamCaption} -)}} -\label{queue_8c_a4dd368b7bead6fa0805e91405d90f786} diff --git a/docs/latex/queue_8c__incl.dot b/docs/latex/queue_8c__incl.dot deleted file mode 100644 index c0bb671..0000000 --- a/docs/latex/queue_8c__incl.dot +++ /dev/null @@ -1,15 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/http/request/queue.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdarg.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="http/request_queue.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/queue_8c__incl.md5 b/docs/latex/queue_8c__incl.md5 deleted file mode 100644 index 7ac5f14..0000000 --- a/docs/latex/queue_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -38c95c9bb9809adfd5ad5d0894597e8f \ No newline at end of file diff --git a/docs/latex/read_8c.tex b/docs/latex/read_8c.tex deleted file mode 100644 index 28d5853..0000000 --- a/docs/latex/read_8c.tex +++ /dev/null @@ -1,5 +0,0 @@ -\hypertarget{read_8c}{ -\section{src/server/read.c File Reference} -\label{read_8c}\index{src/server/read.c@{src/server/read.c}} -} -This graph shows which files directly or indirectly include this file: diff --git a/docs/latex/read_8c__dep__incl.dot b/docs/latex/read_8c__dep__incl.dot deleted file mode 100644 index 0f71800..0000000 --- a/docs/latex/read_8c__dep__incl.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/server/read.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="src/server/run.c",height=0.2,width=0.4,color="black",URL="$run_8c.html"]; -} diff --git a/docs/latex/read_8c__dep__incl.md5 b/docs/latex/read_8c__dep__incl.md5 deleted file mode 100644 index be214ab..0000000 --- a/docs/latex/read_8c__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -0e9313dd220094a0b8b5a9c33e3c622e \ No newline at end of file diff --git a/docs/latex/refman.tex b/docs/latex/refman.tex deleted file mode 100644 index e03054a..0000000 --- a/docs/latex/refman.tex +++ /dev/null @@ -1,125 +0,0 @@ -\documentclass[a4paper]{book} -\usepackage{makeidx} -\usepackage{graphicx} -\usepackage{multicol} -\usepackage{float} -\usepackage{listings} -\usepackage{color} -\usepackage{ifthen} -\usepackage[table]{xcolor} -\usepackage{textcomp} -\usepackage{alltt} -\usepackage{ifpdf} -\ifpdf -\usepackage[pdftex, - pagebackref=true, - colorlinks=true, - linkcolor=blue, - unicode - ]{hyperref} -\else -\usepackage[ps2pdf, - pagebackref=true, - colorlinks=true, - linkcolor=blue, - unicode - ]{hyperref} -\usepackage{pspicture} -\fi -\usepackage[utf8]{inputenc} -\usepackage{mathptmx} -\usepackage[scaled=.90]{helvet} -\usepackage{courier} -\usepackage{doxygen} -\lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=8,numbers=left } -\makeindex -\setcounter{tocdepth}{3} -\renewcommand{\footrulewidth}{0.4pt} -\begin{document} -\hypersetup{pageanchor=false} -\begin{titlepage} -\vspace*{7cm} -\begin{center} -{\Large server \\[1ex]\large 0.0.1 }\\ -\vspace*{1cm} -{\large Generated by Doxygen 1.7.3}\\ -\vspace*{0.5cm} -{\small Thu Feb 9 2012 22:38:12}\\ -\end{center} -\end{titlepage} -\clearemptydoublepage -\pagenumbering{roman} -\tableofcontents -\clearemptydoublepage -\pagenumbering{arabic} -\hypersetup{pageanchor=true} -\chapter{Class Index} -\input{annotated} -\chapter{File Index} -\input{files} -\chapter{Class Documentation} -\input{structclass} -\input{structHttpHeader} -\input{structHttpRequest} -\input{structHttpRequestParser} -\input{structHttpRequestQueue} -\input{structHttpResponse} -\input{structi__Class} -\input{structi__Logger} -\input{structi__StreamReader} -\input{structiface__impl} -\input{structinterface} -\input{structLogger} -\input{structLoggerStderr} -\input{structLoggerSyslog} -\input{structServer} -\input{structSock} -\chapter{File Documentation} -\input{config_8h} -\input{class_8h} -\input{interface_2class_8h} -\input{header_8h} -\input{request_8h} -\input{request__parser_8h} -\input{request__queue_8h} -\input{response_8h} -\input{interface_8h} -\input{interface_2logger_8h} -\input{logger_8h} -\input{stream__reader_8h} -\input{server_8h} -\input{signalHandling_8h} -\input{socket_8h} -\input{class_8c} -\input{interface_2class_8c} -\input{daemonize_8c} -\input{header_8c} -\input{get_8c} -\input{sort_8c} -\input{request_8c} -\input{header__get_8c} -\input{parser_8c} -\input{get__header_8c} -\input{get__request__line_8c} -\input{parse_8c} -\input{queue_8c} -\input{interface_8c} -\input{interface_2logger_8c} -\input{logger_8c} -\input{stream__reader_8c} -\input{stderr_8c} -\input{syslog_8c} -\input{server_8c} -\input{close__conn_8c} -\input{handle__accept_8c} -\input{poll_8c} -\input{read_8c} -\input{run_8c} -\input{signalHandling_8c} -\input{socket_8c} -\input{accept_8c} -\input{connect_8c} -\input{listen_8c} -\input{testserver_8c} -\printindex -\end{document} diff --git a/docs/latex/request_8c.tex b/docs/latex/request_8c.tex deleted file mode 100644 index 7d2588c..0000000 --- a/docs/latex/request_8c.tex +++ /dev/null @@ -1,43 +0,0 @@ -\hypertarget{request_8c}{ -\section{src/http/request.c File Reference} -\label{request_8c}\index{src/http/request.c@{src/http/request.c}} -} -{\ttfamily \#include $<$stdlib.h$>$}\par -{\ttfamily \#include $<$stdarg.h$>$}\par -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/request.h\char`\"{}}\par -Include dependency graph for request.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{request_8c_a4dd368b7bead6fa0805e91405d90f786}{INIT\_\-IFACE} (Class, ctor, dtor, NULL) -\item -\hyperlink{request_8c_a3eb93e136cdb6fe8cd7ae90040020852}{CREATE\_\-CLASS} (\hyperlink{structHttpRequest}{HttpRequest}, NULL, IFACE(Class)) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{request_8c_a3eb93e136cdb6fe8cd7ae90040020852}{ -\index{request.c@{request.c}!CREATE\_\-CLASS@{CREATE\_\-CLASS}} -\index{CREATE\_\-CLASS@{CREATE\_\-CLASS}!request.c@{request.c}} -\subsubsection[{CREATE\_\-CLASS}]{\setlength{\rightskip}{0pt plus 5cm}CREATE\_\-CLASS ( -\begin{DoxyParamCaption} -\item[{{\bf HttpRequest}}]{, } -\item[{NULL}]{, } -\item[{IFACE(Class)}]{} -\end{DoxyParamCaption} -)}} -\label{request_8c_a3eb93e136cdb6fe8cd7ae90040020852} -\hypertarget{request_8c_a4dd368b7bead6fa0805e91405d90f786}{ -\index{request.c@{request.c}!INIT\_\-IFACE@{INIT\_\-IFACE}} -\index{INIT\_\-IFACE@{INIT\_\-IFACE}!request.c@{request.c}} -\subsubsection[{INIT\_\-IFACE}]{\setlength{\rightskip}{0pt plus 5cm}INIT\_\-IFACE ( -\begin{DoxyParamCaption} -\item[{Class}]{, } -\item[{ctor}]{, } -\item[{dtor}]{, } -\item[{NULL}]{} -\end{DoxyParamCaption} -)}} -\label{request_8c_a4dd368b7bead6fa0805e91405d90f786} diff --git a/docs/latex/request_8c__incl.dot b/docs/latex/request_8c__incl.dot deleted file mode 100644 index 5da78f9..0000000 --- a/docs/latex/request_8c__incl.dot +++ /dev/null @@ -1,17 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/http/request.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="stdarg.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="http/request.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/request_8c__incl.md5 b/docs/latex/request_8c__incl.md5 deleted file mode 100644 index 87a6f57..0000000 --- a/docs/latex/request_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -378072bbb519175e128e7ef34710ddf3 \ No newline at end of file diff --git a/docs/latex/request_8h.tex b/docs/latex/request_8h.tex deleted file mode 100644 index b7bee75..0000000 --- a/docs/latex/request_8h.tex +++ /dev/null @@ -1,50 +0,0 @@ -\hypertarget{request_8h}{ -\section{include/http/request.h File Reference} -\label{request_8h}\index{include/http/request.h@{include/http/request.h}} -} -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/header.h\char`\"{}}\par -Include dependency graph for request.h: -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structHttpRequest}{HttpRequest} -\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -char $\ast$ \hyperlink{request_8h_abe5df7e20fea66f7926cf40df8250f26}{httpRequestHeaderGet} (\hyperlink{structHttpRequest}{HttpRequest} this, const char $\ast$name) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{request_8h_abe5df7e20fea66f7926cf40df8250f26}{ -\index{request.h@{request.h}!httpRequestHeaderGet@{httpRequestHeaderGet}} -\index{httpRequestHeaderGet@{httpRequestHeaderGet}!request.h@{request.h}} -\subsubsection[{httpRequestHeaderGet}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ httpRequestHeaderGet ( -\begin{DoxyParamCaption} -\item[{{\bf HttpRequest}}]{this, } -\item[{const char $\ast$}]{name} -\end{DoxyParamCaption} -)}} -\label{request_8h_abe5df7e20fea66f7926cf40df8250f26} - - -Definition at line 31 of file header\_\-get.c. - - -\begin{DoxyCode} -{ - unsigned long hash = sdbm((unsigned char *)name); - struct HttpRequestHeader * header; - - header = bsearch( - &hash, - this->header, - this->nheader, - sizeof(struct HttpRequestHeader), - comp); - - return (NULL != header)? header->value : NULL; -} -\end{DoxyCode} diff --git a/docs/latex/request_8h__incl.dot b/docs/latex/request_8h__incl.dot deleted file mode 100644 index 4fc35b1..0000000 --- a/docs/latex/request_8h__incl.dot +++ /dev/null @@ -1,11 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/http/request.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="http/header.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/request_8h__incl.md5 b/docs/latex/request_8h__incl.md5 deleted file mode 100644 index 4cf3a3f..0000000 --- a/docs/latex/request_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -9f11d61c0b29a488cacb9dfaabd8c21c \ No newline at end of file diff --git a/docs/latex/request__parser_8c.tex b/docs/latex/request__parser_8c.tex deleted file mode 100644 index d5ca7b1..0000000 --- a/docs/latex/request__parser_8c.tex +++ /dev/null @@ -1,63 +0,0 @@ -\hypertarget{request__parser_8c}{ -\section{src/http/request\_\-parser.c File Reference} -\label{request__parser_8c}\index{src/http/request\_\-parser.c@{src/http/request\_\-parser.c}} -} -{\ttfamily \#include $<$stdlib.h$>$}\par -{\ttfamily \#include $<$string.h$>$}\par -{\ttfamily \#include $<$stdio.h$>$}\par -{\ttfamily \#include $<$unistd.h$>$}\par -{\ttfamily \#include $<$ctype.h$>$}\par -{\ttfamily \#include $<$sys/types.h$>$}\par -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/request\_\-parser.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/stream\_\-reader.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/request.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/request\_\-queue.h\char`\"{}}\par -Include dependency graph for request\_\-parser.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{request__parser_8c_a0508cf41efb8d26b8c43116711820d71}{INIT\_\-IFACE} (Class, ctor, dtor, \_\-clone) -\item -\hyperlink{request__parser_8c_a70f4eea7746a809dd8da71e9cbf4842a}{INIT\_\-IFACE} (StreamReader, get\_\-data) -\item -\hyperlink{request__parser_8c_a70093dfed29b221273e59f63936237b5}{CREATE\_\-CLASS} (\hyperlink{structHttpRequestParser}{HttpRequestParser}, NULL, IFACE(Class), IFACE(StreamReader)) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{request__parser_8c_a70093dfed29b221273e59f63936237b5}{ -\index{request\_\-parser.c@{request\_\-parser.c}!CREATE\_\-CLASS@{CREATE\_\-CLASS}} -\index{CREATE\_\-CLASS@{CREATE\_\-CLASS}!request_parser.c@{request\_\-parser.c}} -\subsubsection[{CREATE\_\-CLASS}]{\setlength{\rightskip}{0pt plus 5cm}CREATE\_\-CLASS ( -\begin{DoxyParamCaption} -\item[{{\bf HttpRequestParser}}]{, } -\item[{NULL}]{, } -\item[{IFACE(Class)}]{, } -\item[{IFACE(StreamReader)}]{} -\end{DoxyParamCaption} -)}} -\label{request__parser_8c_a70093dfed29b221273e59f63936237b5} -\hypertarget{request__parser_8c_a0508cf41efb8d26b8c43116711820d71}{ -\index{request\_\-parser.c@{request\_\-parser.c}!INIT\_\-IFACE@{INIT\_\-IFACE}} -\index{INIT\_\-IFACE@{INIT\_\-IFACE}!request_parser.c@{request\_\-parser.c}} -\subsubsection[{INIT\_\-IFACE}]{\setlength{\rightskip}{0pt plus 5cm}INIT\_\-IFACE ( -\begin{DoxyParamCaption} -\item[{Class}]{, } -\item[{ctor}]{, } -\item[{dtor}]{, } -\item[{\_\-clone}]{} -\end{DoxyParamCaption} -)}} -\label{request__parser_8c_a0508cf41efb8d26b8c43116711820d71} -\hypertarget{request__parser_8c_a70f4eea7746a809dd8da71e9cbf4842a}{ -\index{request\_\-parser.c@{request\_\-parser.c}!INIT\_\-IFACE@{INIT\_\-IFACE}} -\index{INIT\_\-IFACE@{INIT\_\-IFACE}!request_parser.c@{request\_\-parser.c}} -\subsubsection[{INIT\_\-IFACE}]{\setlength{\rightskip}{0pt plus 5cm}INIT\_\-IFACE ( -\begin{DoxyParamCaption} -\item[{StreamReader}]{, } -\item[{get\_\-data}]{} -\end{DoxyParamCaption} -)}} -\label{request__parser_8c_a70f4eea7746a809dd8da71e9cbf4842a} diff --git a/docs/latex/request__parser_8c__incl.dot b/docs/latex/request__parser_8c__incl.dot deleted file mode 100644 index 51592d4..0000000 --- a/docs/latex/request__parser_8c__incl.dot +++ /dev/null @@ -1,31 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/http/request_parser.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="string.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="stdio.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="unistd.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="ctype.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid"]; - Node7 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid"]; - Node8 [label="class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid"]; - Node9 [label="http/request_parser.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid"]; - Node10 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node11 [color="midnightblue",fontsize="10",style="solid"]; - Node11 [label="interface/stream_reader.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node12 [color="midnightblue",fontsize="10",style="solid"]; - Node12 [label="http/request.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node13 [color="midnightblue",fontsize="10",style="solid"]; - Node13 [label="http/request_queue.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/request__parser_8c__incl.md5 b/docs/latex/request__parser_8c__incl.md5 deleted file mode 100644 index 5a46c08..0000000 --- a/docs/latex/request__parser_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -e5c3db015d7ff4276a9569d02cfe2142 \ No newline at end of file diff --git a/docs/latex/request__parser_8h.tex b/docs/latex/request__parser_8h.tex deleted file mode 100644 index 7133db7..0000000 --- a/docs/latex/request__parser_8h.tex +++ /dev/null @@ -1,102 +0,0 @@ -\hypertarget{request__parser_8h}{ -\section{include/http/request\_\-parser.h File Reference} -\label{request__parser_8h}\index{include/http/request\_\-parser.h@{include/http/request\_\-parser.h}} -} -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/request\_\-queue.h\char`\"{}}\par -Include dependency graph for request\_\-parser.h: -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structHttpRequestParser}{HttpRequestParser} -\end{DoxyCompactItemize} -\subsection*{Defines} -\begin{DoxyCompactItemize} -\item -\#define \hyperlink{request__parser_8h_ad645c7940041e8d57b5557a197e133fb}{HTTP\_\-REQUEST\_\-PARSER\_\-READ\_\-CHUNK}~1024 -\end{DoxyCompactItemize} -\subsection*{Typedefs} -\begin{DoxyCompactItemize} -\item -typedef enum \hyperlink{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21}{e\_\-HttpRequestState} \hyperlink{request__parser_8h_acaccfe3e34d50afe26e415749f7f4827}{HttpRequestState} -\end{DoxyCompactItemize} -\subsection*{Enumerations} -\begin{DoxyCompactItemize} -\item -enum \hyperlink{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21}{e\_\-HttpRequestState} \{ \par -\hyperlink{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21ab3db7445ba173b1f1e96920cc9a68ce5}{HTTP\_\-REQUEST\_\-GARBAGE} = 0, -\hyperlink{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21adb7cd42594721f63ab68224a0b1c250a}{HTTP\_\-REQUEST\_\-START}, -\hyperlink{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21a7d6368bbdc9707276bace26d735c2395}{HTTP\_\-REQUEST\_\-REQUEST\_\-LINE\_\-DONE}, -\hyperlink{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21a1a45d176d7e76f28cf1529c72a245cb7}{HTTP\_\-REQUEST\_\-HEADERS\_\-DONE}, -\par -\hyperlink{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21abb5b68f30f3d5e90723983a86ef54a8b}{HTTP\_\-REQUEST\_\-DONE} - \} -\end{DoxyCompactItemize} - - -\subsection{Define Documentation} -\hypertarget{request__parser_8h_ad645c7940041e8d57b5557a197e133fb}{ -\index{request\_\-parser.h@{request\_\-parser.h}!HTTP\_\-REQUEST\_\-PARSER\_\-READ\_\-CHUNK@{HTTP\_\-REQUEST\_\-PARSER\_\-READ\_\-CHUNK}} -\index{HTTP\_\-REQUEST\_\-PARSER\_\-READ\_\-CHUNK@{HTTP\_\-REQUEST\_\-PARSER\_\-READ\_\-CHUNK}!request_parser.h@{request\_\-parser.h}} -\subsubsection[{HTTP\_\-REQUEST\_\-PARSER\_\-READ\_\-CHUNK}]{\setlength{\rightskip}{0pt plus 5cm}\#define HTTP\_\-REQUEST\_\-PARSER\_\-READ\_\-CHUNK~1024}} -\label{request__parser_8h_ad645c7940041e8d57b5557a197e133fb} - - -Definition at line 7 of file request\_\-parser.h. - - - -\subsection{Typedef Documentation} -\hypertarget{request__parser_8h_acaccfe3e34d50afe26e415749f7f4827}{ -\index{request\_\-parser.h@{request\_\-parser.h}!HttpRequestState@{HttpRequestState}} -\index{HttpRequestState@{HttpRequestState}!request_parser.h@{request\_\-parser.h}} -\subsubsection[{HttpRequestState}]{\setlength{\rightskip}{0pt plus 5cm}typedef enum {\bf e\_\-HttpRequestState} {\bf HttpRequestState}}} -\label{request__parser_8h_acaccfe3e34d50afe26e415749f7f4827} - - -\subsection{Enumeration Type Documentation} -\hypertarget{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21}{ -\index{request\_\-parser.h@{request\_\-parser.h}!e\_\-HttpRequestState@{e\_\-HttpRequestState}} -\index{e\_\-HttpRequestState@{e\_\-HttpRequestState}!request_parser.h@{request\_\-parser.h}} -\subsubsection[{e\_\-HttpRequestState}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf e\_\-HttpRequestState}}} -\label{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21} -\begin{Desc} -\item[Enumerator: ]\par -\begin{description} -\index{HTTP\_\-REQUEST\_\-GARBAGE@{HTTP\_\-REQUEST\_\-GARBAGE}!request\_\-parser.h@{request\_\-parser.h}}\index{request\_\-parser.h@{request\_\-parser.h}!HTTP\_\-REQUEST\_\-GARBAGE@{HTTP\_\-REQUEST\_\-GARBAGE}}\item[{\em -\hypertarget{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21ab3db7445ba173b1f1e96920cc9a68ce5}{ -HTTP\_\-REQUEST\_\-GARBAGE} -\label{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21ab3db7445ba173b1f1e96920cc9a68ce5} -}]\index{HTTP\_\-REQUEST\_\-START@{HTTP\_\-REQUEST\_\-START}!request\_\-parser.h@{request\_\-parser.h}}\index{request\_\-parser.h@{request\_\-parser.h}!HTTP\_\-REQUEST\_\-START@{HTTP\_\-REQUEST\_\-START}}\item[{\em -\hypertarget{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21adb7cd42594721f63ab68224a0b1c250a}{ -HTTP\_\-REQUEST\_\-START} -\label{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21adb7cd42594721f63ab68224a0b1c250a} -}]\index{HTTP\_\-REQUEST\_\-REQUEST\_\-LINE\_\-DONE@{HTTP\_\-REQUEST\_\-REQUEST\_\-LINE\_\-DONE}!request\_\-parser.h@{request\_\-parser.h}}\index{request\_\-parser.h@{request\_\-parser.h}!HTTP\_\-REQUEST\_\-REQUEST\_\-LINE\_\-DONE@{HTTP\_\-REQUEST\_\-REQUEST\_\-LINE\_\-DONE}}\item[{\em -\hypertarget{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21a7d6368bbdc9707276bace26d735c2395}{ -HTTP\_\-REQUEST\_\-REQUEST\_\-LINE\_\-DONE} -\label{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21a7d6368bbdc9707276bace26d735c2395} -}]\index{HTTP\_\-REQUEST\_\-HEADERS\_\-DONE@{HTTP\_\-REQUEST\_\-HEADERS\_\-DONE}!request\_\-parser.h@{request\_\-parser.h}}\index{request\_\-parser.h@{request\_\-parser.h}!HTTP\_\-REQUEST\_\-HEADERS\_\-DONE@{HTTP\_\-REQUEST\_\-HEADERS\_\-DONE}}\item[{\em -\hypertarget{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21a1a45d176d7e76f28cf1529c72a245cb7}{ -HTTP\_\-REQUEST\_\-HEADERS\_\-DONE} -\label{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21a1a45d176d7e76f28cf1529c72a245cb7} -}]\index{HTTP\_\-REQUEST\_\-DONE@{HTTP\_\-REQUEST\_\-DONE}!request\_\-parser.h@{request\_\-parser.h}}\index{request\_\-parser.h@{request\_\-parser.h}!HTTP\_\-REQUEST\_\-DONE@{HTTP\_\-REQUEST\_\-DONE}}\item[{\em -\hypertarget{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21abb5b68f30f3d5e90723983a86ef54a8b}{ -HTTP\_\-REQUEST\_\-DONE} -\label{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21abb5b68f30f3d5e90723983a86ef54a8b} -}]\end{description} -\end{Desc} - - - -Definition at line 9 of file request\_\-parser.h. - - -\begin{DoxyCode} - { - HTTP_REQUEST_GARBAGE=0, - HTTP_REQUEST_START, - HTTP_REQUEST_REQUEST_LINE_DONE, - HTTP_REQUEST_HEADERS_DONE, - HTTP_REQUEST_DONE -} HttpRequestState; -\end{DoxyCode} diff --git a/docs/latex/request__parser_8h__incl.dot b/docs/latex/request__parser_8h__incl.dot deleted file mode 100644 index 710c3e3..0000000 --- a/docs/latex/request__parser_8h__incl.dot +++ /dev/null @@ -1,11 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/http/request_parser.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="http/request_queue.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/request__parser_8h__incl.md5 b/docs/latex/request__parser_8h__incl.md5 deleted file mode 100644 index 6b2339f..0000000 --- a/docs/latex/request__parser_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -f4353f096084b5a858371ea1064eadf9 \ No newline at end of file diff --git a/docs/latex/request__queue_8c.tex b/docs/latex/request__queue_8c.tex deleted file mode 100644 index ac90e1b..0000000 --- a/docs/latex/request__queue_8c.tex +++ /dev/null @@ -1,42 +0,0 @@ -\hypertarget{request__queue_8c}{ -\section{src/http/request\_\-queue.c File Reference} -\label{request__queue_8c}\index{src/http/request\_\-queue.c@{src/http/request\_\-queue.c}} -} -{\ttfamily \#include $<$stdarg.h$>$}\par -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/request\_\-queue.h\char`\"{}}\par -Include dependency graph for request\_\-queue.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{request__queue_8c_a4dd368b7bead6fa0805e91405d90f786}{INIT\_\-IFACE} (Class, ctor, dtor, NULL) -\item -\hyperlink{request__queue_8c_aebf96b69aa671f499918b976cd20c087}{CREATE\_\-CLASS} (\hyperlink{structHttpRequestQueue}{HttpRequestQueue}, NULL, IFACE(Class)) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{request__queue_8c_aebf96b69aa671f499918b976cd20c087}{ -\index{request\_\-queue.c@{request\_\-queue.c}!CREATE\_\-CLASS@{CREATE\_\-CLASS}} -\index{CREATE\_\-CLASS@{CREATE\_\-CLASS}!request_queue.c@{request\_\-queue.c}} -\subsubsection[{CREATE\_\-CLASS}]{\setlength{\rightskip}{0pt plus 5cm}CREATE\_\-CLASS ( -\begin{DoxyParamCaption} -\item[{{\bf HttpRequestQueue}}]{, } -\item[{NULL}]{, } -\item[{IFACE(Class)}]{} -\end{DoxyParamCaption} -)}} -\label{request__queue_8c_aebf96b69aa671f499918b976cd20c087} -\hypertarget{request__queue_8c_a4dd368b7bead6fa0805e91405d90f786}{ -\index{request\_\-queue.c@{request\_\-queue.c}!INIT\_\-IFACE@{INIT\_\-IFACE}} -\index{INIT\_\-IFACE@{INIT\_\-IFACE}!request_queue.c@{request\_\-queue.c}} -\subsubsection[{INIT\_\-IFACE}]{\setlength{\rightskip}{0pt plus 5cm}INIT\_\-IFACE ( -\begin{DoxyParamCaption} -\item[{Class}]{, } -\item[{ctor}]{, } -\item[{dtor}]{, } -\item[{NULL}]{} -\end{DoxyParamCaption} -)}} -\label{request__queue_8c_a4dd368b7bead6fa0805e91405d90f786} diff --git a/docs/latex/request__queue_8c__incl.dot b/docs/latex/request__queue_8c__incl.dot deleted file mode 100644 index 281352d..0000000 --- a/docs/latex/request__queue_8c__incl.dot +++ /dev/null @@ -1,15 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/http/request_queue.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdarg.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="http/request_queue.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/request__queue_8c__incl.md5 b/docs/latex/request__queue_8c__incl.md5 deleted file mode 100644 index d3358b8..0000000 --- a/docs/latex/request__queue_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -a0d6a7af2ddaac59429db9a94dbf5e2a \ No newline at end of file diff --git a/docs/latex/request__queue_8h.tex b/docs/latex/request__queue_8h.tex deleted file mode 100644 index 2f3fb3c..0000000 --- a/docs/latex/request__queue_8h.tex +++ /dev/null @@ -1,29 +0,0 @@ -\hypertarget{request__queue_8h}{ -\section{include/http/request\_\-queue.h File Reference} -\label{request__queue_8h}\index{include/http/request\_\-queue.h@{include/http/request\_\-queue.h}} -} -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/request.h\char`\"{}}\par -Include dependency graph for request\_\-queue.h: -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structHttpRequestQueue}{HttpRequestQueue} -\end{DoxyCompactItemize} -\subsection*{Defines} -\begin{DoxyCompactItemize} -\item -\#define \hyperlink{request__queue_8h_a0da148930da7187cea2a610466756a30}{HTTP\_\-REQUEST\_\-QUEUE\_\-MAX}~1024 -\end{DoxyCompactItemize} - - -\subsection{Define Documentation} -\hypertarget{request__queue_8h_a0da148930da7187cea2a610466756a30}{ -\index{request\_\-queue.h@{request\_\-queue.h}!HTTP\_\-REQUEST\_\-QUEUE\_\-MAX@{HTTP\_\-REQUEST\_\-QUEUE\_\-MAX}} -\index{HTTP\_\-REQUEST\_\-QUEUE\_\-MAX@{HTTP\_\-REQUEST\_\-QUEUE\_\-MAX}!request_queue.h@{request\_\-queue.h}} -\subsubsection[{HTTP\_\-REQUEST\_\-QUEUE\_\-MAX}]{\setlength{\rightskip}{0pt plus 5cm}\#define HTTP\_\-REQUEST\_\-QUEUE\_\-MAX~1024}} -\label{request__queue_8h_a0da148930da7187cea2a610466756a30} - - -Definition at line 7 of file request\_\-queue.h. - diff --git a/docs/latex/request__queue_8h__incl.dot b/docs/latex/request__queue_8h__incl.dot deleted file mode 100644 index 6c6b8e6..0000000 --- a/docs/latex/request__queue_8h__incl.dot +++ /dev/null @@ -1,11 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/http/request_queue.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="http/request.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/request__queue_8h__incl.md5 b/docs/latex/request__queue_8h__incl.md5 deleted file mode 100644 index ee792c5..0000000 --- a/docs/latex/request__queue_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -d872b444a33dd71853cb83214c7f37e8 \ No newline at end of file diff --git a/docs/latex/response_8h.tex b/docs/latex/response_8h.tex deleted file mode 100644 index cd32e6c..0000000 --- a/docs/latex/response_8h.tex +++ /dev/null @@ -1,49 +0,0 @@ -\hypertarget{response_8h}{ -\section{include/http/response.h File Reference} -\label{response_8h}\index{include/http/response.h@{include/http/response.h}} -} -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -Include dependency graph for response.h: -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structHttpResponse}{HttpResponse} -\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -char $\ast$ \hyperlink{response_8h_abe5df7e20fea66f7926cf40df8250f26}{httpRequestHeaderGet} (\hyperlink{structHttpRequest}{HttpRequest} this, const char $\ast$name) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{response_8h_abe5df7e20fea66f7926cf40df8250f26}{ -\index{response.h@{response.h}!httpRequestHeaderGet@{httpRequestHeaderGet}} -\index{httpRequestHeaderGet@{httpRequestHeaderGet}!response.h@{response.h}} -\subsubsection[{httpRequestHeaderGet}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ httpRequestHeaderGet ( -\begin{DoxyParamCaption} -\item[{{\bf HttpRequest}}]{this, } -\item[{const char $\ast$}]{name} -\end{DoxyParamCaption} -)}} -\label{response_8h_abe5df7e20fea66f7926cf40df8250f26} - - -Definition at line 31 of file header\_\-get.c. - - -\begin{DoxyCode} -{ - unsigned long hash = sdbm((unsigned char *)name); - struct HttpRequestHeader * header; - - header = bsearch( - &hash, - this->header, - this->nheader, - sizeof(struct HttpRequestHeader), - comp); - - return (NULL != header)? header->value : NULL; -} -\end{DoxyCode} diff --git a/docs/latex/response_8h__incl.dot b/docs/latex/response_8h__incl.dot deleted file mode 100644 index bb64399..0000000 --- a/docs/latex/response_8h__incl.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/http/response.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="class.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/response_8h__incl.md5 b/docs/latex/response_8h__incl.md5 deleted file mode 100644 index 002202c..0000000 --- a/docs/latex/response_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -7bccce1a3913af4e4d03233b94fb45c8 \ No newline at end of file diff --git a/docs/latex/run_8c.tex b/docs/latex/run_8c.tex deleted file mode 100644 index 62beed6..0000000 --- a/docs/latex/run_8c.tex +++ /dev/null @@ -1,251 +0,0 @@ -\hypertarget{run_8c}{ -\section{src/server/run.c File Reference} -\label{run_8c}\index{src/server/run.c@{src/server/run.c}} -} -{\ttfamily \#include $<$poll.h$>$}\par -{\ttfamily \#include $<$string.h$>$}\par -{\ttfamily \#include $<$stdlib.h$>$}\par -{\ttfamily \#include $<$errno.h$>$}\par -{\ttfamily \#include $<$unistd.h$>$}\par -{\ttfamily \#include $<$time.h$>$}\par -{\ttfamily \#include \char`\"{}server.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}socket.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}logger.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}signalHandling.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/stream\_\-reader.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/logger.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/request.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/request\_\-parser.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/request\_\-queue.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}poll.c\char`\"{}}\par -{\ttfamily \#include \char`\"{}handle\_\-accept.c\char`\"{}}\par -{\ttfamily \#include \char`\"{}read.c\char`\"{}}\par -Include dependency graph for run.c: -\subsection*{Defines} -\begin{DoxyCompactItemize} -\item -\#define \hyperlink{run_8c_aacc3ee1a7f283f8ef65cea31f4436a95}{MAX}(x, y)~((x) $>$ (y) ? (x) : (y)) -\item -\#define \hyperlink{run_8c_a62de8b169a3e2f03f0e793aee87b3758}{RESP\_\-HEAD} -\item -\#define \hyperlink{run_8c_a668b468f247abfce706ce6eaf6caecc9}{RESP\_\-DATA} -\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void \hyperlink{run_8c_a67a4d9073b80d8ae1459fb11ddd23675}{serverRun} (\hyperlink{structServer}{Server} this) -\end{DoxyCompactItemize} - - -\subsection{Define Documentation} -\hypertarget{run_8c_aacc3ee1a7f283f8ef65cea31f4436a95}{ -\index{run.c@{run.c}!MAX@{MAX}} -\index{MAX@{MAX}!run.c@{run.c}} -\subsubsection[{MAX}]{\setlength{\rightskip}{0pt plus 5cm}\#define MAX( -\begin{DoxyParamCaption} -\item[{}]{x, } -\item[{}]{y} -\end{DoxyParamCaption} -)~((x) $>$ (y) ? (x) : (y))}} -\label{run_8c_aacc3ee1a7f283f8ef65cea31f4436a95} - - -Definition at line 23 of file run.c. - -\hypertarget{run_8c_a668b468f247abfce706ce6eaf6caecc9}{ -\index{run.c@{run.c}!RESP\_\-DATA@{RESP\_\-DATA}} -\index{RESP\_\-DATA@{RESP\_\-DATA}!run.c@{run.c}} -\subsubsection[{RESP\_\-DATA}]{\setlength{\rightskip}{0pt plus 5cm}\#define RESP\_\-DATA}} -\label{run_8c_a668b468f247abfce706ce6eaf6caecc9} -{\bfseries Value:} -\begin{DoxyCode} -"\n" \ - "\n" \ - "\n" \ - "404 - Not F - ound" \ - "

404 - Not Foun - d

" \ - "" -\end{DoxyCode} -\hypertarget{run_8c_a62de8b169a3e2f03f0e793aee87b3758}{ -\index{run.c@{run.c}!RESP\_\-HEAD@{RESP\_\-HEAD}} -\index{RESP\_\-HEAD@{RESP\_\-HEAD}!run.c@{run.c}} -\subsubsection[{RESP\_\-HEAD}]{\setlength{\rightskip}{0pt plus 5cm}\#define RESP\_\-HEAD}} -\label{run_8c_a62de8b169a3e2f03f0e793aee87b3758} -{\bfseries Value:} -\begin{DoxyCode} -"HTTP/1.1 404 Not Found\r\n" \ - "Content-Type: text/html\ - r\n" \ - "Content-Length: %lu\r\n" - \ - "Date: %s\r\n" \ - "Server: testserver\r\n" -\end{DoxyCode} - - -\subsection{Function Documentation} -\hypertarget{run_8c_a67a4d9073b80d8ae1459fb11ddd23675}{ -\index{run.c@{run.c}!serverRun@{serverRun}} -\index{serverRun@{serverRun}!run.c@{run.c}} -\subsubsection[{serverRun}]{\setlength{\rightskip}{0pt plus 5cm}void serverRun ( -\begin{DoxyParamCaption} -\item[{{\bf Server}}]{this} -\end{DoxyParamCaption} -)}} -\label{run_8c_a67a4d9073b80d8ae1459fb11ddd23675} - - -: actually this is the main loop of my server. When stuff becomes more complicated it might be feasabible to split stuff into separate processes. This will definetly involve some IPC and syncing. Right now as this is actually only a simple HTTP server implementation we go on with this single process. What we can first do to get some processing between read/write cicles is to use the poll timeout. - -handle accept - -handle reads - -do some other processing : actually this will hard assume that our stream reader is a http parser and it has its queue...think about more generalizing here. - -: for now simply remove request and send not found. Make this sane. - -: the complete response stuff have to be removed here. - -: just to send an answer and be able to make some apache benchs i do it here...this definetly MUST BE moved - -handle writes - - - -Definition at line 30 of file run.c. - - -\begin{DoxyCode} -{ - loggerLog(this->logger, LOGGER_INFO, "service started"); - - while (!doShutdown) /* until error or signal */ - { - int events; - unsigned int i; - - events = serverPoll(this); - if (doShutdown) break; - - for (i=0; i < events; i++) { - int fd = (this->fds)[i].fd; - //int nreads = 0, nwrites = 0; - - if (0 != ((this->fds)[i].revents & POLLIN)) { - if (this->sock->handle == (this->fds)[i].fd) { - serverHandleAccept(this); - } - - else { - int size; - if (0 < (size=serverRead(this, i))) { - int j; - HttpRequestQueue queue = - ((HttpRequestParser)(this - ->conns)[fd].reader)->request_queue; - - for (j=0; jnrequests; j++ - ) { - HttpRequest request = que - ue->requests[j]; - - //if (NULL != request->bo - dy) { - // puts("==REQUEST B - ODY=="); - // puts(request->bod - y); - //} - - delete(&request); - - time_t t; - struct tm * tmp; - char timestr[200]; - -#define RESP_HEAD "HTTP/1.1 404 Not Found\r\n" \ - "Content-Type: text/html\ - r\n" \ - "Content-Length: %lu\r\n" - \ - "Date: %s\r\n" \ - "Server: testserver\r\n" - -#define RESP_DATA "\n" \ - "\n" \ - "\n" \ - "404 - Not F - ound" \ - "

404 - Not Foun - d

" \ - "" - - t = time(NULL); - tmp = localtime(&t); - strftime(timestr, sizeof( - timestr), "%a, %d %b %Y %T %Z", tmp); - - sprintf((this->conns)[fd] - .wbuf, RESP_HEAD "\r\n" RESP_DATA, sizeof(RESP_DATA), timestr); - (this->fds)[i].events = ( - this->fds)[i].events | POLLOUT; - } - - queue->nrequests = 0; - } - } - } - - if (0 != ((this->fds)[i].revents & POLLOUT)) { - int size; - - size = write( - (this->fds)[i].fd, - (this->conns)[fd].wbuf, - strlen((this->conns)[fd].wbuf)); - - if (size == strlen((this->conns)[fd].wbuf) || - -1 == size) { - if (-1 == size) { - loggerLog(this->logger, - LOGGER_ERR, - "write error, clo - sing connection"); - } - - serverCloseConn(this, i); - } - else { - memmove((this->conns)[fd].wbuf, - (this->conns)[fd].wbuf + - size, - strlen((this->conns)[fd]. - wbuf) - size + 1); - } - } - } - } -} -\end{DoxyCode} - - -Here is the call graph for this function: - - - - -Here is the caller graph for this function: - - diff --git a/docs/latex/run_8c__incl.dot b/docs/latex/run_8c__incl.dot deleted file mode 100644 index 39f64a9..0000000 --- a/docs/latex/run_8c__incl.dot +++ /dev/null @@ -1,45 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/server/run.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="poll.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="string.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="errno.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="unistd.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid"]; - Node7 [label="time.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid"]; - Node8 [label="server.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid"]; - Node9 [label="socket.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid"]; - Node10 [label="logger.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node11 [color="midnightblue",fontsize="10",style="solid"]; - Node11 [label="signalHandling.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node12 [color="midnightblue",fontsize="10",style="solid"]; - Node12 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node13 [color="midnightblue",fontsize="10",style="solid"]; - Node13 [label="interface/stream_reader.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node14 [color="midnightblue",fontsize="10",style="solid"]; - Node14 [label="interface/logger.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node15 [color="midnightblue",fontsize="10",style="solid"]; - Node15 [label="http/request.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node16 [color="midnightblue",fontsize="10",style="solid"]; - Node16 [label="http/request_parser.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node17 [color="midnightblue",fontsize="10",style="solid"]; - Node17 [label="http/request_queue.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node18 [color="midnightblue",fontsize="10",style="solid"]; - Node18 [label="poll.c",height=0.2,width=0.4,color="black",URL="$poll_8c.html"]; - Node1 -> Node19 [color="midnightblue",fontsize="10",style="solid"]; - Node19 [label="handle_accept.c",height=0.2,width=0.4,color="black",URL="$handle__accept_8c.html"]; - Node1 -> Node20 [color="midnightblue",fontsize="10",style="solid"]; - Node20 [label="read.c",height=0.2,width=0.4,color="black",URL="$read_8c.html"]; -} diff --git a/docs/latex/run_8c__incl.md5 b/docs/latex/run_8c__incl.md5 deleted file mode 100644 index 75068e2..0000000 --- a/docs/latex/run_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -8e7e67f71f253716d115fb4fdf370888 \ No newline at end of file diff --git a/docs/latex/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.dot b/docs/latex/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.dot deleted file mode 100644 index 21ff4d4..0000000 --- a/docs/latex/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.dot +++ /dev/null @@ -1,12 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="serverRun",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="loggerLog",height=0.2,width=0.4,color="black",URL="$interface_2logger_8h.html#ae9f8662ec8b300dcfb5064906937553e"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="serverCloseConn",height=0.2,width=0.4,color="black",URL="$server_8h.html#a81f787254ea87cbc851d292e5a7d195d"]; -} diff --git a/docs/latex/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 b/docs/latex/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 deleted file mode 100644 index 4366343..0000000 --- a/docs/latex/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -20bd890713aba8c1362051f5c585eb58 \ No newline at end of file diff --git a/docs/latex/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.dot b/docs/latex/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.dot deleted file mode 100644 index d4bdd93..0000000 --- a/docs/latex/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="serverRun",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="main",height=0.2,width=0.4,color="black",URL="$testserver_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4"]; -} diff --git a/docs/latex/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 b/docs/latex/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 deleted file mode 100644 index fa1638f..0000000 --- a/docs/latex/run_8c_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -f1542b75481431f7d027e2cc9fe982c2 \ No newline at end of file diff --git a/docs/latex/server_8c.tex b/docs/latex/server_8c.tex deleted file mode 100644 index df88860..0000000 --- a/docs/latex/server_8c.tex +++ /dev/null @@ -1,46 +0,0 @@ -\hypertarget{server_8c}{ -\section{src/server.c File Reference} -\label{server_8c}\index{src/server.c@{src/server.c}} -} -{\ttfamily \#include $<$poll.h$>$}\par -{\ttfamily \#include $<$string.h$>$}\par -{\ttfamily \#include $<$stdlib.h$>$}\par -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}server.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}socket.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}logger.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -Include dependency graph for server.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{server_8c_a4dd368b7bead6fa0805e91405d90f786}{INIT\_\-IFACE} (Class, ctor, dtor, NULL) -\item -\hyperlink{server_8c_a69cdcc8e4e123675a4c70e8d38693826}{CREATE\_\-CLASS} (\hyperlink{structServer}{Server}, NULL, IFACE(Class)) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{server_8c_a69cdcc8e4e123675a4c70e8d38693826}{ -\index{server.c@{server.c}!CREATE\_\-CLASS@{CREATE\_\-CLASS}} -\index{CREATE\_\-CLASS@{CREATE\_\-CLASS}!server.c@{server.c}} -\subsubsection[{CREATE\_\-CLASS}]{\setlength{\rightskip}{0pt plus 5cm}CREATE\_\-CLASS ( -\begin{DoxyParamCaption} -\item[{{\bf Server}}]{, } -\item[{NULL}]{, } -\item[{IFACE(Class)}]{} -\end{DoxyParamCaption} -)}} -\label{server_8c_a69cdcc8e4e123675a4c70e8d38693826} -\hypertarget{server_8c_a4dd368b7bead6fa0805e91405d90f786}{ -\index{server.c@{server.c}!INIT\_\-IFACE@{INIT\_\-IFACE}} -\index{INIT\_\-IFACE@{INIT\_\-IFACE}!server.c@{server.c}} -\subsubsection[{INIT\_\-IFACE}]{\setlength{\rightskip}{0pt plus 5cm}INIT\_\-IFACE ( -\begin{DoxyParamCaption} -\item[{Class}]{, } -\item[{ctor}]{, } -\item[{dtor}]{, } -\item[{NULL}]{} -\end{DoxyParamCaption} -)}} -\label{server_8c_a4dd368b7bead6fa0805e91405d90f786} diff --git a/docs/latex/server_8c__incl.dot b/docs/latex/server_8c__incl.dot deleted file mode 100644 index 9a13df2..0000000 --- a/docs/latex/server_8c__incl.dot +++ /dev/null @@ -1,23 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/server.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="poll.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="string.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="server.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid"]; - Node7 [label="socket.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid"]; - Node8 [label="logger.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid"]; - Node9 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/server_8c__incl.md5 b/docs/latex/server_8c__incl.md5 deleted file mode 100644 index b76681b..0000000 --- a/docs/latex/server_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -14c81617325dec7d6a2eaa9198988de2 \ No newline at end of file diff --git a/docs/latex/server_8h.tex b/docs/latex/server_8h.tex deleted file mode 100644 index 09ceec8..0000000 --- a/docs/latex/server_8h.tex +++ /dev/null @@ -1,287 +0,0 @@ -\hypertarget{server_8h}{ -\section{include/server.h File Reference} -\label{server_8h}\index{include/server.h@{include/server.h}} -} -{\ttfamily \#include $<$stdio.h$>$}\par -{\ttfamily \#include $<$poll.h$>$}\par -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}socket.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}logger.h\char`\"{}}\par -Include dependency graph for server.h: -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structServer}{Server} -\end{DoxyCompactItemize} -\subsection*{Defines} -\begin{DoxyCompactItemize} -\item -\#define \hyperlink{server_8h_a6371240ebfb3156b737ddd83e1e142bd}{POLL\_\-FD\_\-NSIZE}~1024 -\item -\#define \hyperlink{server_8h_ade0a08dce19efc4f1ec7dc2ab0120ab9}{POLL\_\-FD\_\-SIZE}~(sizeof(struct pollfd) $\ast$ POLL\_\-FD\_\-NSIZE) -\item -\#define \hyperlink{server_8h_a4a694160d07797872cb3861f94b95c94}{MOVE\_\-SIZE}(size, idx)~((size) $\ast$ (POLL\_\-FD\_\-NSIZE-\/((idx)+1))) -\item -\#define \hyperlink{server_8h_a11d5c89fb77bc941d085e8f38d014665}{CLEAR\_\-CONN}(server, idx) -\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void \hyperlink{server_8h_a67a4d9073b80d8ae1459fb11ddd23675}{serverRun} (\hyperlink{structServer}{Server} this) -\item -void \hyperlink{server_8h_a81f787254ea87cbc851d292e5a7d195d}{serverCloseConn} (\hyperlink{structServer}{Server} this, unsigned int handle) -\end{DoxyCompactItemize} - - -\subsection{Define Documentation} -\hypertarget{server_8h_a11d5c89fb77bc941d085e8f38d014665}{ -\index{server.h@{server.h}!CLEAR\_\-CONN@{CLEAR\_\-CONN}} -\index{CLEAR\_\-CONN@{CLEAR\_\-CONN}!server.h@{server.h}} -\subsubsection[{CLEAR\_\-CONN}]{\setlength{\rightskip}{0pt plus 5cm}\#define CLEAR\_\-CONN( -\begin{DoxyParamCaption} -\item[{}]{server, } -\item[{}]{idx} -\end{DoxyParamCaption} -)}} -\label{server_8h_a11d5c89fb77bc941d085e8f38d014665} -{\bfseries Value:} -\begin{DoxyCode} -memmove(&(((server)->fds)[(idx)]), \ - &(((server)->fds)[(idx)+1]), \ - MOVE_SIZE(sizeof(((server)->fds)[0]),(idx))); \ - memmove(&(((server)->conns)[(idx)]), \ - &(((server)->conns)[(idx)+1]), \ - MOVE_SIZE(sizeof(((server)->conns)[0]),(idx))) -\end{DoxyCode} - - -Definition at line 15 of file server.h. - -\hypertarget{server_8h_a4a694160d07797872cb3861f94b95c94}{ -\index{server.h@{server.h}!MOVE\_\-SIZE@{MOVE\_\-SIZE}} -\index{MOVE\_\-SIZE@{MOVE\_\-SIZE}!server.h@{server.h}} -\subsubsection[{MOVE\_\-SIZE}]{\setlength{\rightskip}{0pt plus 5cm}\#define MOVE\_\-SIZE( -\begin{DoxyParamCaption} -\item[{}]{size, } -\item[{}]{idx} -\end{DoxyParamCaption} -)~((size) $\ast$ (POLL\_\-FD\_\-NSIZE-\/((idx)+1)))}} -\label{server_8h_a4a694160d07797872cb3861f94b95c94} - - -Definition at line 14 of file server.h. - -\hypertarget{server_8h_a6371240ebfb3156b737ddd83e1e142bd}{ -\index{server.h@{server.h}!POLL\_\-FD\_\-NSIZE@{POLL\_\-FD\_\-NSIZE}} -\index{POLL\_\-FD\_\-NSIZE@{POLL\_\-FD\_\-NSIZE}!server.h@{server.h}} -\subsubsection[{POLL\_\-FD\_\-NSIZE}]{\setlength{\rightskip}{0pt plus 5cm}\#define POLL\_\-FD\_\-NSIZE~1024}} -\label{server_8h_a6371240ebfb3156b737ddd83e1e142bd} - - -Definition at line 11 of file server.h. - -\hypertarget{server_8h_ade0a08dce19efc4f1ec7dc2ab0120ab9}{ -\index{server.h@{server.h}!POLL\_\-FD\_\-SIZE@{POLL\_\-FD\_\-SIZE}} -\index{POLL\_\-FD\_\-SIZE@{POLL\_\-FD\_\-SIZE}!server.h@{server.h}} -\subsubsection[{POLL\_\-FD\_\-SIZE}]{\setlength{\rightskip}{0pt plus 5cm}\#define POLL\_\-FD\_\-SIZE~(sizeof(struct pollfd) $\ast$ POLL\_\-FD\_\-NSIZE)}} -\label{server_8h_ade0a08dce19efc4f1ec7dc2ab0120ab9} - - -Definition at line 12 of file server.h. - - - -\subsection{Function Documentation} -\hypertarget{server_8h_a81f787254ea87cbc851d292e5a7d195d}{ -\index{server.h@{server.h}!serverCloseConn@{serverCloseConn}} -\index{serverCloseConn@{serverCloseConn}!server.h@{server.h}} -\subsubsection[{serverCloseConn}]{\setlength{\rightskip}{0pt plus 5cm}void serverCloseConn ( -\begin{DoxyParamCaption} -\item[{{\bf Server}}]{this, } -\item[{unsigned int}]{handle} -\end{DoxyParamCaption} -)}} -\label{server_8h_a81f787254ea87cbc851d292e5a7d195d} - - -Definition at line 7 of file close\_\-conn.c. - - -\begin{DoxyCode} -{ - int fd = (this->fds)[i].fd; - - delete(&((this->conns)[fd].sock)); - delete(&((this->conns)[fd].reader)); - memset((this->conns)[fd].wbuf, 0, strlen((this->conns)[fd].wbuf)); - (this->fds)[i].events = 0; - (this->fds)[i].revents = 0; - (this->fds)[i].fd = 0; - this->ndel++; -// CLEAR_CONN(this, i); -// this->nfds--; -} -\end{DoxyCode} - - -Here is the caller graph for this function: - - -\hypertarget{server_8h_a67a4d9073b80d8ae1459fb11ddd23675}{ -\index{server.h@{server.h}!serverRun@{serverRun}} -\index{serverRun@{serverRun}!server.h@{server.h}} -\subsubsection[{serverRun}]{\setlength{\rightskip}{0pt plus 5cm}void serverRun ( -\begin{DoxyParamCaption} -\item[{{\bf Server}}]{this} -\end{DoxyParamCaption} -)}} -\label{server_8h_a67a4d9073b80d8ae1459fb11ddd23675} - - -: actually this is the main loop of my server. When stuff becomes more complicated it might be feasabible to split stuff into separate processes. This will definetly involve some IPC and syncing. Right now as this is actually only a simple HTTP server implementation we go on with this single process. What we can first do to get some processing between read/write cicles is to use the poll timeout. - -handle accept - -handle reads - -do some other processing : actually this will hard assume that our stream reader is a http parser and it has its queue...think about more generalizing here. - -: for now simply remove request and send not found. Make this sane. - -: the complete response stuff have to be removed here. - -: just to send an answer and be able to make some apache benchs i do it here...this definetly MUST BE moved - -handle writes - - - -Definition at line 30 of file run.c. - - -\begin{DoxyCode} -{ - loggerLog(this->logger, LOGGER_INFO, "service started"); - - while (!doShutdown) /* until error or signal */ - { - int events; - unsigned int i; - - events = serverPoll(this); - if (doShutdown) break; - - for (i=0; i < events; i++) { - int fd = (this->fds)[i].fd; - //int nreads = 0, nwrites = 0; - - if (0 != ((this->fds)[i].revents & POLLIN)) { - if (this->sock->handle == (this->fds)[i].fd) { - serverHandleAccept(this); - } - - else { - int size; - if (0 < (size=serverRead(this, i))) { - int j; - HttpRequestQueue queue = - ((HttpRequestParser)(this - ->conns)[fd].reader)->request_queue; - - for (j=0; jnrequests; j++ - ) { - HttpRequest request = que - ue->requests[j]; - - //if (NULL != request->bo - dy) { - // puts("==REQUEST B - ODY=="); - // puts(request->bod - y); - //} - - delete(&request); - - time_t t; - struct tm * tmp; - char timestr[200]; - -#define RESP_HEAD "HTTP/1.1 404 Not Found\r\n" \ - "Content-Type: text/html\ - r\n" \ - "Content-Length: %lu\r\n" - \ - "Date: %s\r\n" \ - "Server: testserver\r\n" - -#define RESP_DATA "\n" \ - "\n" \ - "\n" \ - "404 - Not F - ound" \ - "

404 - Not Foun - d

" \ - "" - - t = time(NULL); - tmp = localtime(&t); - strftime(timestr, sizeof( - timestr), "%a, %d %b %Y %T %Z", tmp); - - sprintf((this->conns)[fd] - .wbuf, RESP_HEAD "\r\n" RESP_DATA, sizeof(RESP_DATA), timestr); - (this->fds)[i].events = ( - this->fds)[i].events | POLLOUT; - } - - queue->nrequests = 0; - } - } - } - - if (0 != ((this->fds)[i].revents & POLLOUT)) { - int size; - - size = write( - (this->fds)[i].fd, - (this->conns)[fd].wbuf, - strlen((this->conns)[fd].wbuf)); - - if (size == strlen((this->conns)[fd].wbuf) || - -1 == size) { - if (-1 == size) { - loggerLog(this->logger, - LOGGER_ERR, - "write error, clo - sing connection"); - } - - serverCloseConn(this, i); - } - else { - memmove((this->conns)[fd].wbuf, - (this->conns)[fd].wbuf + - size, - strlen((this->conns)[fd]. - wbuf) - size + 1); - } - } - } - } -} -\end{DoxyCode} - - -Here is the call graph for this function: - - - - -Here is the caller graph for this function: - - diff --git a/docs/latex/server_8h__incl.dot b/docs/latex/server_8h__incl.dot deleted file mode 100644 index 95346a1..0000000 --- a/docs/latex/server_8h__incl.dot +++ /dev/null @@ -1,33 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/server.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdio.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="poll.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="class.h",height=0.2,width=0.4,color="black",URL="$class_8h.html"]; - Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="stdarg.h",height=0.2,width=0.4,color="grey75"]; - Node4 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; - Node4 -> Node7 [color="midnightblue",fontsize="10",style="solid"]; - Node7 [label="string.h",height=0.2,width=0.4,color="grey75"]; - Node4 -> Node8 [color="midnightblue",fontsize="10",style="solid"]; - Node8 [label="assert.h",height=0.2,width=0.4,color="grey75"]; - Node4 -> Node9 [color="midnightblue",fontsize="10",style="solid"]; - Node9 [label="interface.h",height=0.2,width=0.4,color="black",URL="$interface_8h.html"]; - Node9 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid"]; - Node10 [label="socket.h",height=0.2,width=0.4,color="black",URL="$socket_8h.html"]; - Node10 -> Node11 [color="midnightblue",fontsize="10",style="solid"]; - Node11 [label="arpa/inet.h",height=0.2,width=0.4,color="grey75"]; - Node10 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node10 -> Node12 [color="midnightblue",fontsize="10",style="solid"]; - Node12 [label="logger.h",height=0.2,width=0.4,color="black",URL="$logger_8h.html"]; - Node12 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node1 -> Node12 [color="midnightblue",fontsize="10",style="solid"]; -} diff --git a/docs/latex/server_8h__incl.md5 b/docs/latex/server_8h__incl.md5 deleted file mode 100644 index 690501c..0000000 --- a/docs/latex/server_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -0d9d780c9ec9428a2b41d685c83ab21c \ No newline at end of file diff --git a/docs/latex/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.dot b/docs/latex/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.dot deleted file mode 100644 index 21ff4d4..0000000 --- a/docs/latex/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.dot +++ /dev/null @@ -1,12 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="serverRun",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="loggerLog",height=0.2,width=0.4,color="black",URL="$interface_2logger_8h.html#ae9f8662ec8b300dcfb5064906937553e"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="serverCloseConn",height=0.2,width=0.4,color="black",URL="$server_8h.html#a81f787254ea87cbc851d292e5a7d195d"]; -} diff --git a/docs/latex/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 b/docs/latex/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 deleted file mode 100644 index 4366343..0000000 --- a/docs/latex/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -20bd890713aba8c1362051f5c585eb58 \ No newline at end of file diff --git a/docs/latex/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.dot b/docs/latex/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.dot deleted file mode 100644 index d4bdd93..0000000 --- a/docs/latex/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="serverRun",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="main",height=0.2,width=0.4,color="black",URL="$testserver_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4"]; -} diff --git a/docs/latex/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 b/docs/latex/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 deleted file mode 100644 index fa1638f..0000000 --- a/docs/latex/server_8h_a67a4d9073b80d8ae1459fb11ddd23675_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -f1542b75481431f7d027e2cc9fe982c2 \ No newline at end of file diff --git a/docs/latex/server_8h_a81f787254ea87cbc851d292e5a7d195d_icgraph.dot b/docs/latex/server_8h_a81f787254ea87cbc851d292e5a7d195d_icgraph.dot deleted file mode 100644 index 80a64cb..0000000 --- a/docs/latex/server_8h_a81f787254ea87cbc851d292e5a7d195d_icgraph.dot +++ /dev/null @@ -1,12 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="serverCloseConn",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="serverRun",height=0.2,width=0.4,color="black",URL="$run_8c.html#a67a4d9073b80d8ae1459fb11ddd23675"]; - Node2 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="main",height=0.2,width=0.4,color="black",URL="$testserver_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4"]; -} diff --git a/docs/latex/server_8h_a81f787254ea87cbc851d292e5a7d195d_icgraph.md5 b/docs/latex/server_8h_a81f787254ea87cbc851d292e5a7d195d_icgraph.md5 deleted file mode 100644 index f2bc53c..0000000 --- a/docs/latex/server_8h_a81f787254ea87cbc851d292e5a7d195d_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -e78969226285854db8f53c7299426df2 \ No newline at end of file diff --git a/docs/latex/signalHandling_8c.tex b/docs/latex/signalHandling_8c.tex deleted file mode 100644 index 59b1b95..0000000 --- a/docs/latex/signalHandling_8c.tex +++ /dev/null @@ -1,98 +0,0 @@ -\hypertarget{signalHandling_8c}{ -\section{src/signalHandling.c File Reference} -\label{signalHandling_8c}\index{src/signalHandling.c@{src/signalHandling.c}} -} -{\ttfamily \#include $<$signal.h$>$}\par -Include dependency graph for signalHandling.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void \hyperlink{signalHandling_8c_a64612b9588ed0fb05d70680db02b3630}{terminate} (int signum) -\item -void \hyperlink{signalHandling_8c_a1de31bdef82f181f8045b94ae0933916}{init\_\-signals} (void) -\end{DoxyCompactItemize} -\subsection*{Variables} -\begin{DoxyCompactItemize} -\item -volatile int \hyperlink{signalHandling_8c_a960e985a396acaabb1bbed4f15668ade}{doShutdown} -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{signalHandling_8c_a1de31bdef82f181f8045b94ae0933916}{ -\index{signalHandling.c@{signalHandling.c}!init\_\-signals@{init\_\-signals}} -\index{init\_\-signals@{init\_\-signals}!signalHandling.c@{signalHandling.c}} -\subsubsection[{init\_\-signals}]{\setlength{\rightskip}{0pt plus 5cm}void init\_\-signals ( -\begin{DoxyParamCaption} -\item[{void}]{} -\end{DoxyParamCaption} -)}} -\label{signalHandling_8c_a1de31bdef82f181f8045b94ae0933916} - - -Definition at line 14 of file signalHandling.c. - - -\begin{DoxyCode} -{ - signal(SIGTERM, terminate); - signal(SIGHUP, SIG_IGN); - signal(SIGINT, terminate); - signal(SIGQUIT, terminate); - signal(SIGABRT, terminate); - signal(SIGALRM, SIG_IGN); - signal(SIGURG, SIG_IGN); - - signal(SIGPIPE, SIG_IGN); -} -\end{DoxyCode} - - -Here is the call graph for this function: - - - - -Here is the caller graph for this function: - - -\hypertarget{signalHandling_8c_a64612b9588ed0fb05d70680db02b3630}{ -\index{signalHandling.c@{signalHandling.c}!terminate@{terminate}} -\index{terminate@{terminate}!signalHandling.c@{signalHandling.c}} -\subsubsection[{terminate}]{\setlength{\rightskip}{0pt plus 5cm}void terminate ( -\begin{DoxyParamCaption} -\item[{int}]{signum} -\end{DoxyParamCaption} -)}} -\label{signalHandling_8c_a64612b9588ed0fb05d70680db02b3630} - - -Definition at line 5 of file signalHandling.c. - - -\begin{DoxyCode} -{ - signal(signum, SIG_IGN); - /* - * @TODO do logging here - */ - doShutdown = 1; -} -\end{DoxyCode} - - -Here is the caller graph for this function: - - - - -\subsection{Variable Documentation} -\hypertarget{signalHandling_8c_a960e985a396acaabb1bbed4f15668ade}{ -\index{signalHandling.c@{signalHandling.c}!doShutdown@{doShutdown}} -\index{doShutdown@{doShutdown}!signalHandling.c@{signalHandling.c}} -\subsubsection[{doShutdown}]{\setlength{\rightskip}{0pt plus 5cm}volatile int {\bf doShutdown}}} -\label{signalHandling_8c_a960e985a396acaabb1bbed4f15668ade} - - -Definition at line 3 of file signalHandling.c. - diff --git a/docs/latex/signalHandling_8c__incl.dot b/docs/latex/signalHandling_8c__incl.dot deleted file mode 100644 index 0ab8267..0000000 --- a/docs/latex/signalHandling_8c__incl.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/signalHandling.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="signal.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/signalHandling_8c__incl.md5 b/docs/latex/signalHandling_8c__incl.md5 deleted file mode 100644 index 0c9b080..0000000 --- a/docs/latex/signalHandling_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -857af70172db85996ec747c4ff4dd767 \ No newline at end of file diff --git a/docs/latex/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_cgraph.dot b/docs/latex/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_cgraph.dot deleted file mode 100644 index f31d7b5..0000000 --- a/docs/latex/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_cgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="init_signals",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="terminate",height=0.2,width=0.4,color="black",URL="$signalHandling_8h.html#a64612b9588ed0fb05d70680db02b3630"]; -} diff --git a/docs/latex/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_cgraph.md5 b/docs/latex/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_cgraph.md5 deleted file mode 100644 index ac99ab1..0000000 --- a/docs/latex/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -45f2c1327c7275652c55ad27e89ccb8d \ No newline at end of file diff --git a/docs/latex/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_icgraph.dot b/docs/latex/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_icgraph.dot deleted file mode 100644 index 4931f0a..0000000 --- a/docs/latex/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_icgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="init_signals",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="main",height=0.2,width=0.4,color="black",URL="$testserver_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4"]; -} diff --git a/docs/latex/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_icgraph.md5 b/docs/latex/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_icgraph.md5 deleted file mode 100644 index 3e357ac..0000000 --- a/docs/latex/signalHandling_8c_a1de31bdef82f181f8045b94ae0933916_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -9ecf176d9ba1c7bc639926d14eccfac7 \ No newline at end of file diff --git a/docs/latex/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.dot b/docs/latex/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.dot deleted file mode 100644 index dc5fe1b..0000000 --- a/docs/latex/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.dot +++ /dev/null @@ -1,12 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="terminate",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="init_signals",height=0.2,width=0.4,color="black",URL="$signalHandling_8c.html#a1de31bdef82f181f8045b94ae0933916"]; - Node2 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="main",height=0.2,width=0.4,color="black",URL="$testserver_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4"]; -} diff --git a/docs/latex/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.md5 b/docs/latex/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.md5 deleted file mode 100644 index 19f8ce8..0000000 --- a/docs/latex/signalHandling_8c_a64612b9588ed0fb05d70680db02b3630_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -a55d8b6cee2e92217998bd1eef349153 \ No newline at end of file diff --git a/docs/latex/signalHandling_8h.tex b/docs/latex/signalHandling_8h.tex deleted file mode 100644 index 682d5cb..0000000 --- a/docs/latex/signalHandling_8h.tex +++ /dev/null @@ -1,96 +0,0 @@ -\hypertarget{signalHandling_8h}{ -\section{include/signalHandling.h File Reference} -\label{signalHandling_8h}\index{include/signalHandling.h@{include/signalHandling.h}} -} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void \hyperlink{signalHandling_8h_a64612b9588ed0fb05d70680db02b3630}{terminate} (int signum) -\item -void \hyperlink{signalHandling_8h_a1de31bdef82f181f8045b94ae0933916}{init\_\-signals} (void) -\end{DoxyCompactItemize} -\subsection*{Variables} -\begin{DoxyCompactItemize} -\item -volatile int \hyperlink{signalHandling_8h_a960e985a396acaabb1bbed4f15668ade}{doShutdown} -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{signalHandling_8h_a1de31bdef82f181f8045b94ae0933916}{ -\index{signalHandling.h@{signalHandling.h}!init\_\-signals@{init\_\-signals}} -\index{init\_\-signals@{init\_\-signals}!signalHandling.h@{signalHandling.h}} -\subsubsection[{init\_\-signals}]{\setlength{\rightskip}{0pt plus 5cm}void init\_\-signals ( -\begin{DoxyParamCaption} -\item[{void}]{} -\end{DoxyParamCaption} -)}} -\label{signalHandling_8h_a1de31bdef82f181f8045b94ae0933916} - - -Definition at line 14 of file signalHandling.c. - - -\begin{DoxyCode} -{ - signal(SIGTERM, terminate); - signal(SIGHUP, SIG_IGN); - signal(SIGINT, terminate); - signal(SIGQUIT, terminate); - signal(SIGABRT, terminate); - signal(SIGALRM, SIG_IGN); - signal(SIGURG, SIG_IGN); - - signal(SIGPIPE, SIG_IGN); -} -\end{DoxyCode} - - -Here is the call graph for this function: - - - - -Here is the caller graph for this function: - - -\hypertarget{signalHandling_8h_a64612b9588ed0fb05d70680db02b3630}{ -\index{signalHandling.h@{signalHandling.h}!terminate@{terminate}} -\index{terminate@{terminate}!signalHandling.h@{signalHandling.h}} -\subsubsection[{terminate}]{\setlength{\rightskip}{0pt plus 5cm}void terminate ( -\begin{DoxyParamCaption} -\item[{int}]{signum} -\end{DoxyParamCaption} -)}} -\label{signalHandling_8h_a64612b9588ed0fb05d70680db02b3630} - - -Definition at line 5 of file signalHandling.c. - - -\begin{DoxyCode} -{ - signal(signum, SIG_IGN); - /* - * @TODO do logging here - */ - doShutdown = 1; -} -\end{DoxyCode} - - -Here is the caller graph for this function: - - - - -\subsection{Variable Documentation} -\hypertarget{signalHandling_8h_a960e985a396acaabb1bbed4f15668ade}{ -\index{signalHandling.h@{signalHandling.h}!doShutdown@{doShutdown}} -\index{doShutdown@{doShutdown}!signalHandling.h@{signalHandling.h}} -\subsubsection[{doShutdown}]{\setlength{\rightskip}{0pt plus 5cm}volatile int {\bf doShutdown}}} -\label{signalHandling_8h_a960e985a396acaabb1bbed4f15668ade} - - -Definition at line 3 of file signalHandling.c. - diff --git a/docs/latex/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.dot b/docs/latex/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.dot deleted file mode 100644 index f31d7b5..0000000 --- a/docs/latex/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="init_signals",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="terminate",height=0.2,width=0.4,color="black",URL="$signalHandling_8h.html#a64612b9588ed0fb05d70680db02b3630"]; -} diff --git a/docs/latex/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.md5 b/docs/latex/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.md5 deleted file mode 100644 index ac99ab1..0000000 --- a/docs/latex/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -45f2c1327c7275652c55ad27e89ccb8d \ No newline at end of file diff --git a/docs/latex/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_icgraph.dot b/docs/latex/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_icgraph.dot deleted file mode 100644 index 4931f0a..0000000 --- a/docs/latex/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_icgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="init_signals",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="main",height=0.2,width=0.4,color="black",URL="$testserver_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4"]; -} diff --git a/docs/latex/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_icgraph.md5 b/docs/latex/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_icgraph.md5 deleted file mode 100644 index 3e357ac..0000000 --- a/docs/latex/signalHandling_8h_a1de31bdef82f181f8045b94ae0933916_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -9ecf176d9ba1c7bc639926d14eccfac7 \ No newline at end of file diff --git a/docs/latex/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.dot b/docs/latex/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.dot deleted file mode 100644 index dc5fe1b..0000000 --- a/docs/latex/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.dot +++ /dev/null @@ -1,12 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="terminate",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="init_signals",height=0.2,width=0.4,color="black",URL="$signalHandling_8c.html#a1de31bdef82f181f8045b94ae0933916"]; - Node2 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="main",height=0.2,width=0.4,color="black",URL="$testserver_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4"]; -} diff --git a/docs/latex/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.md5 b/docs/latex/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.md5 deleted file mode 100644 index 19f8ce8..0000000 --- a/docs/latex/signalHandling_8h_a64612b9588ed0fb05d70680db02b3630_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -a55d8b6cee2e92217998bd1eef349153 \ No newline at end of file diff --git a/docs/latex/socket_8c.tex b/docs/latex/socket_8c.tex deleted file mode 100644 index 7a93ebb..0000000 --- a/docs/latex/socket_8c.tex +++ /dev/null @@ -1,45 +0,0 @@ -\hypertarget{socket_8c}{ -\section{src/socket.c File Reference} -\label{socket_8c}\index{src/socket.c@{src/socket.c}} -} -{\ttfamily \#include $<$errno.h$>$}\par -{\ttfamily \#include $<$stdlib.h$>$}\par -{\ttfamily \#include $<$unistd.h$>$}\par -{\ttfamily \#include \char`\"{}socket.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}logger.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/logger.h\char`\"{}}\par -Include dependency graph for socket.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{socket_8c_a4dd368b7bead6fa0805e91405d90f786}{INIT\_\-IFACE} (Class, ctor, dtor, NULL) -\item -\hyperlink{socket_8c_a924e6743ea24bce5099df53ea23f25d5}{CREATE\_\-CLASS} (\hyperlink{structSock}{Sock}, NULL, IFACE(Class)) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{socket_8c_a924e6743ea24bce5099df53ea23f25d5}{ -\index{socket.c@{socket.c}!CREATE\_\-CLASS@{CREATE\_\-CLASS}} -\index{CREATE\_\-CLASS@{CREATE\_\-CLASS}!socket.c@{socket.c}} -\subsubsection[{CREATE\_\-CLASS}]{\setlength{\rightskip}{0pt plus 5cm}CREATE\_\-CLASS ( -\begin{DoxyParamCaption} -\item[{{\bf Sock}}]{, } -\item[{NULL}]{, } -\item[{IFACE(Class)}]{} -\end{DoxyParamCaption} -)}} -\label{socket_8c_a924e6743ea24bce5099df53ea23f25d5} -\hypertarget{socket_8c_a4dd368b7bead6fa0805e91405d90f786}{ -\index{socket.c@{socket.c}!INIT\_\-IFACE@{INIT\_\-IFACE}} -\index{INIT\_\-IFACE@{INIT\_\-IFACE}!socket.c@{socket.c}} -\subsubsection[{INIT\_\-IFACE}]{\setlength{\rightskip}{0pt plus 5cm}INIT\_\-IFACE ( -\begin{DoxyParamCaption} -\item[{Class}]{, } -\item[{ctor}]{, } -\item[{dtor}]{, } -\item[{NULL}]{} -\end{DoxyParamCaption} -)}} -\label{socket_8c_a4dd368b7bead6fa0805e91405d90f786} diff --git a/docs/latex/socket_8c__incl.dot b/docs/latex/socket_8c__incl.dot deleted file mode 100644 index 6f7135e..0000000 --- a/docs/latex/socket_8c__incl.dot +++ /dev/null @@ -1,21 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/socket.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="errno.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="unistd.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="socket.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="logger.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid"]; - Node7 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid"]; - Node8 [label="interface/logger.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/socket_8c__incl.md5 b/docs/latex/socket_8c__incl.md5 deleted file mode 100644 index ca794ee..0000000 --- a/docs/latex/socket_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -0f14f40610598c367e5a99e6eec91341 \ No newline at end of file diff --git a/docs/latex/socket_8h.tex b/docs/latex/socket_8h.tex deleted file mode 100644 index 8835ac4..0000000 --- a/docs/latex/socket_8h.tex +++ /dev/null @@ -1,158 +0,0 @@ -\hypertarget{socket_8h}{ -\section{include/socket.h File Reference} -\label{socket_8h}\index{include/socket.h@{include/socket.h}} -} -{\ttfamily \#include $<$arpa/inet.h$>$}\par -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}logger.h\char`\"{}}\par -Include dependency graph for socket.h: -This graph shows which files directly or indirectly include this file: -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structSock}{Sock} -\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void \hyperlink{socket_8h_adbfc4792c437102f20e2c86c4ee8581b}{socketConnect} (\hyperlink{structSock}{Sock} this, const char $\ast$addr) -\item -void \hyperlink{socket_8h_a757c220e9371523ef55b1137a1efed57}{socketListen} (\hyperlink{structSock}{Sock} this, int backlog) -\item -\hyperlink{structSock}{Sock} \hyperlink{socket_8h_a46aa6b495ccf752e844f93bf46c9edd6}{socketAccept} (\hyperlink{structSock}{Sock} this, char remoteAddr\mbox{[}16\mbox{]}) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{socket_8h_a46aa6b495ccf752e844f93bf46c9edd6}{ -\index{socket.h@{socket.h}!socketAccept@{socketAccept}} -\index{socketAccept@{socketAccept}!socket.h@{socket.h}} -\subsubsection[{socketAccept}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Sock} socketAccept ( -\begin{DoxyParamCaption} -\item[{{\bf Sock}}]{this, } -\item[{char}]{remoteAddr\mbox{[}16\mbox{]}} -\end{DoxyParamCaption} -)}} -\label{socket_8h_a46aa6b495ccf752e844f93bf46c9edd6} - - -: Uhh, this is bad. we open a new socket additionally to the one we get from the accept call. i have to change the socket constructor to be able to create the data structure without creation of a socket at all. For now i simply close the socket here.... :D - -: change port to remote port on success - - - -Definition at line 9 of file accept.c. - - -\begin{DoxyCode} -{ - Sock sock; /* Socket for client */ - unsigned int len; /* Length of client address data structure */ - - /* Set the size of the in-out parameter */ - len = sizeof(this->addr); - - sock = new(Sock, this->log, this->port); - close(sock->handle); - /* Wait for a client to connect */ - sock->handle = accept(this->handle, (struct sockaddr *) &(sock->addr), &len); - - if (-1 == sock->handle) { - loggerLog(this->log, LOGGER_WARNING, - "error accepting connection: %s", strerror(errno)); - } else { - loggerLog(this->log, LOGGER_INFO, - "handling client %s\n", inet_ntoa((sock->addr).si - n_addr)); - } - - return sock; -} -\end{DoxyCode} - - -Here is the call graph for this function: - - -\hypertarget{socket_8h_adbfc4792c437102f20e2c86c4ee8581b}{ -\index{socket.h@{socket.h}!socketConnect@{socketConnect}} -\index{socketConnect@{socketConnect}!socket.h@{socket.h}} -\subsubsection[{socketConnect}]{\setlength{\rightskip}{0pt plus 5cm}void socketConnect ( -\begin{DoxyParamCaption} -\item[{{\bf Sock}}]{this, } -\item[{const char $\ast$}]{addr} -\end{DoxyParamCaption} -)}} -\label{socket_8h_adbfc4792c437102f20e2c86c4ee8581b} - - -Definition at line 10 of file connect.c. - - -\begin{DoxyCode} -{ - inet_pton(AF_INET, addr, &((this->addr).sin_addr)); - (this->addr).sin_family = AF_INET; /* Internet address family */ - (this->addr).sin_port = htons(this->port); /* Local port */ - - if (-1 == connect(this->handle, (struct sockaddr*) &(this->addr), sizeof( - this->addr))) { - loggerLog(this->log, LOGGER_CRIT, - "error connection socket: %s - service terminated", - strerror(errno)); - exit(EXIT_FAILURE); - } -} -\end{DoxyCode} - - -Here is the call graph for this function: - - -\hypertarget{socket_8h_a757c220e9371523ef55b1137a1efed57}{ -\index{socket.h@{socket.h}!socketListen@{socketListen}} -\index{socketListen@{socketListen}!socket.h@{socket.h}} -\subsubsection[{socketListen}]{\setlength{\rightskip}{0pt plus 5cm}void socketListen ( -\begin{DoxyParamCaption} -\item[{{\bf Sock}}]{this, } -\item[{int}]{backlog} -\end{DoxyParamCaption} -)}} -\label{socket_8h_a757c220e9371523ef55b1137a1efed57} - - -Definition at line 10 of file listen.c. - - -\begin{DoxyCode} -{ - (this->addr).sin_family = AF_INET; /* Internet address family - */ - (this->addr).sin_addr.s_addr = htonl(INADDR_ANY); /* Any incoming interface * - / - (this->addr).sin_port = htons(this->port); /* Local port */ - - /* Bind to the local address */ - if (-1 == bind(this->handle, (struct sockaddr *) &(this->addr), sizeof(this-> - addr))) { - loggerLog(this->log, LOGGER_CRIT, - "error binding socket: %s - service terminated", - strerror(errno)); - exit(EXIT_FAILURE); - } - - /* Mark the socket so it will listen for incoming connections */ - if (-1 == listen(this->handle, backlog)) { - loggerLog(this->log, LOGGER_CRIT, - "error binding socket: %s - service terminated", - strerror(errno)); - exit(EXIT_FAILURE); - } -} -\end{DoxyCode} - - -Here is the call graph for this function: - - diff --git a/docs/latex/socket_8h__dep__incl.dot b/docs/latex/socket_8h__dep__incl.dot deleted file mode 100644 index 7e2751d..0000000 --- a/docs/latex/socket_8h__dep__incl.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/socket.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="include/server.h",height=0.2,width=0.4,color="black",URL="$server_8h.html"]; -} diff --git a/docs/latex/socket_8h__dep__incl.md5 b/docs/latex/socket_8h__dep__incl.md5 deleted file mode 100644 index 6c6ad52..0000000 --- a/docs/latex/socket_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -be4aa435c0fde097ba5af12b3f569453 \ No newline at end of file diff --git a/docs/latex/socket_8h__incl.dot b/docs/latex/socket_8h__incl.dot deleted file mode 100644 index 829138b..0000000 --- a/docs/latex/socket_8h__incl.dot +++ /dev/null @@ -1,25 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/socket.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="arpa/inet.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="class.h",height=0.2,width=0.4,color="black",URL="$class_8h.html"]; - Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="stdarg.h",height=0.2,width=0.4,color="grey75"]; - Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; - Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="string.h",height=0.2,width=0.4,color="grey75"]; - Node3 -> Node7 [color="midnightblue",fontsize="10",style="solid"]; - Node7 [label="assert.h",height=0.2,width=0.4,color="grey75"]; - Node3 -> Node8 [color="midnightblue",fontsize="10",style="solid"]; - Node8 [label="interface.h",height=0.2,width=0.4,color="black",URL="$interface_8h.html"]; - Node8 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid"]; - Node9 [label="logger.h",height=0.2,width=0.4,color="black",URL="$logger_8h.html"]; - Node9 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; -} diff --git a/docs/latex/socket_8h__incl.md5 b/docs/latex/socket_8h__incl.md5 deleted file mode 100644 index df388c5..0000000 --- a/docs/latex/socket_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -21e47294b560e93a3251b7d99924fbcf \ No newline at end of file diff --git a/docs/latex/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.dot b/docs/latex/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.dot deleted file mode 100644 index 8db5343..0000000 --- a/docs/latex/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="socketAccept",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="loggerLog",height=0.2,width=0.4,color="black",URL="$interface_2logger_8h.html#ae9f8662ec8b300dcfb5064906937553e"]; -} diff --git a/docs/latex/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 b/docs/latex/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 deleted file mode 100644 index 30c94d1..0000000 --- a/docs/latex/socket_8h_a46aa6b495ccf752e844f93bf46c9edd6_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -a87e97e5a05cbb8f89e4bc27d3257053 \ No newline at end of file diff --git a/docs/latex/socket_8h_a757c220e9371523ef55b1137a1efed57_cgraph.dot b/docs/latex/socket_8h_a757c220e9371523ef55b1137a1efed57_cgraph.dot deleted file mode 100644 index 457e774..0000000 --- a/docs/latex/socket_8h_a757c220e9371523ef55b1137a1efed57_cgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="socketListen",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="loggerLog",height=0.2,width=0.4,color="black",URL="$interface_2logger_8h.html#ae9f8662ec8b300dcfb5064906937553e"]; -} diff --git a/docs/latex/socket_8h_a757c220e9371523ef55b1137a1efed57_cgraph.md5 b/docs/latex/socket_8h_a757c220e9371523ef55b1137a1efed57_cgraph.md5 deleted file mode 100644 index 8d1cc7c..0000000 --- a/docs/latex/socket_8h_a757c220e9371523ef55b1137a1efed57_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -9119991752c8de97a1c44af5d17e244c \ No newline at end of file diff --git a/docs/latex/socket_8h_adbfc4792c437102f20e2c86c4ee8581b_cgraph.dot b/docs/latex/socket_8h_adbfc4792c437102f20e2c86c4ee8581b_cgraph.dot deleted file mode 100644 index de308ae..0000000 --- a/docs/latex/socket_8h_adbfc4792c437102f20e2c86c4ee8581b_cgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="socketConnect",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="loggerLog",height=0.2,width=0.4,color="black",URL="$interface_2logger_8h.html#ae9f8662ec8b300dcfb5064906937553e"]; -} diff --git a/docs/latex/socket_8h_adbfc4792c437102f20e2c86c4ee8581b_cgraph.md5 b/docs/latex/socket_8h_adbfc4792c437102f20e2c86c4ee8581b_cgraph.md5 deleted file mode 100644 index 39afb5b..0000000 --- a/docs/latex/socket_8h_adbfc4792c437102f20e2c86c4ee8581b_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -d4b61c03fa9446761ec7f4284d17967f \ No newline at end of file diff --git a/docs/latex/sort_8c.tex b/docs/latex/sort_8c.tex deleted file mode 100644 index 16620c6..0000000 --- a/docs/latex/sort_8c.tex +++ /dev/null @@ -1,39 +0,0 @@ -\hypertarget{sort_8c}{ -\section{src/http/header/sort.c File Reference} -\label{sort_8c}\index{src/http/header/sort.c@{src/http/header/sort.c}} -} -{\ttfamily \#include \char`\"{}http/header.h\char`\"{}}\par -Include dependency graph for sort.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -void \hyperlink{sort_8c_ad438f1a61df8ee1f19ef193370b902d2}{httpHeaderSort} (const \hyperlink{structHttpHeader}{HttpHeader} header\mbox{[}$\,$\mbox{]}, int nheader) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{sort_8c_ad438f1a61df8ee1f19ef193370b902d2}{ -\index{sort.c@{sort.c}!httpHeaderSort@{httpHeaderSort}} -\index{httpHeaderSort@{httpHeaderSort}!sort.c@{sort.c}} -\subsubsection[{httpHeaderSort}]{\setlength{\rightskip}{0pt plus 5cm}void httpHeaderSort ( -\begin{DoxyParamCaption} -\item[{const {\bf HttpHeader}}]{header\mbox{[}$\,$\mbox{]}, } -\item[{int}]{nheader} -\end{DoxyParamCaption} -)}} -\label{sort_8c_ad438f1a61df8ee1f19ef193370b902d2} - - -Definition at line 14 of file sort.c. - - -\begin{DoxyCode} -{ - qsort(header, nheader, sizeof(HttpHeader), comp); -} -\end{DoxyCode} - - -Here is the caller graph for this function: - - diff --git a/docs/latex/sort_8c__incl.dot b/docs/latex/sort_8c__incl.dot deleted file mode 100644 index d9fb4f0..0000000 --- a/docs/latex/sort_8c__incl.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/http/header/sort.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="http/header.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/sort_8c__incl.md5 b/docs/latex/sort_8c__incl.md5 deleted file mode 100644 index 5b7c2f6..0000000 --- a/docs/latex/sort_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -a1d2a9172a1ae808b71ca401f8b54229 \ No newline at end of file diff --git a/docs/latex/sort_8c_ad438f1a61df8ee1f19ef193370b902d2_icgraph.dot b/docs/latex/sort_8c_ad438f1a61df8ee1f19ef193370b902d2_icgraph.dot deleted file mode 100644 index 4d2f27f..0000000 --- a/docs/latex/sort_8c_ad438f1a61df8ee1f19ef193370b902d2_icgraph.dot +++ /dev/null @@ -1,10 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="httpHeaderSort",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="httpRequestParserParse",height=0.2,width=0.4,color="black",URL="$parser_8c.html#a659e7ea125685d797a099638b3376320"]; -} diff --git a/docs/latex/sort_8c_ad438f1a61df8ee1f19ef193370b902d2_icgraph.md5 b/docs/latex/sort_8c_ad438f1a61df8ee1f19ef193370b902d2_icgraph.md5 deleted file mode 100644 index 9062fa0..0000000 --- a/docs/latex/sort_8c_ad438f1a61df8ee1f19ef193370b902d2_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -d4dd874c170f6f96950bc1c377a2b156 \ No newline at end of file diff --git a/docs/latex/stderr_8c.tex b/docs/latex/stderr_8c.tex deleted file mode 100644 index 71062a2..0000000 --- a/docs/latex/stderr_8c.tex +++ /dev/null @@ -1,39 +0,0 @@ -\hypertarget{stderr_8c}{ -\section{src/logger/stderr.c File Reference} -\label{stderr_8c}\index{src/logger/stderr.c@{src/logger/stderr.c}} -} -{\ttfamily \#include $<$stdio.h$>$}\par -{\ttfamily \#include \char`\"{}logger.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/logger.h\char`\"{}}\par -Include dependency graph for stderr.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{stderr_8c_a677bd96e9a85b74f5624a07221b79fbc}{INIT\_\-IFACE} (\hyperlink{structLogger}{Logger}, logStderr) -\item -\hyperlink{stderr_8c_a2536b6205a32b98ee5ee97ace564a412}{CREATE\_\-CLASS} (\hyperlink{structLoggerStderr}{LoggerStderr}, \hyperlink{structLogger}{Logger}, IFACE(\hyperlink{structLogger}{Logger})) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{stderr_8c_a2536b6205a32b98ee5ee97ace564a412}{ -\index{stderr.c@{stderr.c}!CREATE\_\-CLASS@{CREATE\_\-CLASS}} -\index{CREATE\_\-CLASS@{CREATE\_\-CLASS}!stderr.c@{stderr.c}} -\subsubsection[{CREATE\_\-CLASS}]{\setlength{\rightskip}{0pt plus 5cm}CREATE\_\-CLASS ( -\begin{DoxyParamCaption} -\item[{{\bf LoggerStderr}}]{, } -\item[{{\bf Logger}}]{, } -\item[{IFACE({\bf Logger})}]{} -\end{DoxyParamCaption} -)}} -\label{stderr_8c_a2536b6205a32b98ee5ee97ace564a412} -\hypertarget{stderr_8c_a677bd96e9a85b74f5624a07221b79fbc}{ -\index{stderr.c@{stderr.c}!INIT\_\-IFACE@{INIT\_\-IFACE}} -\index{INIT\_\-IFACE@{INIT\_\-IFACE}!stderr.c@{stderr.c}} -\subsubsection[{INIT\_\-IFACE}]{\setlength{\rightskip}{0pt plus 5cm}INIT\_\-IFACE ( -\begin{DoxyParamCaption} -\item[{{\bf Logger}}]{, } -\item[{logStderr}]{} -\end{DoxyParamCaption} -)}} -\label{stderr_8c_a677bd96e9a85b74f5624a07221b79fbc} diff --git a/docs/latex/stderr_8c__incl.dot b/docs/latex/stderr_8c__incl.dot deleted file mode 100644 index c805829..0000000 --- a/docs/latex/stderr_8c__incl.dot +++ /dev/null @@ -1,13 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/logger/stderr.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdio.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="logger.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="interface/logger.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/stderr_8c__incl.md5 b/docs/latex/stderr_8c__incl.md5 deleted file mode 100644 index 78e33b8..0000000 --- a/docs/latex/stderr_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -07a8f3d871f6067bb59348f10c3a93a6 \ No newline at end of file diff --git a/docs/latex/stream__reader_8c.tex b/docs/latex/stream__reader_8c.tex deleted file mode 100644 index cbd3089..0000000 --- a/docs/latex/stream__reader_8c.tex +++ /dev/null @@ -1,39 +0,0 @@ -\hypertarget{stream__reader_8c}{ -\section{src/interface/stream\_\-reader.c File Reference} -\label{stream__reader_8c}\index{src/interface/stream\_\-reader.c@{src/interface/stream\_\-reader.c}} -} -{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/stream\_\-reader.h\char`\"{}}\par -Include dependency graph for stream\_\-reader.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -size\_\-t \hyperlink{stream__reader_8c_aae6ed042c16a2d5f008c550fe116ad40}{streamReaderRead} (void $\ast$object, int fd) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{stream__reader_8c_aae6ed042c16a2d5f008c550fe116ad40}{ -\index{stream\_\-reader.c@{stream\_\-reader.c}!streamReaderRead@{streamReaderRead}} -\index{streamReaderRead@{streamReaderRead}!stream_reader.c@{stream\_\-reader.c}} -\subsubsection[{streamReaderRead}]{\setlength{\rightskip}{0pt plus 5cm}size\_\-t streamReaderRead ( -\begin{DoxyParamCaption} -\item[{void $\ast$}]{object, } -\item[{int}]{fd} -\end{DoxyParamCaption} -)}} -\label{stream__reader_8c_aae6ed042c16a2d5f008c550fe116ad40} - - -Definition at line 10 of file stream\_\-reader.c. - - -\begin{DoxyCode} -{ - size_t ret; - - RETCALL(object, StreamReader, read, ret, fd); - - return ret; -} -\end{DoxyCode} diff --git a/docs/latex/stream__reader_8c__incl.dot b/docs/latex/stream__reader_8c__incl.dot deleted file mode 100644 index 1d1ef1c..0000000 --- a/docs/latex/stream__reader_8c__incl.dot +++ /dev/null @@ -1,11 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/interface/stream_reader.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="class.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="interface/stream_reader.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/stream__reader_8c__incl.md5 b/docs/latex/stream__reader_8c__incl.md5 deleted file mode 100644 index 0445dd3..0000000 --- a/docs/latex/stream__reader_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -dae215e28e2dc15c79918e685a8a47af \ No newline at end of file diff --git a/docs/latex/stream__reader_8h.tex b/docs/latex/stream__reader_8h.tex deleted file mode 100644 index 2648a4c..0000000 --- a/docs/latex/stream__reader_8h.tex +++ /dev/null @@ -1,60 +0,0 @@ -\hypertarget{stream__reader_8h}{ -\section{include/interface/stream\_\-reader.h File Reference} -\label{stream__reader_8h}\index{include/interface/stream\_\-reader.h@{include/interface/stream\_\-reader.h}} -} -{\ttfamily \#include $<$sys/types.h$>$}\par -Include dependency graph for stream\_\-reader.h: -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structi__StreamReader}{i\_\-StreamReader} -\end{DoxyCompactItemize} -\subsection*{Typedefs} -\begin{DoxyCompactItemize} -\item -typedef size\_\-t($\ast$ \hyperlink{stream__reader_8h_a658a56ce1aa463cc7de51f42080ca24f}{fptr\_\-streamReaderRead} )(void $\ast$, int fd) -\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -size\_\-t \hyperlink{stream__reader_8h_a8a8ae2e5ad974a747042b5dd70e31ca8}{streamReaderRead} (void $\ast$, int fd) -\end{DoxyCompactItemize} - - -\subsection{Typedef Documentation} -\hypertarget{stream__reader_8h_a658a56ce1aa463cc7de51f42080ca24f}{ -\index{stream\_\-reader.h@{stream\_\-reader.h}!fptr\_\-streamReaderRead@{fptr\_\-streamReaderRead}} -\index{fptr\_\-streamReaderRead@{fptr\_\-streamReaderRead}!stream_reader.h@{stream\_\-reader.h}} -\subsubsection[{fptr\_\-streamReaderRead}]{\setlength{\rightskip}{0pt plus 5cm}typedef size\_\-t($\ast$ {\bf fptr\_\-streamReaderRead})(void $\ast$, int fd)}} -\label{stream__reader_8h_a658a56ce1aa463cc7de51f42080ca24f} - - -Definition at line 6 of file stream\_\-reader.h. - - - -\subsection{Function Documentation} -\hypertarget{stream__reader_8h_a8a8ae2e5ad974a747042b5dd70e31ca8}{ -\index{stream\_\-reader.h@{stream\_\-reader.h}!streamReaderRead@{streamReaderRead}} -\index{streamReaderRead@{streamReaderRead}!stream_reader.h@{stream\_\-reader.h}} -\subsubsection[{streamReaderRead}]{\setlength{\rightskip}{0pt plus 5cm}size\_\-t streamReaderRead ( -\begin{DoxyParamCaption} -\item[{void $\ast$}]{, } -\item[{int}]{fd} -\end{DoxyParamCaption} -)}} -\label{stream__reader_8h_a8a8ae2e5ad974a747042b5dd70e31ca8} - - -Definition at line 10 of file stream\_\-reader.c. - - -\begin{DoxyCode} -{ - size_t ret; - - RETCALL(object, StreamReader, read, ret, fd); - - return ret; -} -\end{DoxyCode} diff --git a/docs/latex/stream__reader_8h__incl.dot b/docs/latex/stream__reader_8h__incl.dot deleted file mode 100644 index e65c698..0000000 --- a/docs/latex/stream__reader_8h__incl.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="include/interface/stream_reader.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/stream__reader_8h__incl.md5 b/docs/latex/stream__reader_8h__incl.md5 deleted file mode 100644 index 451a3db..0000000 --- a/docs/latex/stream__reader_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -cd75f61cfe073ac9988b9bb4a3d47b0a \ No newline at end of file diff --git a/docs/latex/structHttpHeader.tex b/docs/latex/structHttpHeader.tex deleted file mode 100644 index 5c563be..0000000 --- a/docs/latex/structHttpHeader.tex +++ /dev/null @@ -1,59 +0,0 @@ -\hypertarget{structHttpHeader}{ -\section{HttpHeader Struct Reference} -\label{structHttpHeader}\index{HttpHeader@{HttpHeader}} -} - - -{\ttfamily \#include $<$header.h$>$} - -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -unsigned long \hyperlink{structHttpHeader_a60c635bed9da0be4f2db9a1f453d73ee}{hash} -\item -char $\ast$ \hyperlink{structHttpHeader_a84cd71e92a4b68eb176446c8acfc9a0f}{name} -\item -char $\ast$ \hyperlink{structHttpHeader_aa7dd0f8361dba57f5be17ff9c6a181e5}{value} -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} - - -Definition at line 6 of file header.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structHttpHeader_a60c635bed9da0be4f2db9a1f453d73ee}{ -\index{HttpHeader@{HttpHeader}!hash@{hash}} -\index{hash@{hash}!HttpHeader@{HttpHeader}} -\subsubsection[{hash}]{\setlength{\rightskip}{0pt plus 5cm}unsigned long {\bf HttpHeader::hash}}} -\label{structHttpHeader_a60c635bed9da0be4f2db9a1f453d73ee} - - -Definition at line 21 of file header.h. - -\hypertarget{structHttpHeader_a84cd71e92a4b68eb176446c8acfc9a0f}{ -\index{HttpHeader@{HttpHeader}!name@{name}} -\index{name@{name}!HttpHeader@{HttpHeader}} -\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf HttpHeader::name}}} -\label{structHttpHeader_a84cd71e92a4b68eb176446c8acfc9a0f} - - -Definition at line 22 of file header.h. - -\hypertarget{structHttpHeader_aa7dd0f8361dba57f5be17ff9c6a181e5}{ -\index{HttpHeader@{HttpHeader}!value@{value}} -\index{value@{value}!HttpHeader@{HttpHeader}} -\subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf HttpHeader::value}}} -\label{structHttpHeader_aa7dd0f8361dba57f5be17ff9c6a181e5} - - -Definition at line 23 of file header.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -include/http/\hyperlink{header_8h}{header.h}\end{DoxyCompactItemize} diff --git a/docs/latex/structHttpRequest.tex b/docs/latex/structHttpRequest.tex deleted file mode 100644 index 2703353..0000000 --- a/docs/latex/structHttpRequest.tex +++ /dev/null @@ -1,106 +0,0 @@ -\hypertarget{structHttpRequest}{ -\section{HttpRequest Struct Reference} -\label{structHttpRequest}\index{HttpRequest@{HttpRequest}} -} - - -{\ttfamily \#include $<$request.h$>$} - - - -Collaboration diagram for HttpRequest: -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -char $\ast$ \hyperlink{structHttpRequest_a266c616e67dea85335c9fcfca6e5c0cb}{method} -\item -char $\ast$ \hyperlink{structHttpRequest_a3f880540d72ba70d88f8a312b256b7c9}{uri} -\item -char $\ast$ \hyperlink{structHttpRequest_aca04aed601a66376623f14c98244cb66}{version} -\item -\hyperlink{structHttpHeader}{HttpHeader} \hyperlink{structHttpRequest_afb868f467dd9d53bac726682415e7e05}{header} \mbox{[}128\mbox{]} -\item -int \hyperlink{structHttpRequest_abd65f3f675b3291d2ce6e584b6ada40d}{nheader} -\item -char $\ast$ \hyperlink{structHttpRequest_a4064a72196787ee73d246b117de2a7ef}{body} -\item -int \hyperlink{structHttpRequest_a797280ec2d7f176f386a3da15d202a94}{nbody} -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} - - -Definition at line 7 of file request.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structHttpRequest_a4064a72196787ee73d246b117de2a7ef}{ -\index{HttpRequest@{HttpRequest}!body@{body}} -\index{body@{body}!HttpRequest@{HttpRequest}} -\subsubsection[{body}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf HttpRequest::body}}} -\label{structHttpRequest_a4064a72196787ee73d246b117de2a7ef} - - -Definition at line 34 of file request.h. - -\hypertarget{structHttpRequest_afb868f467dd9d53bac726682415e7e05}{ -\index{HttpRequest@{HttpRequest}!header@{header}} -\index{header@{header}!HttpRequest@{HttpRequest}} -\subsubsection[{header}]{\setlength{\rightskip}{0pt plus 5cm}{\bf HttpHeader} {\bf HttpRequest::header}\mbox{[}128\mbox{]}}} -\label{structHttpRequest_afb868f467dd9d53bac726682415e7e05} - - -Definition at line 31 of file request.h. - -\hypertarget{structHttpRequest_a266c616e67dea85335c9fcfca6e5c0cb}{ -\index{HttpRequest@{HttpRequest}!method@{method}} -\index{method@{method}!HttpRequest@{HttpRequest}} -\subsubsection[{method}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf HttpRequest::method}}} -\label{structHttpRequest_a266c616e67dea85335c9fcfca6e5c0cb} - - -Definition at line 27 of file request.h. - -\hypertarget{structHttpRequest_a797280ec2d7f176f386a3da15d202a94}{ -\index{HttpRequest@{HttpRequest}!nbody@{nbody}} -\index{nbody@{nbody}!HttpRequest@{HttpRequest}} -\subsubsection[{nbody}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf HttpRequest::nbody}}} -\label{structHttpRequest_a797280ec2d7f176f386a3da15d202a94} - - -Definition at line 35 of file request.h. - -\hypertarget{structHttpRequest_abd65f3f675b3291d2ce6e584b6ada40d}{ -\index{HttpRequest@{HttpRequest}!nheader@{nheader}} -\index{nheader@{nheader}!HttpRequest@{HttpRequest}} -\subsubsection[{nheader}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf HttpRequest::nheader}}} -\label{structHttpRequest_abd65f3f675b3291d2ce6e584b6ada40d} - - -Definition at line 32 of file request.h. - -\hypertarget{structHttpRequest_a3f880540d72ba70d88f8a312b256b7c9}{ -\index{HttpRequest@{HttpRequest}!uri@{uri}} -\index{uri@{uri}!HttpRequest@{HttpRequest}} -\subsubsection[{uri}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf HttpRequest::uri}}} -\label{structHttpRequest_a3f880540d72ba70d88f8a312b256b7c9} - - -Definition at line 28 of file request.h. - -\hypertarget{structHttpRequest_aca04aed601a66376623f14c98244cb66}{ -\index{HttpRequest@{HttpRequest}!version@{version}} -\index{version@{version}!HttpRequest@{HttpRequest}} -\subsubsection[{version}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf HttpRequest::version}}} -\label{structHttpRequest_aca04aed601a66376623f14c98244cb66} - - -Definition at line 29 of file request.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -include/http/\hyperlink{request_8h}{request.h}\end{DoxyCompactItemize} diff --git a/docs/latex/structHttpRequestParser.tex b/docs/latex/structHttpRequestParser.tex deleted file mode 100644 index 3909b89..0000000 --- a/docs/latex/structHttpRequestParser.tex +++ /dev/null @@ -1,84 +0,0 @@ -\hypertarget{structHttpRequestParser}{ -\section{HttpRequestParser Struct Reference} -\label{structHttpRequestParser}\index{HttpRequestParser@{HttpRequestParser}} -} - - -{\ttfamily \#include $<$request\_\-parser.h$>$} - - - -Collaboration diagram for HttpRequestParser: -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -char $\ast$ \hyperlink{structHttpRequestParser_a6c93a89e984f6ee2c7f52bfa281c2f94}{buffer} -\item -size\_\-t \hyperlink{structHttpRequestParser_a8c978afebc23adea883f35699d0b1421}{buffer\_\-used} -\item -size\_\-t \hyperlink{structHttpRequestParser_aa969bc054c7215c626abecdc2b0e4b31}{buffer\_\-size} -\item -\hyperlink{structHttpRequestQueue}{HttpRequestQueue} \hyperlink{structHttpRequestParser_a5106282e74d88ab2238d5a1e11e1877a}{request\_\-queue} -\item -\hyperlink{request__parser_8h_acaccfe3e34d50afe26e415749f7f4827}{HttpRequestState} \hyperlink{structHttpRequestParser_a8b0173db304820355cc8764e57cc5b63}{state} -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} - - -Definition at line 18 of file request\_\-parser.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structHttpRequestParser_a6c93a89e984f6ee2c7f52bfa281c2f94}{ -\index{HttpRequestParser@{HttpRequestParser}!buffer@{buffer}} -\index{buffer@{buffer}!HttpRequestParser@{HttpRequestParser}} -\subsubsection[{buffer}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf HttpRequestParser::buffer}}} -\label{structHttpRequestParser_a6c93a89e984f6ee2c7f52bfa281c2f94} - - -Definition at line 32 of file request\_\-parser.h. - -\hypertarget{structHttpRequestParser_aa969bc054c7215c626abecdc2b0e4b31}{ -\index{HttpRequestParser@{HttpRequestParser}!buffer\_\-size@{buffer\_\-size}} -\index{buffer\_\-size@{buffer\_\-size}!HttpRequestParser@{HttpRequestParser}} -\subsubsection[{buffer\_\-size}]{\setlength{\rightskip}{0pt plus 5cm}size\_\-t {\bf HttpRequestParser::buffer\_\-size}}} -\label{structHttpRequestParser_aa969bc054c7215c626abecdc2b0e4b31} - - -Definition at line 34 of file request\_\-parser.h. - -\hypertarget{structHttpRequestParser_a8c978afebc23adea883f35699d0b1421}{ -\index{HttpRequestParser@{HttpRequestParser}!buffer\_\-used@{buffer\_\-used}} -\index{buffer\_\-used@{buffer\_\-used}!HttpRequestParser@{HttpRequestParser}} -\subsubsection[{buffer\_\-used}]{\setlength{\rightskip}{0pt plus 5cm}size\_\-t {\bf HttpRequestParser::buffer\_\-used}}} -\label{structHttpRequestParser_a8c978afebc23adea883f35699d0b1421} - - -Definition at line 33 of file request\_\-parser.h. - -\hypertarget{structHttpRequestParser_a5106282e74d88ab2238d5a1e11e1877a}{ -\index{HttpRequestParser@{HttpRequestParser}!request\_\-queue@{request\_\-queue}} -\index{request\_\-queue@{request\_\-queue}!HttpRequestParser@{HttpRequestParser}} -\subsubsection[{request\_\-queue}]{\setlength{\rightskip}{0pt plus 5cm}{\bf HttpRequestQueue} {\bf HttpRequestParser::request\_\-queue}}} -\label{structHttpRequestParser_a5106282e74d88ab2238d5a1e11e1877a} - - -Definition at line 36 of file request\_\-parser.h. - -\hypertarget{structHttpRequestParser_a8b0173db304820355cc8764e57cc5b63}{ -\index{HttpRequestParser@{HttpRequestParser}!state@{state}} -\index{state@{state}!HttpRequestParser@{HttpRequestParser}} -\subsubsection[{state}]{\setlength{\rightskip}{0pt plus 5cm}{\bf HttpRequestState} {\bf HttpRequestParser::state}}} -\label{structHttpRequestParser_a8b0173db304820355cc8764e57cc5b63} - - -Definition at line 37 of file request\_\-parser.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -include/http/\hyperlink{request__parser_8h}{request\_\-parser.h}\end{DoxyCompactItemize} diff --git a/docs/latex/structHttpRequestParser__coll__graph.dot b/docs/latex/structHttpRequestParser__coll__graph.dot deleted file mode 100644 index 0c62ea3..0000000 --- a/docs/latex/structHttpRequestParser__coll__graph.dot +++ /dev/null @@ -1,13 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{HttpRequestParser\n|+ buffer\l+ buffer_used\l+ buffer_size\l+ request_queue\l+ state\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="request_queue",arrowtail="open"]; - Node2 [label="{HttpRequestQueue\n|+ requests\l+ nrequests\l|}",height=0.2,width=0.4,color="black",URL="$structHttpRequestQueue.html"]; - Node3 -> Node2 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="requests",arrowtail="open"]; - Node3 [label="{HttpRequest\n|+ method\l+ uri\l+ version\l+ header\l+ nheader\l+ body\l+ nbody\l|}",height=0.2,width=0.4,color="black",URL="$structHttpRequest.html"]; - Node4 -> Node3 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="header",arrowtail="open"]; - Node4 [label="{HttpHeader\n|+ hash\l+ name\l+ value\l|}",height=0.2,width=0.4,color="black",URL="$structHttpHeader.html"]; -} diff --git a/docs/latex/structHttpRequestParser__coll__graph.md5 b/docs/latex/structHttpRequestParser__coll__graph.md5 deleted file mode 100644 index 845dd38..0000000 --- a/docs/latex/structHttpRequestParser__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -ac3db2115a96ac90e60677fd3b277bd4 \ No newline at end of file diff --git a/docs/latex/structHttpRequestQueue.tex b/docs/latex/structHttpRequestQueue.tex deleted file mode 100644 index d110a38..0000000 --- a/docs/latex/structHttpRequestQueue.tex +++ /dev/null @@ -1,51 +0,0 @@ -\hypertarget{structHttpRequestQueue}{ -\section{HttpRequestQueue Struct Reference} -\label{structHttpRequestQueue}\index{HttpRequestQueue@{HttpRequestQueue}} -} - - -{\ttfamily \#include $<$request\_\-queue.h$>$} - - - -Collaboration diagram for HttpRequestQueue: -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hyperlink{structHttpRequest}{HttpRequest} \hyperlink{structHttpRequestQueue_a9413ed3fe003274c47618adde5335164}{requests} \mbox{[}HTTP\_\-REQUEST\_\-QUEUE\_\-MAX\mbox{]} -\item -size\_\-t \hyperlink{structHttpRequestQueue_a2bd08c36442f90e82b29b09f54a08682}{nrequests} -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} - - -Definition at line 10 of file request\_\-queue.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structHttpRequestQueue_a2bd08c36442f90e82b29b09f54a08682}{ -\index{HttpRequestQueue@{HttpRequestQueue}!nrequests@{nrequests}} -\index{nrequests@{nrequests}!HttpRequestQueue@{HttpRequestQueue}} -\subsubsection[{nrequests}]{\setlength{\rightskip}{0pt plus 5cm}size\_\-t {\bf HttpRequestQueue::nrequests}}} -\label{structHttpRequestQueue_a2bd08c36442f90e82b29b09f54a08682} - - -Definition at line 21 of file request\_\-queue.h. - -\hypertarget{structHttpRequestQueue_a9413ed3fe003274c47618adde5335164}{ -\index{HttpRequestQueue@{HttpRequestQueue}!requests@{requests}} -\index{requests@{requests}!HttpRequestQueue@{HttpRequestQueue}} -\subsubsection[{requests}]{\setlength{\rightskip}{0pt plus 5cm}{\bf HttpRequest} {\bf HttpRequestQueue::requests}\mbox{[}HTTP\_\-REQUEST\_\-QUEUE\_\-MAX\mbox{]}}} -\label{structHttpRequestQueue_a9413ed3fe003274c47618adde5335164} - - -Definition at line 20 of file request\_\-queue.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -include/http/\hyperlink{request__queue_8h}{request\_\-queue.h}\end{DoxyCompactItemize} diff --git a/docs/latex/structHttpRequestQueue__coll__graph.dot b/docs/latex/structHttpRequestQueue__coll__graph.dot deleted file mode 100644 index 6ca4565..0000000 --- a/docs/latex/structHttpRequestQueue__coll__graph.dot +++ /dev/null @@ -1,11 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{HttpRequestQueue\n|+ requests\l+ nrequests\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="requests",arrowtail="open"]; - Node2 [label="{HttpRequest\n|+ method\l+ uri\l+ version\l+ header\l+ nheader\l+ body\l+ nbody\l|}",height=0.2,width=0.4,color="black",URL="$structHttpRequest.html"]; - Node3 -> Node2 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="header",arrowtail="open"]; - Node3 [label="{HttpHeader\n|+ hash\l+ name\l+ value\l|}",height=0.2,width=0.4,color="black",URL="$structHttpHeader.html"]; -} diff --git a/docs/latex/structHttpRequestQueue__coll__graph.md5 b/docs/latex/structHttpRequestQueue__coll__graph.md5 deleted file mode 100644 index 58ad34b..0000000 --- a/docs/latex/structHttpRequestQueue__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -2c3433c602ee84c7bf4f0f1cfbd7cc76 \ No newline at end of file diff --git a/docs/latex/structHttpRequest__coll__graph.dot b/docs/latex/structHttpRequest__coll__graph.dot deleted file mode 100644 index 0b07501..0000000 --- a/docs/latex/structHttpRequest__coll__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{HttpRequest\n|+ method\l+ uri\l+ version\l+ header\l+ nheader\l+ body\l+ nbody\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="header",arrowtail="open"]; - Node2 [label="{HttpHeader\n|+ hash\l+ name\l+ value\l|}",height=0.2,width=0.4,color="black",URL="$structHttpHeader.html"]; -} diff --git a/docs/latex/structHttpRequest__coll__graph.md5 b/docs/latex/structHttpRequest__coll__graph.md5 deleted file mode 100644 index b7f7c1a..0000000 --- a/docs/latex/structHttpRequest__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -cf36acda91e0171699b23958eaa44adc \ No newline at end of file diff --git a/docs/latex/structHttpResponse.tex b/docs/latex/structHttpResponse.tex deleted file mode 100644 index 4f290b9..0000000 --- a/docs/latex/structHttpResponse.tex +++ /dev/null @@ -1,106 +0,0 @@ -\hypertarget{structHttpResponse}{ -\section{HttpResponse Struct Reference} -\label{structHttpResponse}\index{HttpResponse@{HttpResponse}} -} - - -{\ttfamily \#include $<$response.h$>$} - - - -Collaboration diagram for HttpResponse: -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -char $\ast$ \hyperlink{structHttpResponse_ac74d5ca0e4f7e9c053ea014d9eb8e674}{http\_\-version} -\item -char $\ast$ \hyperlink{structHttpResponse_a3db0e40bc5f3d969fd15eb8b96214571}{status} -\item -char $\ast$ \hyperlink{structHttpResponse_aa74792db8cbc7e9c6046a41cfc79b895}{reson} -\item -\hyperlink{structHttpHeader}{HttpHeader} \hyperlink{structHttpResponse_aab84006da7b1af3df1fca9cd91045462}{header} \mbox{[}128\mbox{]} -\item -int \hyperlink{structHttpResponse_ab79cf221a040988a1dd5b1a6f0ed38a0}{nheader} -\item -char $\ast$ \hyperlink{structHttpResponse_a48b139a9e8a5385630d90c3ffa0a1666}{body} -\item -int \hyperlink{structHttpResponse_a27f5d9dfbbadf674387c12ebbae46561}{nbody} -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} - - -Definition at line 6 of file response.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structHttpResponse_a48b139a9e8a5385630d90c3ffa0a1666}{ -\index{HttpResponse@{HttpResponse}!body@{body}} -\index{body@{body}!HttpResponse@{HttpResponse}} -\subsubsection[{body}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf HttpResponse::body}}} -\label{structHttpResponse_a48b139a9e8a5385630d90c3ffa0a1666} - - -Definition at line 33 of file response.h. - -\hypertarget{structHttpResponse_aab84006da7b1af3df1fca9cd91045462}{ -\index{HttpResponse@{HttpResponse}!header@{header}} -\index{header@{header}!HttpResponse@{HttpResponse}} -\subsubsection[{header}]{\setlength{\rightskip}{0pt plus 5cm}{\bf HttpHeader} {\bf HttpResponse::header}\mbox{[}128\mbox{]}}} -\label{structHttpResponse_aab84006da7b1af3df1fca9cd91045462} - - -Definition at line 30 of file response.h. - -\hypertarget{structHttpResponse_ac74d5ca0e4f7e9c053ea014d9eb8e674}{ -\index{HttpResponse@{HttpResponse}!http\_\-version@{http\_\-version}} -\index{http\_\-version@{http\_\-version}!HttpResponse@{HttpResponse}} -\subsubsection[{http\_\-version}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf HttpResponse::http\_\-version}}} -\label{structHttpResponse_ac74d5ca0e4f7e9c053ea014d9eb8e674} - - -Definition at line 26 of file response.h. - -\hypertarget{structHttpResponse_a27f5d9dfbbadf674387c12ebbae46561}{ -\index{HttpResponse@{HttpResponse}!nbody@{nbody}} -\index{nbody@{nbody}!HttpResponse@{HttpResponse}} -\subsubsection[{nbody}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf HttpResponse::nbody}}} -\label{structHttpResponse_a27f5d9dfbbadf674387c12ebbae46561} - - -Definition at line 34 of file response.h. - -\hypertarget{structHttpResponse_ab79cf221a040988a1dd5b1a6f0ed38a0}{ -\index{HttpResponse@{HttpResponse}!nheader@{nheader}} -\index{nheader@{nheader}!HttpResponse@{HttpResponse}} -\subsubsection[{nheader}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf HttpResponse::nheader}}} -\label{structHttpResponse_ab79cf221a040988a1dd5b1a6f0ed38a0} - - -Definition at line 31 of file response.h. - -\hypertarget{structHttpResponse_aa74792db8cbc7e9c6046a41cfc79b895}{ -\index{HttpResponse@{HttpResponse}!reson@{reson}} -\index{reson@{reson}!HttpResponse@{HttpResponse}} -\subsubsection[{reson}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf HttpResponse::reson}}} -\label{structHttpResponse_aa74792db8cbc7e9c6046a41cfc79b895} - - -Definition at line 28 of file response.h. - -\hypertarget{structHttpResponse_a3db0e40bc5f3d969fd15eb8b96214571}{ -\index{HttpResponse@{HttpResponse}!status@{status}} -\index{status@{status}!HttpResponse@{HttpResponse}} -\subsubsection[{status}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf HttpResponse::status}}} -\label{structHttpResponse_a3db0e40bc5f3d969fd15eb8b96214571} - - -Definition at line 27 of file response.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -include/http/\hyperlink{response_8h}{response.h}\end{DoxyCompactItemize} diff --git a/docs/latex/structHttpResponse__coll__graph.dot b/docs/latex/structHttpResponse__coll__graph.dot deleted file mode 100644 index 1477ba1..0000000 --- a/docs/latex/structHttpResponse__coll__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{HttpResponse\n|+ http_version\l+ status\l+ reson\l+ header\l+ nheader\l+ body\l+ nbody\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="header",arrowtail="open"]; - Node2 [label="{HttpHeader\n|+ hash\l+ name\l+ value\l|}",height=0.2,width=0.4,color="black",URL="$structHttpHeader.html"]; -} diff --git a/docs/latex/structHttpResponse__coll__graph.md5 b/docs/latex/structHttpResponse__coll__graph.md5 deleted file mode 100644 index 4e9afea..0000000 --- a/docs/latex/structHttpResponse__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -cc8270b80f70fa1017ef091a3cf5cbf5 \ No newline at end of file diff --git a/docs/latex/structLogger.tex b/docs/latex/structLogger.tex deleted file mode 100644 index 687651c..0000000 --- a/docs/latex/structLogger.tex +++ /dev/null @@ -1,37 +0,0 @@ -\hypertarget{structLogger}{ -\section{Logger Struct Reference} -\label{structLogger}\index{Logger@{Logger}} -} - - -{\ttfamily \#include $<$logger.h$>$} - -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hyperlink{logger_8h_a63296c69f4b9bf51d6756a5d2c482d1e}{logger\_\-level} \hyperlink{structLogger_ae0e2ee030c14c5ef01dc0d1568c6fd3f}{min\_\-level} -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} - - -Definition at line 19 of file logger.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structLogger_ae0e2ee030c14c5ef01dc0d1568c6fd3f}{ -\index{Logger@{Logger}!min\_\-level@{min\_\-level}} -\index{min\_\-level@{min\_\-level}!Logger@{Logger}} -\subsubsection[{min\_\-level}]{\setlength{\rightskip}{0pt plus 5cm}{\bf logger\_\-level} {\bf Logger::min\_\-level}}} -\label{structLogger_ae0e2ee030c14c5ef01dc0d1568c6fd3f} - - -Definition at line 36 of file logger.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -include/\hyperlink{logger_8h}{logger.h}\end{DoxyCompactItemize} diff --git a/docs/latex/structLoggerStderr.tex b/docs/latex/structLoggerStderr.tex deleted file mode 100644 index 4ee6da3..0000000 --- a/docs/latex/structLoggerStderr.tex +++ /dev/null @@ -1,37 +0,0 @@ -\hypertarget{structLoggerStderr}{ -\section{LoggerStderr Struct Reference} -\label{structLoggerStderr}\index{LoggerStderr@{LoggerStderr}} -} - - -{\ttfamily \#include $<$logger.h$>$} - -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{structLoggerStderr_a533c72d4344f76a26516ac903651297a}{EXTENDS} (\hyperlink{structLogger}{Logger}) -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} - - -Definition at line 39 of file logger.h. - - - -\subsection{Member Function Documentation} -\hypertarget{structLoggerStderr_a533c72d4344f76a26516ac903651297a}{ -\index{LoggerStderr@{LoggerStderr}!EXTENDS@{EXTENDS}} -\index{EXTENDS@{EXTENDS}!LoggerStderr@{LoggerStderr}} -\subsubsection[{EXTENDS}]{\setlength{\rightskip}{0pt plus 5cm}LoggerStderr::EXTENDS ( -\begin{DoxyParamCaption} -\item[{{\bf Logger}}]{} -\end{DoxyParamCaption} -)}} -\label{structLoggerStderr_a533c72d4344f76a26516ac903651297a} - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -include/\hyperlink{logger_8h}{logger.h}\end{DoxyCompactItemize} diff --git a/docs/latex/structLoggerSyslog.tex b/docs/latex/structLoggerSyslog.tex deleted file mode 100644 index b125827..0000000 --- a/docs/latex/structLoggerSyslog.tex +++ /dev/null @@ -1,37 +0,0 @@ -\hypertarget{structLoggerSyslog}{ -\section{LoggerSyslog Struct Reference} -\label{structLoggerSyslog}\index{LoggerSyslog@{LoggerSyslog}} -} - - -{\ttfamily \#include $<$logger.h$>$} - -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{structLoggerSyslog_a116fa3bce3c65fc1fdd0a2b1f6a15011}{EXTENDS} (\hyperlink{structLogger}{Logger}) -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} - - -Definition at line 55 of file logger.h. - - - -\subsection{Member Function Documentation} -\hypertarget{structLoggerSyslog_a116fa3bce3c65fc1fdd0a2b1f6a15011}{ -\index{LoggerSyslog@{LoggerSyslog}!EXTENDS@{EXTENDS}} -\index{EXTENDS@{EXTENDS}!LoggerSyslog@{LoggerSyslog}} -\subsubsection[{EXTENDS}]{\setlength{\rightskip}{0pt plus 5cm}LoggerSyslog::EXTENDS ( -\begin{DoxyParamCaption} -\item[{{\bf Logger}}]{} -\end{DoxyParamCaption} -)}} -\label{structLoggerSyslog_a116fa3bce3c65fc1fdd0a2b1f6a15011} - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -include/\hyperlink{logger_8h}{logger.h}\end{DoxyCompactItemize} diff --git a/docs/latex/structServer.tex b/docs/latex/structServer.tex deleted file mode 100644 index 68a3326..0000000 --- a/docs/latex/structServer.tex +++ /dev/null @@ -1,137 +0,0 @@ -\hypertarget{structServer}{ -\section{Server Struct Reference} -\label{structServer}\index{Server@{Server}} -} - - -{\ttfamily \#include $<$server.h$>$} - - - -Collaboration diagram for Server: -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hyperlink{structLogger}{Logger} \hyperlink{structServer_ab50b5b20130564ba7e9a12032070882f}{logger} -\item -\hyperlink{structSock}{Sock} \hyperlink{structServer_a4cdc9c048a3a1846683fdedc2269c0f8}{sock} -\item -void $\ast$ \hyperlink{structServer_a241c1cbc117f318453934fa10c2c4a23}{reader} -\item -nfds\_\-t \hyperlink{structServer_a156e386a6d4c73e6233531706a091fb3}{nfds} -\item -nfds\_\-t \hyperlink{structServer_a88eb6b108b1d22967076fc1d9e21c4d4}{ndel} -\item -\begin{tabbing} -xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=\kill -struct \{\\ -\>\hyperlink{structSock}{Sock} \hyperlink{structServer_a4cdc9c048a3a1846683fdedc2269c0f8}{sock}\\ -\>void $\ast$ \hyperlink{structServer_a241c1cbc117f318453934fa10c2c4a23}{reader}\\ -\>char \hyperlink{structServer_a8914561393eb8d570a2cfb5348b6aeb7}{wbuf} \mbox{[}2048\mbox{]}\\ -\>char $\ast$ \hyperlink{structServer_a898e067058a6db3a8d5cf3968fc79c8a}{rbuf}\\ -\>unsigned int \hyperlink{structServer_af39a8d40450b5c6a947be2c1a95c0943}{rpos}\\ -\>unsigned int \hyperlink{structServer_a95e4cdf2ef584a6709f794d58d9190b3}{wpos}\\ -\} \hyperlink{structServer_a05ddcbbda8dfb0e506f624799de9d8f4}{conns} \mbox{[}POLL\_FD\_NSIZE\mbox{]}\\ - -\end{tabbing}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} - - -Definition at line 24 of file server.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structServer_a05ddcbbda8dfb0e506f624799de9d8f4}{ -\index{Server@{Server}!conns@{conns}} -\index{conns@{conns}!Server@{Server}} -\subsubsection[{conns}]{\setlength{\rightskip}{0pt plus 5cm}struct \{ ... \} {\bf Server::conns}\mbox{[}POLL\_\-FD\_\-NSIZE\mbox{]}}} -\label{structServer_a05ddcbbda8dfb0e506f624799de9d8f4} -\hypertarget{structServer_ab50b5b20130564ba7e9a12032070882f}{ -\index{Server@{Server}!logger@{logger}} -\index{logger@{logger}!Server@{Server}} -\subsubsection[{logger}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Logger} {\bf Server::logger}}} -\label{structServer_ab50b5b20130564ba7e9a12032070882f} - - -Definition at line 60 of file server.h. - -\hypertarget{structServer_a88eb6b108b1d22967076fc1d9e21c4d4}{ -\index{Server@{Server}!ndel@{ndel}} -\index{ndel@{ndel}!Server@{Server}} -\subsubsection[{ndel}]{\setlength{\rightskip}{0pt plus 5cm}nfds\_\-t {\bf Server::ndel}}} -\label{structServer_a88eb6b108b1d22967076fc1d9e21c4d4} - - -Definition at line 73 of file server.h. - -\hypertarget{structServer_a156e386a6d4c73e6233531706a091fb3}{ -\index{Server@{Server}!nfds@{nfds}} -\index{nfds@{nfds}!Server@{Server}} -\subsubsection[{nfds}]{\setlength{\rightskip}{0pt plus 5cm}nfds\_\-t {\bf Server::nfds}}} -\label{structServer_a156e386a6d4c73e6233531706a091fb3} -loeschen: fds\mbox{[}i\mbox{]}.event auf 0 dann nfds um die anzahl der geloeschten elemente verkleinern. die in close pending stehenden socket schliessen. vor jedem poll qsort auf fds ueber event. nach dem poll qsort auf fds ueber revent und reuckgebewert von poll beruecksichtigen. - -Definition at line 72 of file server.h. - -\hypertarget{structServer_a898e067058a6db3a8d5cf3968fc79c8a}{ -\index{Server@{Server}!rbuf@{rbuf}} -\index{rbuf@{rbuf}!Server@{Server}} -\subsubsection[{rbuf}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf Server::rbuf}}} -\label{structServer_a898e067058a6db3a8d5cf3968fc79c8a} - - -Definition at line 81 of file server.h. - -\hypertarget{structServer_a241c1cbc117f318453934fa10c2c4a23}{ -\index{Server@{Server}!reader@{reader}} -\index{reader@{reader}!Server@{Server}} -\subsubsection[{reader}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf Server::reader}}} -\label{structServer_a241c1cbc117f318453934fa10c2c4a23} - - -Definition at line 62 of file server.h. - -\hypertarget{structServer_af39a8d40450b5c6a947be2c1a95c0943}{ -\index{Server@{Server}!rpos@{rpos}} -\index{rpos@{rpos}!Server@{Server}} -\subsubsection[{rpos}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf Server::rpos}}} -\label{structServer_af39a8d40450b5c6a947be2c1a95c0943} - - -Definition at line 82 of file server.h. - -\hypertarget{structServer_a4cdc9c048a3a1846683fdedc2269c0f8}{ -\index{Server@{Server}!sock@{sock}} -\index{sock@{sock}!Server@{Server}} -\subsubsection[{sock}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Sock} {\bf Server::sock}}} -\label{structServer_a4cdc9c048a3a1846683fdedc2269c0f8} - - -Definition at line 61 of file server.h. - -\hypertarget{structServer_a8914561393eb8d570a2cfb5348b6aeb7}{ -\index{Server@{Server}!wbuf@{wbuf}} -\index{wbuf@{wbuf}!Server@{Server}} -\subsubsection[{wbuf}]{\setlength{\rightskip}{0pt plus 5cm}char {\bf Server::wbuf}\mbox{[}2048\mbox{]}}} -\label{structServer_a8914561393eb8d570a2cfb5348b6aeb7} - - -Definition at line 80 of file server.h. - -\hypertarget{structServer_a95e4cdf2ef584a6709f794d58d9190b3}{ -\index{Server@{Server}!wpos@{wpos}} -\index{wpos@{wpos}!Server@{Server}} -\subsubsection[{wpos}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf Server::wpos}}} -\label{structServer_a95e4cdf2ef584a6709f794d58d9190b3} - - -Definition at line 83 of file server.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -include/\hyperlink{server_8h}{server.h}\end{DoxyCompactItemize} diff --git a/docs/latex/structServer__coll__graph.dot b/docs/latex/structServer__coll__graph.dot deleted file mode 100644 index c9c6eba..0000000 --- a/docs/latex/structServer__coll__graph.dot +++ /dev/null @@ -1,12 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{Server\n|+ logger\l+ sock\l+ reader\l+ nfds\l+ ndel\l+ wbuf\l+ rbuf\l+ rpos\l+ wpos\l+ conns\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="sock",arrowtail="open"]; - Node2 [label="{Sock\n|+ log\l+ port\l+ handle\l|}",height=0.2,width=0.4,color="black",URL="$structSock.html"]; - Node3 -> Node2 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="log",arrowtail="open"]; - Node3 [label="{Logger\n|+ min_level\l|}",height=0.2,width=0.4,color="black",URL="$structLogger.html"]; - Node3 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="logger",arrowtail="open"]; -} diff --git a/docs/latex/structServer__coll__graph.md5 b/docs/latex/structServer__coll__graph.md5 deleted file mode 100644 index 6380bff..0000000 --- a/docs/latex/structServer__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -d8808721040ff98e07313b8031cf9656 \ No newline at end of file diff --git a/docs/latex/structSock.tex b/docs/latex/structSock.tex deleted file mode 100644 index f0018a5..0000000 --- a/docs/latex/structSock.tex +++ /dev/null @@ -1,62 +0,0 @@ -\hypertarget{structSock}{ -\section{Sock Struct Reference} -\label{structSock}\index{Sock@{Sock}} -} - - -{\ttfamily \#include $<$socket.h$>$} - - - -Collaboration diagram for Sock: -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hyperlink{structLogger}{Logger} \hyperlink{structSock_a7441b6368f3e778b5da7554a4f5a7eb6}{log} -\item -in\_\-port\_\-t \hyperlink{structSock_a29ba0820a4596f40009a514d7cb82f39}{port} -\item -int \hyperlink{structSock_a1b5945aef923a906501d7abac82449c3}{handle} -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} - - -Definition at line 9 of file socket.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structSock_a1b5945aef923a906501d7abac82449c3}{ -\index{Sock@{Sock}!handle@{handle}} -\index{handle@{handle}!Sock@{Sock}} -\subsubsection[{handle}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Sock::handle}}} -\label{structSock_a1b5945aef923a906501d7abac82449c3} - - -Definition at line 29 of file socket.h. - -\hypertarget{structSock_a7441b6368f3e778b5da7554a4f5a7eb6}{ -\index{Sock@{Sock}!log@{log}} -\index{log@{log}!Sock@{Sock}} -\subsubsection[{log}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Logger} {\bf Sock::log}}} -\label{structSock_a7441b6368f3e778b5da7554a4f5a7eb6} - - -Definition at line 26 of file socket.h. - -\hypertarget{structSock_a29ba0820a4596f40009a514d7cb82f39}{ -\index{Sock@{Sock}!port@{port}} -\index{port@{port}!Sock@{Sock}} -\subsubsection[{port}]{\setlength{\rightskip}{0pt plus 5cm}in\_\-port\_\-t {\bf Sock::port}}} -\label{structSock_a29ba0820a4596f40009a514d7cb82f39} - - -Definition at line 27 of file socket.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -include/\hyperlink{socket_8h}{socket.h}\end{DoxyCompactItemize} diff --git a/docs/latex/structSock__coll__graph.dot b/docs/latex/structSock__coll__graph.dot deleted file mode 100644 index 3ed333c..0000000 --- a/docs/latex/structSock__coll__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{Sock\n|+ log\l+ port\l+ handle\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="log",arrowtail="open"]; - Node2 [label="{Logger\n|+ min_level\l|}",height=0.2,width=0.4,color="black",URL="$structLogger.html"]; -} diff --git a/docs/latex/structSock__coll__graph.md5 b/docs/latex/structSock__coll__graph.md5 deleted file mode 100644 index db37269..0000000 --- a/docs/latex/structSock__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -f6141196087b85a4744564eb4d4bf5a0 \ No newline at end of file diff --git a/docs/latex/structclass.tex b/docs/latex/structclass.tex deleted file mode 100644 index 09f14cc..0000000 --- a/docs/latex/structclass.tex +++ /dev/null @@ -1,73 +0,0 @@ -\hypertarget{structclass}{ -\section{class Struct Reference} -\label{structclass}\index{class@{class}} -} - - -{\ttfamily \#include $<$class.h$>$} - - - -Collaboration diagram for class: -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -const int \hyperlink{structclass_a395a6874758c92188945df7c070f5ff1}{magic} -\item -\hyperlink{structclass}{class\_\-ptr} \hyperlink{structclass_a97f697cb86be7a39d4477e971074ae6e}{parent} -\item -size\_\-t \hyperlink{structclass_a31f0b35f94229885e948d55bac214c0d}{object\_\-size} -\item -\hyperlink{class_8h_aa0ba47bce818b20155a8ef17a1fdc35c}{fptr\_\-classInit} \hyperlink{structclass_a744967ad02b74a9464c1224c7fa05b23}{init} -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} - - -Definition at line 77 of file class.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structclass_a744967ad02b74a9464c1224c7fa05b23}{ -\index{class@{class}!init@{init}} -\index{init@{init}!class@{class}} -\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fptr\_\-classInit} {\bf class::init}}} -\label{structclass_a744967ad02b74a9464c1224c7fa05b23} - - -Definition at line 81 of file class.h. - -\hypertarget{structclass_a395a6874758c92188945df7c070f5ff1}{ -\index{class@{class}!magic@{magic}} -\index{magic@{magic}!class@{class}} -\subsubsection[{magic}]{\setlength{\rightskip}{0pt plus 5cm}const int {\bf class::magic}}} -\label{structclass_a395a6874758c92188945df7c070f5ff1} - - -Definition at line 78 of file class.h. - -\hypertarget{structclass_a31f0b35f94229885e948d55bac214c0d}{ -\index{class@{class}!object\_\-size@{object\_\-size}} -\index{object\_\-size@{object\_\-size}!class@{class}} -\subsubsection[{object\_\-size}]{\setlength{\rightskip}{0pt plus 5cm}size\_\-t {\bf class::object\_\-size}}} -\label{structclass_a31f0b35f94229885e948d55bac214c0d} - - -Definition at line 80 of file class.h. - -\hypertarget{structclass_a97f697cb86be7a39d4477e971074ae6e}{ -\index{class@{class}!parent@{parent}} -\index{parent@{parent}!class@{class}} -\subsubsection[{parent}]{\setlength{\rightskip}{0pt plus 5cm}{\bf class\_\-ptr} {\bf class::parent}}} -\label{structclass_a97f697cb86be7a39d4477e971074ae6e} - - -Definition at line 79 of file class.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -include/\hyperlink{class_8h}{class.h}\end{DoxyCompactItemize} diff --git a/docs/latex/structclass__coll__graph.dot b/docs/latex/structclass__coll__graph.dot deleted file mode 100644 index d516a51..0000000 --- a/docs/latex/structclass__coll__graph.dot +++ /dev/null @@ -1,8 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{class\n|+ magic\l+ parent\l+ object_size\l+ init\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="parent",arrowtail="open"]; -} diff --git a/docs/latex/structclass__coll__graph.md5 b/docs/latex/structclass__coll__graph.md5 deleted file mode 100644 index 4d218d2..0000000 --- a/docs/latex/structclass__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -e7435c01bd06a73b4e9a129f0611c38a \ No newline at end of file diff --git a/docs/latex/structi__Class.tex b/docs/latex/structi__Class.tex deleted file mode 100644 index 514eb00..0000000 --- a/docs/latex/structi__Class.tex +++ /dev/null @@ -1,73 +0,0 @@ -\hypertarget{structi__Class}{ -\section{i\_\-Class Struct Reference} -\label{structi__Class}\index{i\_\-Class@{i\_\-Class}} -} - - -{\ttfamily \#include $<$class.h$>$} - - - -Collaboration diagram for i\_\-Class: -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structinterface}{interface} $\ast$const \hyperlink{structi__Class_a988da6337fdaa9c14010c864c628555c}{\_\-} -\item -\hyperlink{interface_2class_8h_a207fe2c25aae0b91e9df60b0ece4217e}{fptr\_\-ctor} \hyperlink{structi__Class_ace20a21c57a14d2846cfd061002970f4}{ctor} -\item -\hyperlink{interface_2class_8h_a59366634eecbace7ae9c8c5e65199c91}{fptr\_\-dtor} \hyperlink{structi__Class_aced52ce163499af9cc7de1ae979e0ee2}{dtor} -\item -\hyperlink{interface_2class_8h_a6d852b3640eeb6ef8a3d776b87736392}{fptr\_\-clone} \hyperlink{structi__Class_ad3af0db4f258c8af23f62e14283bff43}{clone} -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} - - -Definition at line 15 of file class.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structi__Class_a988da6337fdaa9c14010c864c628555c}{ -\index{i\_\-Class@{i\_\-Class}!\_\-@{\_\-}} -\index{\_\-@{\_\-}!i_Class@{i\_\-Class}} -\subsubsection[{\_\-}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf interface}$\ast$ const {\bf i\_\-Class::\_\-}}} -\label{structi__Class_a988da6337fdaa9c14010c864c628555c} - - -Definition at line 16 of file class.h. - -\hypertarget{structi__Class_ad3af0db4f258c8af23f62e14283bff43}{ -\index{i\_\-Class@{i\_\-Class}!clone@{clone}} -\index{clone@{clone}!i_Class@{i\_\-Class}} -\subsubsection[{clone}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fptr\_\-clone} {\bf i\_\-Class::clone}}} -\label{structi__Class_ad3af0db4f258c8af23f62e14283bff43} - - -Definition at line 19 of file class.h. - -\hypertarget{structi__Class_ace20a21c57a14d2846cfd061002970f4}{ -\index{i\_\-Class@{i\_\-Class}!ctor@{ctor}} -\index{ctor@{ctor}!i_Class@{i\_\-Class}} -\subsubsection[{ctor}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fptr\_\-ctor} {\bf i\_\-Class::ctor}}} -\label{structi__Class_ace20a21c57a14d2846cfd061002970f4} - - -Definition at line 17 of file class.h. - -\hypertarget{structi__Class_aced52ce163499af9cc7de1ae979e0ee2}{ -\index{i\_\-Class@{i\_\-Class}!dtor@{dtor}} -\index{dtor@{dtor}!i_Class@{i\_\-Class}} -\subsubsection[{dtor}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fptr\_\-dtor} {\bf i\_\-Class::dtor}}} -\label{structi__Class_aced52ce163499af9cc7de1ae979e0ee2} - - -Definition at line 18 of file class.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -include/interface/\hyperlink{interface_2class_8h}{class.h}\end{DoxyCompactItemize} diff --git a/docs/latex/structi__Class__coll__graph.dot b/docs/latex/structi__Class__coll__graph.dot deleted file mode 100644 index b2142b0..0000000 --- a/docs/latex/structi__Class__coll__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{i_Class\n|+ _\l+ ctor\l+ dtor\l+ clone\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="_",arrowtail="open"]; - Node2 [label="{interface\n|+ name\l+ nmethods\l|}",height=0.2,width=0.4,color="black",URL="$structinterface.html"]; -} diff --git a/docs/latex/structi__Class__coll__graph.md5 b/docs/latex/structi__Class__coll__graph.md5 deleted file mode 100644 index ed2ea33..0000000 --- a/docs/latex/structi__Class__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -98b7fa135f0f0ccf6da06ec25f249444 \ No newline at end of file diff --git a/docs/latex/structi__Logger.tex b/docs/latex/structi__Logger.tex deleted file mode 100644 index 400d694..0000000 --- a/docs/latex/structi__Logger.tex +++ /dev/null @@ -1,51 +0,0 @@ -\hypertarget{structi__Logger}{ -\section{i\_\-Logger Struct Reference} -\label{structi__Logger}\index{i\_\-Logger@{i\_\-Logger}} -} - - -{\ttfamily \#include $<$logger.h$>$} - - - -Collaboration diagram for i\_\-Logger: -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structinterface}{interface} $\ast$const \hyperlink{structi__Logger_a4e6025014bd73827bbb1c3e3dd571160}{\_\-} -\item -\hyperlink{interface_2logger_8h_a4dcd041363da34329e1c9442c98a273e}{fptr\_\-log} \hyperlink{structi__Logger_ac8380d02d5fb624d46df64e0c8a4e236}{log} -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} - - -Definition at line 13 of file logger.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structi__Logger_a4e6025014bd73827bbb1c3e3dd571160}{ -\index{i\_\-Logger@{i\_\-Logger}!\_\-@{\_\-}} -\index{\_\-@{\_\-}!i_Logger@{i\_\-Logger}} -\subsubsection[{\_\-}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf interface}$\ast$ const {\bf i\_\-Logger::\_\-}}} -\label{structi__Logger_a4e6025014bd73827bbb1c3e3dd571160} - - -Definition at line 14 of file logger.h. - -\hypertarget{structi__Logger_ac8380d02d5fb624d46df64e0c8a4e236}{ -\index{i\_\-Logger@{i\_\-Logger}!log@{log}} -\index{log@{log}!i_Logger@{i\_\-Logger}} -\subsubsection[{log}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fptr\_\-log} {\bf i\_\-Logger::log}}} -\label{structi__Logger_ac8380d02d5fb624d46df64e0c8a4e236} - - -Definition at line 15 of file logger.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -include/interface/\hyperlink{interface_2logger_8h}{logger.h}\end{DoxyCompactItemize} diff --git a/docs/latex/structi__Logger__coll__graph.dot b/docs/latex/structi__Logger__coll__graph.dot deleted file mode 100644 index 9bcb9a5..0000000 --- a/docs/latex/structi__Logger__coll__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{i_Logger\n|+ _\l+ log\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="_",arrowtail="open"]; - Node2 [label="{interface\n|+ name\l+ nmethods\l|}",height=0.2,width=0.4,color="black",URL="$structinterface.html"]; -} diff --git a/docs/latex/structi__Logger__coll__graph.md5 b/docs/latex/structi__Logger__coll__graph.md5 deleted file mode 100644 index ae99750..0000000 --- a/docs/latex/structi__Logger__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -91f14fb435f59097c771a24ee15146b3 \ No newline at end of file diff --git a/docs/latex/structi__StreamReader.tex b/docs/latex/structi__StreamReader.tex deleted file mode 100644 index 0735dc7..0000000 --- a/docs/latex/structi__StreamReader.tex +++ /dev/null @@ -1,51 +0,0 @@ -\hypertarget{structi__StreamReader}{ -\section{i\_\-StreamReader Struct Reference} -\label{structi__StreamReader}\index{i\_\-StreamReader@{i\_\-StreamReader}} -} - - -{\ttfamily \#include $<$stream\_\-reader.h$>$} - - - -Collaboration diagram for i\_\-StreamReader: -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structinterface}{interface} $\ast$const \hyperlink{structi__StreamReader_ac1a75d5e8f7932c13f1575805f097a4a}{\_\-} -\item -\hyperlink{stream__reader_8h_a658a56ce1aa463cc7de51f42080ca24f}{fptr\_\-streamReaderRead} \hyperlink{structi__StreamReader_ae27c6977fb19bd1199316d8724b1c693}{read} -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} - - -Definition at line 10 of file stream\_\-reader.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structi__StreamReader_ac1a75d5e8f7932c13f1575805f097a4a}{ -\index{i\_\-StreamReader@{i\_\-StreamReader}!\_\-@{\_\-}} -\index{\_\-@{\_\-}!i_StreamReader@{i\_\-StreamReader}} -\subsubsection[{\_\-}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf interface}$\ast$ const {\bf i\_\-StreamReader::\_\-}}} -\label{structi__StreamReader_ac1a75d5e8f7932c13f1575805f097a4a} - - -Definition at line 11 of file stream\_\-reader.h. - -\hypertarget{structi__StreamReader_ae27c6977fb19bd1199316d8724b1c693}{ -\index{i\_\-StreamReader@{i\_\-StreamReader}!read@{read}} -\index{read@{read}!i_StreamReader@{i\_\-StreamReader}} -\subsubsection[{read}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fptr\_\-streamReaderRead} {\bf i\_\-StreamReader::read}}} -\label{structi__StreamReader_ae27c6977fb19bd1199316d8724b1c693} - - -Definition at line 12 of file stream\_\-reader.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -include/interface/\hyperlink{stream__reader_8h}{stream\_\-reader.h}\end{DoxyCompactItemize} diff --git a/docs/latex/structi__StreamReader__coll__graph.dot b/docs/latex/structi__StreamReader__coll__graph.dot deleted file mode 100644 index 380df07..0000000 --- a/docs/latex/structi__StreamReader__coll__graph.dot +++ /dev/null @@ -1,9 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="{i_StreamReader\n|+ _\l+ read\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="_",arrowtail="open"]; - Node2 [label="{interface\n|+ name\l+ nmethods\l|}",height=0.2,width=0.4,color="black",URL="$structinterface.html"]; -} diff --git a/docs/latex/structi__StreamReader__coll__graph.md5 b/docs/latex/structi__StreamReader__coll__graph.md5 deleted file mode 100644 index 0143499..0000000 --- a/docs/latex/structi__StreamReader__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -be25c3522d6d846a82a92b9f20df079c \ No newline at end of file diff --git a/docs/latex/structiface__impl.tex b/docs/latex/structiface__impl.tex deleted file mode 100644 index 3e8851a..0000000 --- a/docs/latex/structiface__impl.tex +++ /dev/null @@ -1,59 +0,0 @@ -\hypertarget{structiface__impl}{ -\section{iface\_\-impl Struct Reference} -\label{structiface__impl}\index{iface\_\-impl@{iface\_\-impl}} -} - - -{\ttfamily \#include $<$interface.h$>$} - -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -const size\_\-t \hyperlink{structiface__impl_af2eaa008e863bdef373ed0c6fa26722b}{nimpl} -\item -char \hyperlink{structiface__impl_a9ee4589aed892fb213117b692e63e302}{simpl} -\item -const void $\ast$ \hyperlink{structiface__impl_a4f3e0d7f7bbd7e3f98472a140c37c1ea}{impl} \mbox{[}MAX\_\-IFACE\mbox{]} -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} - - -Definition at line 28 of file interface.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structiface__impl_a4f3e0d7f7bbd7e3f98472a140c37c1ea}{ -\index{iface\_\-impl@{iface\_\-impl}!impl@{impl}} -\index{impl@{impl}!iface_impl@{iface\_\-impl}} -\subsubsection[{impl}]{\setlength{\rightskip}{0pt plus 5cm}const void$\ast$ {\bf iface\_\-impl::impl}\mbox{[}MAX\_\-IFACE\mbox{]}}} -\label{structiface__impl_a4f3e0d7f7bbd7e3f98472a140c37c1ea} - - -Definition at line 31 of file interface.h. - -\hypertarget{structiface__impl_af2eaa008e863bdef373ed0c6fa26722b}{ -\index{iface\_\-impl@{iface\_\-impl}!nimpl@{nimpl}} -\index{nimpl@{nimpl}!iface_impl@{iface\_\-impl}} -\subsubsection[{nimpl}]{\setlength{\rightskip}{0pt plus 5cm}const size\_\-t {\bf iface\_\-impl::nimpl}}} -\label{structiface__impl_af2eaa008e863bdef373ed0c6fa26722b} - - -Definition at line 29 of file interface.h. - -\hypertarget{structiface__impl_a9ee4589aed892fb213117b692e63e302}{ -\index{iface\_\-impl@{iface\_\-impl}!simpl@{simpl}} -\index{simpl@{simpl}!iface_impl@{iface\_\-impl}} -\subsubsection[{simpl}]{\setlength{\rightskip}{0pt plus 5cm}char {\bf iface\_\-impl::simpl}}} -\label{structiface__impl_a9ee4589aed892fb213117b692e63e302} - - -Definition at line 30 of file interface.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -include/\hyperlink{interface_8h}{interface.h}\end{DoxyCompactItemize} diff --git a/docs/latex/structinterface.tex b/docs/latex/structinterface.tex deleted file mode 100644 index 77ec68d..0000000 --- a/docs/latex/structinterface.tex +++ /dev/null @@ -1,48 +0,0 @@ -\hypertarget{structinterface}{ -\section{interface Struct Reference} -\label{structinterface}\index{interface@{interface}} -} - - -{\ttfamily \#include $<$interface.h$>$} - -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -const char $\ast$ \hyperlink{structinterface_aee0f8e8ed8b404d358a6da91196da0d9}{name} -\item -const size\_\-t \hyperlink{structinterface_a7efc08a40bdff0c29b10594c7148168f}{nmethods} -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} - - -Definition at line 22 of file interface.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structinterface_aee0f8e8ed8b404d358a6da91196da0d9}{ -\index{interface@{interface}!name@{name}} -\index{name@{name}!interface@{interface}} -\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ {\bf interface::name}}} -\label{structinterface_aee0f8e8ed8b404d358a6da91196da0d9} - - -Definition at line 23 of file interface.h. - -\hypertarget{structinterface_a7efc08a40bdff0c29b10594c7148168f}{ -\index{interface@{interface}!nmethods@{nmethods}} -\index{nmethods@{nmethods}!interface@{interface}} -\subsubsection[{nmethods}]{\setlength{\rightskip}{0pt plus 5cm}const size\_\-t {\bf interface::nmethods}}} -\label{structinterface_a7efc08a40bdff0c29b10594c7148168f} - - -Definition at line 24 of file interface.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -include/\hyperlink{interface_8h}{interface.h}\end{DoxyCompactItemize} diff --git a/docs/latex/syslog_8c.tex b/docs/latex/syslog_8c.tex deleted file mode 100644 index 914a6f6..0000000 --- a/docs/latex/syslog_8c.tex +++ /dev/null @@ -1,39 +0,0 @@ -\hypertarget{syslog_8c}{ -\section{src/logger/syslog.c File Reference} -\label{syslog_8c}\index{src/logger/syslog.c@{src/logger/syslog.c}} -} -{\ttfamily \#include $<$syslog.h$>$}\par -{\ttfamily \#include \char`\"{}logger.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/logger.h\char`\"{}}\par -Include dependency graph for syslog.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{syslog_8c_aaf569dba91297bc3e203e7ad7f9c90f8}{INIT\_\-IFACE} (\hyperlink{structLogger}{Logger}, logSyslog) -\item -\hyperlink{syslog_8c_a86d902d1f3ac6c51e9e184744b37f7e3}{CREATE\_\-CLASS} (\hyperlink{structLoggerSyslog}{LoggerSyslog}, \hyperlink{structLogger}{Logger}, IFACE(\hyperlink{structLogger}{Logger})) -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{syslog_8c_a86d902d1f3ac6c51e9e184744b37f7e3}{ -\index{syslog.c@{syslog.c}!CREATE\_\-CLASS@{CREATE\_\-CLASS}} -\index{CREATE\_\-CLASS@{CREATE\_\-CLASS}!syslog.c@{syslog.c}} -\subsubsection[{CREATE\_\-CLASS}]{\setlength{\rightskip}{0pt plus 5cm}CREATE\_\-CLASS ( -\begin{DoxyParamCaption} -\item[{{\bf LoggerSyslog}}]{, } -\item[{{\bf Logger}}]{, } -\item[{IFACE({\bf Logger})}]{} -\end{DoxyParamCaption} -)}} -\label{syslog_8c_a86d902d1f3ac6c51e9e184744b37f7e3} -\hypertarget{syslog_8c_aaf569dba91297bc3e203e7ad7f9c90f8}{ -\index{syslog.c@{syslog.c}!INIT\_\-IFACE@{INIT\_\-IFACE}} -\index{INIT\_\-IFACE@{INIT\_\-IFACE}!syslog.c@{syslog.c}} -\subsubsection[{INIT\_\-IFACE}]{\setlength{\rightskip}{0pt plus 5cm}INIT\_\-IFACE ( -\begin{DoxyParamCaption} -\item[{{\bf Logger}}]{, } -\item[{logSyslog}]{} -\end{DoxyParamCaption} -)}} -\label{syslog_8c_aaf569dba91297bc3e203e7ad7f9c90f8} diff --git a/docs/latex/syslog_8c__incl.dot b/docs/latex/syslog_8c__incl.dot deleted file mode 100644 index b9d5156..0000000 --- a/docs/latex/syslog_8c__incl.dot +++ /dev/null @@ -1,13 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/logger/syslog.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="syslog.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="logger.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="interface/logger.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/syslog_8c__incl.md5 b/docs/latex/syslog_8c__incl.md5 deleted file mode 100644 index 45c15e2..0000000 --- a/docs/latex/syslog_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -1957c89e2cab59f16261638ee9e985b5 \ No newline at end of file diff --git a/docs/latex/testserver_8c.tex b/docs/latex/testserver_8c.tex deleted file mode 100644 index 29be917..0000000 --- a/docs/latex/testserver_8c.tex +++ /dev/null @@ -1,58 +0,0 @@ -\hypertarget{testserver_8c}{ -\section{src/testserver.c File Reference} -\label{testserver_8c}\index{src/testserver.c@{src/testserver.c}} -} -{\ttfamily \#include $<$stdio.h$>$}\par -{\ttfamily \#include $<$socket.h$>$}\par -{\ttfamily \#include $<$string.h$>$}\par -{\ttfamily \#include \char`\"{}server.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}logger.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}http/request\_\-parser.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}signalHandling.h\char`\"{}}\par -{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par -Include dependency graph for testserver.c: -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -int \hyperlink{testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4}{main} () -\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4}{ -\index{testserver.c@{testserver.c}!main@{main}} -\index{main@{main}!testserver.c@{testserver.c}} -\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}} -\label{testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4} - - -Definition at line 14 of file testserver.c. - - -\begin{DoxyCode} -{ - Logger logger = new(LoggerStderr, LOGGER_ERR); - HttpRequestParser parser = new(HttpRequestParser); - Server server = new(Server, logger, parser, 11212, SOMAXCONN); - - //Server server = new(Server, logger, parser, 11212, 20); - - init_signals(); - serverRun(server); - - delete(&server); - delete(&logger); - delete(&parser); - - return 0; -} -\end{DoxyCode} - - -Here is the call graph for this function: - - diff --git a/docs/latex/testserver_8c__incl.dot b/docs/latex/testserver_8c__incl.dot deleted file mode 100644 index a485b22..0000000 --- a/docs/latex/testserver_8c__incl.dot +++ /dev/null @@ -1,23 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - Node1 [label="src/testserver.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="stdio.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="socket.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="string.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="server.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="logger.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid"]; - Node7 [label="http/request_parser.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid"]; - Node8 [label="signalHandling.h",height=0.2,width=0.4,color="grey75"]; - Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid"]; - Node9 [label="interface/class.h",height=0.2,width=0.4,color="grey75"]; -} diff --git a/docs/latex/testserver_8c__incl.md5 b/docs/latex/testserver_8c__incl.md5 deleted file mode 100644 index a251679..0000000 --- a/docs/latex/testserver_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -18fca92f2360ddadc5f6815e99240563 \ No newline at end of file diff --git a/docs/latex/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.dot b/docs/latex/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.dot deleted file mode 100644 index fe12cc1..0000000 --- a/docs/latex/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.dot +++ /dev/null @@ -1,18 +0,0 @@ -digraph G -{ - bgcolor="transparent"; - edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; - node [fontname="Helvetica",fontsize="10",shape=record]; - rankdir=LR; - Node1 [label="main",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; - Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid"]; - Node2 [label="init_signals",height=0.2,width=0.4,color="black",URL="$signalHandling_8h.html#a1de31bdef82f181f8045b94ae0933916"]; - Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid"]; - Node3 [label="terminate",height=0.2,width=0.4,color="black",URL="$signalHandling_8h.html#a64612b9588ed0fb05d70680db02b3630"]; - Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid"]; - Node4 [label="serverRun",height=0.2,width=0.4,color="black",URL="$server_8h.html#a67a4d9073b80d8ae1459fb11ddd23675"]; - Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid"]; - Node5 [label="loggerLog",height=0.2,width=0.4,color="black",URL="$interface_2logger_8h.html#ae9f8662ec8b300dcfb5064906937553e"]; - Node4 -> Node6 [color="midnightblue",fontsize="10",style="solid"]; - Node6 [label="serverCloseConn",height=0.2,width=0.4,color="black",URL="$server_8h.html#a81f787254ea87cbc851d292e5a7d195d"]; -} diff --git a/docs/latex/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 b/docs/latex/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 deleted file mode 100644 index 8bd453c..0000000 --- a/docs/latex/testserver_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -b8fcefbc2234eef5ab76d80a87b473d0 \ No newline at end of file