diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2001-07-18 15:47:21 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2001-07-18 15:47:21 +0000 |
commit | c3fbec73fb45997918bef927cea519866e1e1c9d (patch) | |
tree | 5c1fd9758c4c9894bb050d9c152e1735bc007536 /include | |
parent | 8d3b0497a4d8866f0cafd873f241971c2871d580 (diff) |
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')
-rw-r--r-- | include/libbb.h | 2 |
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) 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); |