diff options
author | Timo Teräs <timo.teras@iki.fi> | 2020-09-30 14:11:37 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-10-01 14:33:43 +0300 |
commit | 7ccda091c2c7cf18225b861962f952dc04a5295f (patch) | |
tree | 5556804d4fdf2721da18cde4552b5a9a4bd8c33f /src/package.c | |
parent | c269e9c24da57ab1b69ad6c80e9a1cb52b2b67d2 (diff) | |
download | apk-tools-7ccda091c2c7cf18225b861962f952dc04a5295f.tar.gz apk-tools-7ccda091c2c7cf18225b861962f952dc04a5295f.tar.bz2 apk-tools-7ccda091c2c7cf18225b861962f952dc04a5295f.tar.xz apk-tools-7ccda091c2c7cf18225b861962f952dc04a5295f.zip |
adb: introduce apk-tools database format, and few applets
This is a flat buffers inspired format that allows fast
mmaped access to the data with low overhead, signature support
and relatively good forward support.
Diffstat (limited to 'src/package.c')
-rw-r--r-- | src/package.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/package.c b/src/package.c index 5db77ec..429a8eb 100644 --- a/src/package.c +++ b/src/package.c @@ -28,17 +28,17 @@ #include "apk_database.h" #include "apk_print.h" -static const apk_spn_match_def apk_spn_dependency_comparer = { +const apk_spn_match_def apk_spn_dependency_comparer = { [7] = (1<<4) /*<*/ | (1<<5) /*=*/ | (1<<6) /*<*/, [15] = (1<<6) /*~*/ }; -static const apk_spn_match_def apk_spn_dependency_separator = { +const apk_spn_match_def apk_spn_dependency_separator = { [1] = (1<<2) /*\n*/, [4] = (1<<0) /* */, }; -static const apk_spn_match_def apk_spn_repotag_separator = { +const apk_spn_match_def apk_spn_repotag_separator = { [8] = (1<<0) /*@*/ }; |