diff options
author | Timo Teräs <timo.teras@iki.fi> | 2019-12-13 15:22:33 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-04-01 15:58:49 +0300 |
commit | e79226010a0641f701b6e12392e176cc2cf58d72 (patch) | |
tree | dec5311a1fc0cfb837b4af4038cab7bdedc2bb4c /src/package.c | |
parent | d6c54f932054c58aee8f7a6d2bd49b115d804da1 (diff) | |
download | aports-v3.0-wip.tar.bz2 aports-v3.0-wip.tar.xz |
adb: introduce apk-tools database format, and few appletsv3.0-wip
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 6cfb8d4da3..3a1d5d4844 100644 --- a/src/package.c +++ b/src/package.c @@ -30,17 +30,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) /*@*/ }; |