summaryrefslogtreecommitdiff
path: root/src/configfile.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2019-02-03 23:27:57 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2019-02-04 02:25:48 -0500
commitfb9b8ad8ae515ac1568b49d46ffc2775d15d1e0e (patch)
tree9002b132dc4f13f6e2f814c6dff3613d9b5ea085 /src/configfile.h
parent413c0e557e4c813e726b72ce08ac3c78ab5d1888 (diff)
downloadlighttpd-git-fb9b8ad8ae515ac1568b49d46ffc2775d15d1e0e.tar.gz
[core] mark startup/shutdown funcs cold
Diffstat (limited to 'src/configfile.h')
-rw-r--r--src/configfile.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/configfile.h b/src/configfile.h
index 1cef1209..61d66d0c 100644
--- a/src/configfile.h
+++ b/src/configfile.h
@@ -81,8 +81,12 @@ struct data_config {
struct cond_cache_t; /* declaration */
+__attribute_cold__
data_config *data_config_init(void);
+
+__attribute_cold__
int data_config_pcre_compile(data_config *dc);
+
int data_config_pcre_exec(data_config *dc, struct cond_cache_t *cache, buffer *b);
typedef struct {
@@ -94,14 +98,26 @@ typedef struct {
buffer *basedir;
} config_t;
+__attribute_cold__
int config_read(server *srv, const char *fn);
+
+__attribute_cold__
int config_set_defaults(server *srv);
+
+__attribute_cold__
void *configparserAlloc(void *(*mallocProc)(size_t));
+
+__attribute_cold__
void configparserFree(void *p, void (*freeProc)(void*));
+
+__attribute_cold__
void configparser(void *yyp, int yymajor, buffer *yyminor, config_t *ctx);
+
+__attribute_cold__
int config_parse_file(server *srv, config_t *context, const char *fn);
+
+__attribute_cold__
int config_parse_cmd(server *srv, config_t *context, const char *cmd);
-data_unset *configparser_merge_data(data_unset *op1, const data_unset *op2);
int config_setup_connection(server *srv, connection *con);
int config_patch_connection(server *srv, connection *con);
@@ -133,8 +149,12 @@ typedef struct {
config_scope_type_t scope;
} config_values_t;
+__attribute_cold__
int config_insert_values_global(server *srv, array *ca, const config_values_t *cv, config_scope_type_t scope);
+
+__attribute_cold__
int config_insert_values_internal(server *srv, array *ca, const config_values_t *cv, config_scope_type_t scope);
+
int config_check_cond(server *srv, connection *con, data_config *dc);
#endif