diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 22c72d9ee..5e962fdb6 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1125,6 +1125,7 @@ typedef struct parser_t { | |||
1125 | } parser_t; | 1125 | } parser_t; |
1126 | parser_t* config_open(const char *filename) FAST_FUNC; | 1126 | parser_t* config_open(const char *filename) FAST_FUNC; |
1127 | parser_t* config_open2(const char *filename, FILE* FAST_FUNC (*fopen_func)(const char *path)) FAST_FUNC; | 1127 | parser_t* config_open2(const char *filename, FILE* FAST_FUNC (*fopen_func)(const char *path)) FAST_FUNC; |
1128 | /* delims[0] is a comment char (use '\0' to disable), the rest are token delimiters */ | ||
1128 | int config_read(parser_t *parser, char **tokens, unsigned flags, const char *delims) FAST_FUNC; | 1129 | int config_read(parser_t *parser, char **tokens, unsigned flags, const char *delims) FAST_FUNC; |
1129 | #define config_read(parser, tokens, max, min, str, flags) \ | 1130 | #define config_read(parser, tokens, max, min, str, flags) \ |
1130 | config_read(parser, tokens, ((flags) | (((min) & 0xFF) << 8) | ((max) & 0xFF)), str) | 1131 | config_read(parser, tokens, ((flags) | (((min) & 0xFF) << 8) | ((max) & 0xFF)), str) |