summaryrefslogtreecommitdiff
path: root/libbb/libbb.h
diff options
context:
space:
mode:
authorGlenn L McGrath2001-07-18 15:47:21 +0000
committerGlenn L McGrath2001-07-18 15:47:21 +0000
commitc3fbec73fb45997918bef927cea519866e1e1c9d (patch)
tree5c1fd9758c4c9894bb050d9c152e1735bc007536 /libbb/libbb.h
parent8d3b0497a4d8866f0cafd873f241971c2871d580 (diff)
downloadbusybox-c3fbec73fb45997918bef927cea519866e1e1c9d.zip
busybox-c3fbec73fb45997918bef927cea519866e1e1c9d.tar.gz
Change read_package_field interface, and rewrite using low level functions
Fixes for a few bugs that have crept into dpkg in the last few days
Diffstat (limited to 'libbb/libbb.h')
-rw-r--r--libbb/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/libbb.h b/libbb/libbb.h
index a9c1a87..bf5f0c1 100644
--- a/libbb/libbb.h
+++ b/libbb/libbb.h
@@ -245,7 +245,7 @@ char *unarchive(FILE *src_stream, FILE *out_stream, file_header_t *(*get_header)
const int extract_function, const char *prefix, char **extract_names);
char *deb_extract(const char *package_filename, FILE *out_stream, const int extract_function,
const char *prefix, const char *filename);
-char *read_package_field(const char *package_buffer);
+int read_package_field(const char *package_buffer, char **field_name, char **field_value);
char *fgets_str(FILE *file, const char *terminating_string);
extern int unzip(FILE *l_in_file, FILE *l_out_file);