aboutsummaryrefslogtreecommitdiffstats
path: root/src/apk_package.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2008-11-07 17:11:08 +0200
committerTimo Teras <timo.teras@iki.fi>2008-11-07 17:11:08 +0200
commitaef0f036f08f8949e4e2a5b84c9199ef8ec40595 (patch)
tree423ba9a4e5db4b8b38b6ccf2578c8c205ff7db4d /src/apk_package.h
parent6967c28b96784d474e6c2f50b075895d89f9ce02 (diff)
downloadaports-aef0f036f08f8949e4e2a5b84c9199ef8ec40595.tar.bz2
aports-aef0f036f08f8949e4e2a5b84c9199ef8ec40595.tar.xz
use zlib internally to decompress
Diffstat (limited to 'src/apk_package.h')
-rw-r--r--src/apk_package.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apk_package.h b/src/apk_package.h
index 68e63e190e..6f13e94503 100644
--- a/src/apk_package.h
+++ b/src/apk_package.h
@@ -14,6 +14,7 @@
#include "apk_version.h"
#include "apk_hash.h"
+#include "apk_io.h"
struct apk_database;
struct apk_name;
@@ -75,7 +76,7 @@ struct apk_package *apk_pkg_read(struct apk_database *db, const char *name);
void apk_pkg_free(struct apk_package *pkg);
int apk_pkg_get_state(struct apk_package *pkg);
-int apk_pkg_add_script(struct apk_package *pkg, int fd,
+int apk_pkg_add_script(struct apk_package *pkg, struct apk_istream *is,
unsigned int type, unsigned int size);
int apk_pkg_run_script(struct apk_package *pkg, int root_fd,
unsigned int type);