projects
/
project
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pkg_parse: remove const requirement from pkg_parse_line()
[project/opkg-lede.git]
/
libopkg
/
parse_util.h
diff --git
a/libopkg/parse_util.h
b/libopkg/parse_util.h
index 6b7d4993ef0fe4c91abd3355a3fc8ae10928f5d0..787750f00273b0a51a82e13301073f74c54239ff 100644
(file)
--- a/
libopkg/parse_util.h
+++ b/
libopkg/parse_util.h
@@
-1,7
+1,7
@@
/* parse_util.h - the opkg package management system
Steven M. Ayer
/* parse_util.h - the opkg package management system
Steven M. Ayer
-
+
Copyright (C) 2002 Compaq Computer Corporation
This program is free software; you can redistribute it and/or
Copyright (C) 2002 Compaq Computer Corporation
This program is free software; you can redistribute it and/or
@@
-23,7
+23,7
@@
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 *, c
onst c
har *, uint);
+typedef int (*parse_line_t) (void *, char *, uint);
int parse_from_stream_nomalloc(parse_line_t parse_line, void *item, FILE * fp,
uint mask, char **buf0, size_t buf0len);
int parse_from_stream_nomalloc(parse_line_t parse_line, void *item, FILE * fp,
uint mask, char **buf0, size_t buf0len);