|
@@ -46,9 +46,12 @@ typedef struct parser_t {
|
|
} parser_t;
|
|
} parser_t;
|
|
|
|
|
|
parser_t* config_open(const char *filename) FAST_FUNC attribute_hidden;
|
|
parser_t* config_open(const char *filename) FAST_FUNC attribute_hidden;
|
|
|
|
+libc_hidden_proto(config_open)
|
|
int config_read(parser_t *parser, char ***tokens, unsigned flags, const char *delims) FAST_FUNC attribute_hidden;
|
|
int config_read(parser_t *parser, char ***tokens, unsigned flags, const char *delims) FAST_FUNC attribute_hidden;
|
|
|
|
+libc_hidden_proto(config_read)
|
|
#define config_read(parser, tokens, max, min, str, flags) \
|
|
#define config_read(parser, tokens, max, min, str, flags) \
|
|
config_read(parser, tokens, ((flags) | (((min) & 0xFF) << 8) | ((max) & 0xFF)), str)
|
|
config_read(parser, tokens, ((flags) | (((min) & 0xFF) << 8) | ((max) & 0xFF)), str)
|
|
void config_close(parser_t *parser) FAST_FUNC attribute_hidden;
|
|
void config_close(parser_t *parser) FAST_FUNC attribute_hidden;
|
|
|
|
+libc_hidden_proto(config_close)
|
|
|
|
|
|
#endif /* __INTERNAL_PARSE_CONFIG_H */
|
|
#endif /* __INTERNAL_PARSE_CONFIG_H */
|