From cf6da173f62ee96703714e66f8538069a46a63e3 Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Thu, 28 Sep 2006 20:51:33 +0000 Subject: removed libtar support in favour of libarchive --- lib/libalpm/util.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/libalpm/util.h') diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h index af8162b2..9b0c9a0d 100644 --- a/lib/libalpm/util.h +++ b/lib/libalpm/util.h @@ -22,6 +22,8 @@ #define _ALPM_UTIL_H #include +#include +#include #define FREE(p) do { if (p) { free(p); p = NULL; } } while(0) @@ -34,7 +36,8 @@ #define _(str) dgettext("libalpm", str) -long _alpm_gzopen_frontend(char *pathname, int oflags, int mode); +#define ARCHIVE_EXTRACT_FLAGS ARCHIVE_EXTRACT_OWNER | ARCHIVE_EXTRACT_PERM | ARCHIVE_EXTRACT_TIME + int _alpm_makepath(char *path); int _alpm_copyfile(char *src, char *dest); char *_alpm_strtoupper(char *str); @@ -43,6 +46,7 @@ int _alpm_lckmk(char *file); int _alpm_lckrm(char *file); int _alpm_unpack(char *archive, const char *prefix, const char *fn); int _alpm_rmrf(char *path); +int _alpm_archive_read_entry_data_into_fd(struct archive *archive, int fd); int _alpm_logaction(unsigned char usesyslog, FILE *f, char *fmt, ...); int _alpm_ldconfig(char *root); int _alpm_runscriptlet(char *util, char *installfn, char *script, char *ver, char *oldver); -- cgit v1.2.3-70-g09d2