diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-07-14 19:14:05 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-07-14 19:14:05 +0300 |
commit | 981bc118f8bdf1df6c23c096a52c890a87ee3e5e (patch) | |
tree | 73063efdb73ce4ee3511cc827181ff9c6b28427e /src/apk_package.h | |
parent | e9eaedff5071b94d166973f13df90e47ff4936fe (diff) | |
download | apk-tools-981bc118f8bdf1df6c23c096a52c890a87ee3e5e.tar.gz apk-tools-981bc118f8bdf1df6c23c096a52c890a87ee3e5e.tar.bz2 apk-tools-981bc118f8bdf1df6c23c096a52c890a87ee3e5e.tar.xz apk-tools-981bc118f8bdf1df6c23c096a52c890a87ee3e5e.zip |
db: live with sha1 and md5
this also convers scripts file to a tar archive.
Diffstat (limited to 'src/apk_package.h')
-rw-r--r-- | src/apk_package.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/apk_package.h b/src/apk_package.h index a6e4784..bec495b 100644 --- a/src/apk_package.h +++ b/src/apk_package.h @@ -4,7 +4,7 @@ * Copyright (C) 2008 Timo Teräs <timo.teras@iki.fi> * 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. */ @@ -52,7 +52,6 @@ APK_ARRAY(apk_dependency_array, struct apk_dependency); struct apk_package { apk_hash_node hash_node; - csum_t csum; unsigned repos; struct apk_name *name; char *version; @@ -60,6 +59,7 @@ struct apk_package { struct apk_dependency_array *depends; size_t installed_size, size; char *filename; + struct apk_checksum csum; /* for installed packages only */ struct list_head installed_pkgs_list; @@ -68,6 +68,8 @@ struct apk_package { }; APK_ARRAY(apk_package_array, struct apk_package *); +extern const char *apk_script_types[]; + int apk_deps_add(struct apk_dependency_array **depends, struct apk_dependency *dep); void apk_deps_del(struct apk_dependency_array **deps, |