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_package.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/apk_package.h') 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 * 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, -- cgit v1.2.3-60-g2f50