summaryrefslogtreecommitdiffstats
path: root/libopkg/parse_util.h
diff options
context:
space:
mode:
authorjaviplx@gmail.com <javiplx@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2011-04-26 07:28:41 (EDT)
committer javiplx@gmail.com <javiplx@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2011-04-26 07:28:41 (EDT)
commit408a9ff806c905990d41194b57368e2a751b60fc (patch)
tree2c0a467c62ed25bf3c7eef098de1651fa19e6075 /libopkg/parse_util.h
parent9c97d5ecd795709c8584e972bfdf3aee3a5b846d (diff)
Move pkg_parse_from_stream_nomalloc into parse_util
git-svn-id: http://opkg.googlecode.com/svn/trunk@619 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/parse_util.h')
-rw-r--r--libopkg/parse_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libopkg/parse_util.h b/libopkg/parse_util.h
index e4e2abe..d1aba4c 100644
--- a/libopkg/parse_util.h
+++ b/libopkg/parse_util.h
@@ -18,8 +18,13 @@
#ifndef PARSE_UTIL_H
#define PARSE_UTIL_H
+#include "pkg.h"
+
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);
+int parse_from_stream_nomalloc(pkg_t *pkg, FILE *fp, uint mask,
+ char **buf0, size_t buf0len);
+
#endif