summaryrefslogtreecommitdiff
path: root/src/apk_package.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-08-04 16:54:15 +0300
committerTimo Teras <timo.teras@iki.fi>2009-08-04 16:54:15 +0300
commita602c49b31e92466ea42e2968833d3e6908a18c1 (patch)
tree2bce5d16480375e3a7c96c4646b11a5b11cf8035 /src/apk_package.h
parent1fea5639b455ae4267a7dc17ef19b8d2506978b0 (diff)
downloadapk-tools-a602c49b31e92466ea42e2968833d3e6908a18c1.tar.gz
apk-tools-a602c49b31e92466ea42e2968833d3e6908a18c1.tar.bz2
apk-tools-a602c49b31e92466ea42e2968833d3e6908a18c1.tar.xz
apk-tools-a602c49b31e92466ea42e2968833d3e6908a18c1.zip
db: support "replaces" directive (fixes #113)
it will allow to overwrite files owned by some other packages to get upgrades right (e.g. when splitting or renaming packages)
Diffstat (limited to 'src/apk_package.h')
-rw-r--r--src/apk_package.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_package.h b/src/apk_package.h
index 791df93..d759211 100644
--- a/src/apk_package.h
+++ b/src/apk_package.h
@@ -103,6 +103,7 @@ void apk_sign_ctx_free(struct apk_sign_ctx *ctx);
int apk_sign_ctx_process_file(struct apk_sign_ctx *ctx,
const struct apk_file_info *fi,
struct apk_istream *is);
+int apk_sign_ctx_parse_pkginfo_line(void *ctx, apk_blob_t line);
int apk_sign_ctx_verify_tar(void *ctx, const struct apk_file_info *fi,
struct apk_istream *is);
int apk_sign_ctx_mpart_cb(void *ctx, int part, apk_blob_t blob);