summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGlenn L McGrath2001-04-11 01:37:03 +0000
committerGlenn L McGrath2001-04-11 01:37:03 +0000
commit9d53c8ab74ecb2be62ebf4c61350b842787cc6b9 (patch)
treec351bc7377b948c358f0f9c7da1f225b6f349ee3 /include
parent93ffa950bfd349c8d8ff40f1f862f2b7483584d4 (diff)
downloadbusybox-9d53c8ab74ecb2be62ebf4c61350b842787cc6b9.zip
busybox-9d53c8ab74ecb2be62ebf4c61350b842787cc6b9.tar.gz
Move get_ar_headers to libbb, make dpkg_deb.c independent of ar.c
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 6133b19..649fe11 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -215,4 +215,16 @@ int klogctl(int type, char * b, int len);
char *xgetcwd(char *cwd);
char *concat_path_file(const char *path, const char *filename);
+typedef struct ar_headers_s {
+ char *name;
+ off_t size;
+ uid_t uid;
+ gid_t gid;
+ mode_t mode;
+ time_t mtime;
+ off_t offset;
+ struct ar_headers_s *next;
+} ar_headers_t;
+extern ar_headers_t get_ar_headers(int srcFd);
+
#endif /* __LIBBB_H__ */