lighttpd 1.4.x
https://www.lighttpd.net/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
387 B
18 lines
387 B
#ifndef _CONFIG_PARSER_H_ |
|
#define _CONFIG_PARSER_H_ |
|
|
|
#include "array.h" |
|
#include "buffer.h" |
|
|
|
typedef struct { |
|
int ok; |
|
array *config; |
|
buffer *ctx_name; |
|
array *ctx_config; |
|
} config_t; |
|
|
|
void *configparserAlloc(void *(*mallocProc)(size_t)); |
|
void configparserFree(void *p, void (*freeProc)(void*)); |
|
void configparser(void *yyp, int yymajor, buffer *yyminor, config_t *ctx); |
|
|
|
#endif
|
|
|