From 9d53c8ab74ecb2be62ebf4c61350b842787cc6b9 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Wed, 11 Apr 2001 01:37:03 +0000 Subject: Move get_ar_headers to libbb, make dpkg_deb.c independent of ar.c --- libbb/libbb.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libbb/libbb.h') diff --git a/libbb/libbb.h b/libbb/libbb.h index 6133b19d3..649fe11c1 100644 --- a/libbb/libbb.h +++ b/libbb/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__ */ -- cgit v1.2.3