summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGlenn L McGrath2002-08-22 13:25:12 +0000
committerGlenn L McGrath2002-08-22 13:25:12 +0000
commit4176972db5a65af78d13fed97ab84bf4fceaee2c (patch)
treec036d14d807a04321dcb8b104483023fcba430ca /include
parentd827e8b665d808aab809e3b4a89e539f1c1d94f4 (diff)
downloadbusybox-4176972db5a65af78d13fed97ab84bf4fceaee2c.zip
busybox-4176972db5a65af78d13fed97ab84bf4fceaee2c.tar.gz
Run through indent, use /* */ style comments
Diffstat (limited to 'include')
-rw-r--r--include/unarchive.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/include/unarchive.h b/include/unarchive.h
index eada1c3..ffddc89 100644
--- a/include/unarchive.h
+++ b/include/unarchive.h
@@ -1,5 +1,5 @@
-#include <stdio.h> // for FILE
-#include <unistd.h> // for off_t
+#include <stdio.h> /* for FILE */
+#include <unistd.h> /* for off_t */
enum extract_functions_e {
extract_verbose_list = 1,
@@ -26,20 +26,23 @@ typedef struct file_headers_s {
mode_t mode;
time_t mtime;
dev_t device;
- int (*extract_func)(FILE *, FILE *);
+ int (*extract_func) (FILE *, FILE *);
} file_header_t;
-file_header_t *get_header_ar(FILE *in_file);
-file_header_t *get_header_cpio(FILE *src_stream);
-file_header_t *get_header_tar(FILE *tar_stream);
-file_header_t *get_header_zip(FILE *zip_stream);
+file_header_t *get_header_ar(FILE * in_file);
+file_header_t *get_header_cpio(FILE * src_stream);
+file_header_t *get_header_tar(FILE * tar_stream);
+file_header_t *get_header_zip(FILE * zip_stream);
-void seek_sub_file(FILE *src_stream, const int count);
+void seek_sub_file(FILE * src_stream, const int count);
extern off_t archive_offset;
-char *unarchive(FILE *src_stream, FILE *out_stream, file_header_t *(*get_headers)(FILE *),
- const int extract_function, const char *prefix, char **include_name, char **exclude_name);
+char *unarchive(FILE * src_stream, FILE * out_stream,
+ file_header_t * (*get_headers) (FILE *),
+ const int extract_function, const char *prefix,
+ char **include_name, char **exclude_name);
-char *deb_extract(const char *package_filename, FILE *out_stream, const int extract_function,
- const char *prefix, const char *filename);
+char *deb_extract(const char *package_filename, FILE * out_stream,
+ const int extract_function, const char *prefix,
+ const char *filename);