summaryrefslogtreecommitdiff
path: root/src/apk_defines.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2021-07-23 14:39:38 +0300
committerTimo Teräs <timo.teras@iki.fi>2021-07-23 14:39:38 +0300
commit3d203e8f5f35cd5e34c3d0b80ebdcc7d8d33bee7 (patch)
treef8a421a49e402a94ee164a5894ffb9d8e97f02e3 /src/apk_defines.h
parenta0e9c909f74293354935c5d5c530812b5d705822 (diff)
downloadapk-tools-3d203e8f5f35cd5e34c3d0b80ebdcc7d8d33bee7.tar.gz
apk-tools-3d203e8f5f35cd5e34c3d0b80ebdcc7d8d33bee7.tar.bz2
apk-tools-3d203e8f5f35cd5e34c3d0b80ebdcc7d8d33bee7.tar.xz
apk-tools-3d203e8f5f35cd5e34c3d0b80ebdcc7d8d33bee7.zip
db: allow read-only operations without cache
fixes #10748
Diffstat (limited to 'src/apk_defines.h')
-rw-r--r--src/apk_defines.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h
index 8470835..f1b0f8d 100644
--- a/src/apk_defines.h
+++ b/src/apk_defines.h
@@ -60,7 +60,8 @@ enum {
APKE_PACKAGE_NOT_FOUND,
APKE_INDEX_STALE,
APKE_FILE_INTEGRITY,
- APKE_UVOL
+ APKE_CACHE_NOT_AVAILABLE,
+ APKE_UVOL,
};
static inline void *ERR_PTR(long error) { return (void*) error; }