diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-07-15 15:59:06 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-07-15 15:59:06 +0300 |
commit | ba76c5f48ae584c4085ef97fb16e5a6f72adfe25 (patch) | |
tree | 591de04ad42b0bdcdf51e1926f368e68a1a55172 /src/apk_package.h | |
parent | a7c5fda40ac76c4a43af7a4ee5241514f890a2ee (diff) | |
download | apk-tools-ba76c5f48ae584c4085ef97fb16e5a6f72adfe25.tar.gz apk-tools-ba76c5f48ae584c4085ef97fb16e5a6f72adfe25.tar.bz2 apk-tools-ba76c5f48ae584c4085ef97fb16e5a6f72adfe25.tar.xz apk-tools-ba76c5f48ae584c4085ef97fb16e5a6f72adfe25.zip |
cache: make cache cleaning work again properly
Diffstat (limited to 'src/apk_package.h')
-rw-r--r-- | src/apk_package.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/apk_package.h b/src/apk_package.h index bec495b..a281712 100644 --- a/src/apk_package.h +++ b/src/apk_package.h @@ -84,6 +84,8 @@ struct apk_package *apk_pkg_new(void); struct apk_package *apk_pkg_read(struct apk_database *db, const char *name); void apk_pkg_free(struct apk_package *pkg); +int apk_pkg_parse_name(apk_blob_t apkname, apk_blob_t *name, apk_blob_t *version); + int apk_pkg_add_info(struct apk_database *db, struct apk_package *pkg, char field, apk_blob_t value); int apk_pkg_get_state(struct apk_package *pkg); |