Annotation of embedaddon/lighttpd/src/configfile.h, revision 1.1.1.2

1.1       misho       1: #ifndef _CONFIG_PARSER_H_
                      2: #define _CONFIG_PARSER_H_
1.1.1.2 ! misho       3: #include "first.h"
1.1       misho       4: 
                      5: #include "array.h"
                      6: #include "buffer.h"
                      7: #include "server.h"
                      8: 
                      9: typedef struct {
                     10:        server *srv;
                     11:        int     ok;
                     12:        array  *all_configs;
1.1.1.2 ! misho      13:        vector_config_weak configs_stack; /* to parse nested block */
1.1       misho      14:        data_config *current; /* current started with { */
                     15:        buffer *basedir;
                     16: } config_t;
                     17: 
                     18: void *configparserAlloc(void *(*mallocProc)(size_t));
                     19: void configparserFree(void *p, void (*freeProc)(void*));
                     20: void configparser(void *yyp, int yymajor, buffer *yyminor, config_t *ctx);
                     21: int config_parse_file(server *srv, config_t *context, const char *fn);
                     22: int config_parse_cmd(server *srv, config_t *context, const char *cmd);
                     23: data_unset *configparser_merge_data(data_unset *op1, const data_unset *op2);
                     24: 
1.1.1.2 ! misho      25: int config_setup_connection(server *srv, connection *con);
        !            26: int config_patch_connection(server *srv, connection *con);
        !            27: 
1.1       misho      28: void config_cond_cache_reset(server *srv, connection *con);
                     29: void config_cond_cache_reset_item(server *srv, connection *con, comp_key_t item);
                     30: 
                     31: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>