aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2001-07-18 15:47:21 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2001-07-18 15:47:21 +0000
commitc3fbec73fb45997918bef927cea519866e1e1c9d (patch)
tree5c1fd9758c4c9894bb050d9c152e1735bc007536 /include/libbb.h
parent8d3b0497a4d8866f0cafd873f241971c2871d580 (diff)
downloadbusybox-w32-c3fbec73fb45997918bef927cea519866e1e1c9d.tar.gz
busybox-w32-c3fbec73fb45997918bef927cea519866e1e1c9d.tar.bz2
busybox-w32-c3fbec73fb45997918bef927cea519866e1e1c9d.zip
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 'include/libbb.h')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index a9c1a870f..bf5f0c1c5 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -245,7 +245,7 @@ char *unarchive(FILE *src_stream, FILE *out_stream, file_header_t *(*get_header)
245 const int extract_function, const char *prefix, char **extract_names); 245 const int extract_function, const char *prefix, char **extract_names);
246char *deb_extract(const char *package_filename, FILE *out_stream, const int extract_function, 246char *deb_extract(const char *package_filename, FILE *out_stream, const int extract_function,
247 const char *prefix, const char *filename); 247 const char *prefix, const char *filename);
248char *read_package_field(const char *package_buffer); 248int read_package_field(const char *package_buffer, char **field_name, char **field_value);
249char *fgets_str(FILE *file, const char *terminating_string); 249char *fgets_str(FILE *file, const char *terminating_string);
250 250
251extern int unzip(FILE *l_in_file, FILE *l_out_file); 251extern int unzip(FILE *l_in_file, FILE *l_out_file);