| /mOS-networking-stack/samples/lighttpd-1.4.32/src/ |
| H A D | buffer.h | 19 } buffer; typedef 22 buffer **ptr; 42 buffer* buffer_init(void); 43 buffer* buffer_init_buffer(buffer *b); 45 void buffer_free(buffer *b); 46 void buffer_reset(buffer *b); 53 int buffer_copy_string_buffer(buffer *b, const buffer *src); 62 int buffer_append_string_buffer(buffer *b, const buffer *src); 82 int buffer_is_equal(buffer *a, buffer *b); 83 int buffer_is_equal_right_len(buffer *a, buffer *b, size_t len); [all …]
|
| H A D | base.h | 155 buffer *request; 156 buffer *uri; 158 buffer *orig_uri; 181 buffer *pathinfo; 202 buffer *path; 208 buffer *path; 212 buffer *rel_path; 214 buffer *etag; 218 buffer *name; 219 buffer *etag; [all …]
|
| H A D | http_auth.h | 30 buffer *auth_backend_conf; 33 buffer *auth_ldap_basedn; 34 buffer *auth_ldap_binddn; 35 buffer *auth_ldap_bindpw; 36 buffer *auth_ldap_filter; 37 buffer *auth_ldap_cafile; 49 buffer *ldap_filter_pre; 50 buffer *ldap_filter_post; 56 buffer *tmp_buf; 58 buffer *auth_user; [all …]
|
| H A D | buffer.c | 19 buffer* buffer_init(void) { in buffer_init() 20 buffer *b; in buffer_init() 32 buffer *buffer_init_buffer(buffer *src) { in buffer_init_buffer() 33 buffer *b = buffer_init(); in buffer_init_buffer() 43 void buffer_free(buffer *b) { in buffer_free() 158 int buffer_copy_string_buffer(buffer *b, const buffer *src) { in buffer_copy_string_buffer() 231 int buffer_append_string_buffer(buffer *b, const buffer *src) { in buffer_append_string_buffer() 520 int buffer_is_equal(buffer *a, buffer *b) { in buffer_is_equal() 528 buffer b; in buffer_is_equal_string() 596 int buffer_is_equal_right_len(buffer *b1, buffer *b2, size_t len) { in buffer_is_equal_right_len() [all …]
|
| H A D | mod_cml.h | 18 buffer *ext; 21 buffer *mc_namespace; 25 buffer *power_magnet; 31 buffer *basedir; 32 buffer *baseurl; 34 buffer *trigger_handler; 41 int cache_parse_lua(server *srv, connection *con, plugin_data *p, buffer *fn);
|
| H A D | chunk.h | 11 buffer *mem; /* either the storage of the mem-chunk or the read-ahead buffer */ 15 buffer *name; /* name of the file */ 52 int chunkqueue_append_file(chunkqueue *c, buffer *fn, off_t offset, off_t len); 54 int chunkqueue_append_buffer(chunkqueue *c, buffer *mem); 55 int chunkqueue_append_buffer_weak(chunkqueue *c, buffer *mem); 56 int chunkqueue_prepend_buffer(chunkqueue *c, buffer *mem); 58 buffer * chunkqueue_get_append_buffer(chunkqueue *c); 59 buffer * chunkqueue_get_prepend_buffer(chunkqueue *c);
|
| H A D | etag.h | 12 int etag_is_equal(buffer *etag, const char *matches); 13 int etag_create(buffer *etag, struct stat *st, etag_flags_t flags); 14 int etag_mutate(buffer *mut, buffer *etag);
|
| H A D | array.h | 21 buffer *key; \ 58 buffer *value; 114 buffer *comp_key; 118 buffer *op; 128 buffer *string; 148 buffer *host;
|
| H A D | mod_mysql_vhost.c | 39 buffer *mydb; 40 buffer *myuser; 41 buffer *mypass; 42 buffer *mysock; 44 buffer *hostname; 47 buffer *mysql_pre; 48 buffer *mysql_post; 55 buffer *tmp_buf; 64 buffer *server_name; 66 buffer *fcgi_arg; [all …]
|
| H A D | mod_simple_vhost.c | 14 buffer *server_root; 15 buffer *default_host; 16 buffer *document_root; 18 buffer *docroot_cache_key; 19 buffer *docroot_cache_value; 20 buffer *docroot_cache_servername; 28 buffer *doc_root; 124 static int build_doc_root(server *srv, connection *con, plugin_data *p, buffer *out, buffer *host) { in build_doc_root()
|
| H A D | etag.c | 12 int etag_is_equal(buffer *etag, const char *matches) { in etag_is_equal() 17 int etag_create(buffer *etag, struct stat *st,etag_flags_t flags) { in etag_create() 39 int etag_mutate(buffer *mut, buffer *etag) { in etag_mutate()
|
| H A D | mod_magnet_cache.h | 11 buffer *name; 12 buffer *etag; 30 script_cache *cache, buffer *name);
|
| H A D | proc_open.h | 25 int proc_open_buffer(const char *command, buffer *in, buffer *out, buffer *err);
|
| H A D | mod_ssi.h | 18 buffer *content_type; 27 buffer *timefmt; 30 buffer *stat_fn;
|
| H A D | proc_open.c | 155 buffer *cmdline; in proc_open() 279 static void proc_read_fd_to_buffer(int fd, buffer *b) { in proc_read_fd_to_buffer() 293 int proc_open_buffer(const char *command, buffer *in, buffer *out, buffer *err) { in proc_open_buffer() 316 buffer *tmp = buffer_init(); in proc_open_buffer() 336 buffer *in = buffer_init(), *out = buffer_init(), *err = buffer_init(); in main()
|
| H A D | chunk.c | 163 int chunkqueue_append_file(chunkqueue *cq, buffer *fn, off_t offset, off_t len) { in chunkqueue_append_file() 182 int chunkqueue_append_buffer(chunkqueue *cq, buffer *mem) { in chunkqueue_append_buffer() 197 int chunkqueue_append_buffer_weak(chunkqueue *cq, buffer *mem) { in chunkqueue_append_buffer_weak() 211 int chunkqueue_prepend_buffer(chunkqueue *cq, buffer *mem) { in chunkqueue_prepend_buffer() 242 buffer * chunkqueue_get_prepend_buffer(chunkqueue *cq) { in chunkqueue_get_prepend_buffer() 256 buffer *chunkqueue_get_append_buffer(chunkqueue *cq) { in chunkqueue_get_append_buffer() 280 buffer *template = buffer_init_string("/var/tmp/lighttpd-upload-XXXXXX"); in chunkqueue_get_append_tempfile()
|
| H A D | stat_cache.c | 74 buffer *name; 212 static int stat_cache_attr_get(buffer *buf, char *name) { in stat_cache_attr_get() 228 static uint32_t hashme(buffer *str) { in hashme() 319 static int buffer_copy_dirname(buffer *dst, buffer *file) { in buffer_copy_dirname() 336 static int stat_cache_lstat(server *srv, buffer *dname, struct stat *lst) { in stat_cache_lstat() 358 handler_t stat_cache_get_entry(server *srv, connection *con, buffer *name, stat_cache_entry **ret_s… in stat_cache_get_entry() 564 buffer *dname; in stat_cache_get_entry() 609 buffer *type = ds->key; in stat_cache_get_entry()
|
| H A D | http_chunk.c | 25 buffer *b; in http_chunk_append_len() 54 int http_chunk_append_file(server *srv, connection *con, buffer *fn, off_t offset, off_t len) { in http_chunk_append_file() 74 int http_chunk_append_buffer(server *srv, connection *con, buffer *mem) { in http_chunk_append_buffer()
|
| H A D | crc32.c | 73 uint32_t generate_crc32c(char *buffer, size_t length) { in generate_crc32c() argument 78 CRC32C(crc32, (unsigned char)buffer[i]); in generate_crc32c()
|
| H A D | http_chunk.h | 8 int http_chunk_append_buffer(server *srv, connection *con, buffer *mem); 9 int http_chunk_append_file(server *srv, connection *con, buffer *fn, off_t offset, off_t len);
|
| H A D | mod_status.c | 24 buffer *config_url; 25 buffer *status_url; 26 buffer *statistics_url; 49 buffer *module_list; 146 static int mod_status_row_append(buffer *b, const char *key, const char *value) { in mod_status_row_append() 159 static int mod_status_header_append(buffer *b, const char *key) { in mod_status_header_append() 169 static int mod_status_header_append_sort(buffer *b, void *p_d, const char* key) { in mod_status_header_append_sort() 202 buffer *b; in mod_status_handle_server_status_html() 566 buffer *b; in mod_status_handle_server_status_text() 624 buffer *b; in mod_status_handle_server_statistics() [all …]
|
| H A D | mod_cml_lua.c | 48 static int lua_to_c_get_string(lua_State *L, const char *varname, buffer *b) { in lua_to_c_get_string() 103 static int cache_export_get_params(lua_State *L, int tbl, buffer *qrystr) { in cache_export_get_params() 208 int cache_parse_lua(server *srv, connection *con, plugin_data *p, buffer *fn) { in cache_parse_lua() 212 buffer *b = buffer_init(); in cache_parse_lua() 396 buffer tbuf; in cache_parse_lua() 455 int cache_parse_lua(server *srv, connection *con, plugin_data *p, buffer *fn) { in cache_parse_lua()
|
| H A D | mod_ssi_expr.h | 9 buffer *str; 25 void ssiexprparser(void *yyp, int yymajor, buffer *yyminor, ssi_ctx_t *ctx);
|
| H A D | http_auth.c | 88 static unsigned char * base64_decode(buffer *out, const char *in) { in base64_decode() 148 …_auth_get_password(server *srv, mod_auth_plugin_data *p, buffer *username, buffer *realm, buffer *… in http_auth_get_password() 234 buffer *auth_fn; in http_auth_get_password() 610 …ompare(server *srv, mod_auth_plugin_data *p, array *req, buffer *username, buffer *realm, buffer *… in http_auth_basic_password_compare() 839 int http_auth_basic_check(server *srv, connection *con, mod_auth_plugin_data *p, array *req, buffer… in http_auth_basic_check() 840 buffer *username, *password; in http_auth_basic_check() 918 …check(server *srv, connection *con, mod_auth_plugin_data *p, array *req, buffer *url, const char *… in http_auth_digest_check() 935 buffer *password, *b, *username_buf, *realm_buf; in http_auth_digest_check() 1178 int http_auth_digest_generate_nonce(server *srv, mod_auth_plugin_data *p, buffer *fn, char out[33])… in http_auth_digest_generate_nonce()
|
| H A D | mod_accesslog.c | 114 buffer *string; 126 buffer *access_logfile; 127 buffer *format; 136 buffer *access_logbuffer; 137 buffer *ts_accesslog_str; 138 buffer *ts_accesslog_fmt_str; 159 static void accesslog_append_escaped(buffer *dest, buffer *str) { in accesslog_append_escaped() 219 static int accesslog_parse_format(server *srv, format_fields *fields, buffer *format) { in accesslog_parse_format() 682 buffer *b; in REQUESTDONE_FUNC() 863 buffer *srvtoken = ((server_socket*)(con->srv_socket))->srv_token; in REQUESTDONE_FUNC()
|