X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=libopkg%2Fparse_util.h;h=6b7d4993ef0fe4c91abd3355a3fc8ae10928f5d0;hb=4ea955bc7e5575bc1d8b34c364591c47653f2cfd;hp=3263509814dd95931b45436418dbd89e2f02477d;hpb=a79c1af5c0d3908a3ad30806530c754b42cf80e2;p=project%2Fopkg-lede.git diff --git a/libopkg/parse_util.h b/libopkg/parse_util.h index 3263509..6b7d499 100644 --- a/libopkg/parse_util.h +++ b/libopkg/parse_util.h @@ -20,10 +20,11 @@ int is_field(const char *type, const char *line); char *parse_simple(const char *type, const char *line); -char **parse_list(const char *raw, unsigned int *count, const char sep, int skip_field); +char **parse_list(const char *raw, unsigned int *count, const char sep, + int skip_field); -typedef int (*parse_line_t)(void *, const char *, uint); -int parse_from_stream_nomalloc(parse_line_t parse_line, void *item, FILE *fp, uint mask, - char **buf0, size_t buf0len); +typedef int (*parse_line_t) (void *, const char *, uint); +int parse_from_stream_nomalloc(parse_line_t parse_line, void *item, FILE * fp, + uint mask, char **buf0, size_t buf0len); #endif