From 981bc118f8bdf1df6c23c096a52c890a87ee3e5e Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Tue, 14 Jul 2009 19:14:05 +0300 Subject: db: live with sha1 and md5 this also convers scripts file to a tar archive. --- src/apk_archive.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/apk_archive.h') diff --git a/src/apk_archive.h b/src/apk_archive.h index 4651255..d3b787d 100644 --- a/src/apk_archive.h +++ b/src/apk_archive.h @@ -4,7 +4,7 @@ * Copyright (C) 2008 Timo Teräs * All rights reserved. * - * This program is free software; you can redistribute it and/or modify it + * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. See http://www.gnu.org/ for details. */ @@ -22,6 +22,7 @@ typedef int (*apk_archive_entry_parser)(void *ctx, int apk_parse_tar(struct apk_istream *, apk_archive_entry_parser parser, void *ctx); int apk_parse_tar_gz(struct apk_bstream *, apk_archive_entry_parser parser, void *ctx); +int apk_write_tar_entry(struct apk_ostream *, const struct apk_file_info *ae, char *data); int apk_archive_entry_extract(const struct apk_file_info *ae, struct apk_istream *is, -- cgit v1.2.3-70-g09d2