summaryrefslogtreecommitdiff
path: root/src/configfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/configfile.h')
-rw-r--r--src/configfile.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/configfile.h b/src/configfile.h
deleted file mode 100644
index 5694517d..00000000
--- a/src/configfile.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef _CONFIG_PARSER_H_
-#define _CONFIG_PARSER_H_
-
-#include "settings.h"
-#include "server.h"
-#include "array.h"
-#include "buffer.h"
-
-typedef struct {
- server *srv;
- int ok;
- array *all_configs;
- buffer_ptr *configs_stack; /* to parse nested block */
- data_config *current; /* current started with { */
- buffer *basedir;
-} config_t;
-
-LI_API void * configparserAlloc(void *(*mallocProc)(size_t));
-LI_API void configparserFree(void *p, void (*freeProc)(void*));
-LI_API void configparser(void *yyp, int yymajor, buffer *yyminor, config_t *ctx);
-LI_API int config_parse_file(server *srv, config_t *context, const char *fn);
-LI_API int config_parse_cmd(server *srv, config_t *context, const char *cmd);
-LI_API data_unset * configparser_merge_data(data_unset *op1, const data_unset *op2);
-LI_API void config_cond_cache_reset(server *srv, connection *con);
-LI_API void config_cond_cache_reset_item(server *srv, connection *con, comp_key_t item);
-
-#define config_cond_cache_reset_all_items(srv, con) \
- config_cond_cache_reset_item(srv, con, COMP_LAST_ELEMENT);
-
-#endif