summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2010-06-21 07:17:23 +0200
committerDenys Vlasenko2010-06-21 07:17:23 +0200
commitadbbee46ad0661bf695d2bfe7a07ebced4bbe780 (patch)
tree657c70f934a0cb2a882e07d997a063172a0ceae5 /include
parent05a550b48abe8490264cacf14b68534c2f8ac3ed (diff)
downloadbusybox-adbbee46ad0661bf695d2bfe7a07ebced4bbe780.zip
busybox-adbbee46ad0661bf695d2bfe7a07ebced4bbe780.tar.gz
bootchartd: added optional compat features
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 22c72d9..5e962fd 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1125,6 +1125,7 @@ typedef struct parser_t {
} parser_t;
parser_t* config_open(const char *filename) FAST_FUNC;
parser_t* config_open2(const char *filename, FILE* FAST_FUNC (*fopen_func)(const char *path)) FAST_FUNC;
+/* delims[0] is a comment char (use '\0' to disable), the rest are token delimiters */
int config_read(parser_t *parser, char **tokens, unsigned flags, const char *delims) FAST_FUNC;
#define config_read(parser, tokens, max, min, str, flags) \
config_read(parser, tokens, ((flags) | (((min) & 0xFF) << 8) | ((max) & 0xFF)), str)