diff options
author | Michael Schroeder <mls@suse.de> | 2009-09-22 18:49:30 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2009-09-22 18:49:30 +0200 |
commit | 2809498f0ceebc98709443afcbfdd799d5bb35b1 (patch) | |
tree | 40455aefe0d90f640456fed149545a9099e349e9 /src/repopack.h | |
parent | a415136ab9806fd4bb83743ba974c6288b3a1a1a (diff) | |
download | libsolv-2809498f0ceebc98709443afcbfdd799d5bb35b1.tar.gz libsolv-2809498f0ceebc98709443afcbfdd799d5bb35b1.tar.bz2 libsolv-2809498f0ceebc98709443afcbfdd799d5bb35b1.zip |
- get missing translations from other solvables
- fix solvable_lookup_str_poollang bug
- add support for REPOKEY_TYPE_BINARY
- do not add provides when extending susetags solvables
- fix susetags language handling in demo application
Diffstat (limited to 'src/repopack.h')
-rw-r--r-- | src/repopack.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/repopack.h b/src/repopack.h index bfc1425..e55072c 100644 --- a/src/repopack.h +++ b/src/repopack.h @@ -93,6 +93,10 @@ data_fetch(unsigned char *dp, KeyValue *kv, Repokey *key) case REPOKEY_TYPE_SHA256: kv->str = (const char *)dp; return dp + SIZEOF_SHA256; + case REPOKEY_TYPE_BINARY: + dp = data_read_id(dp, &kv->num); + kv->str = (const char *)dp; + return dp + kv->num; case REPOKEY_TYPE_IDARRAY: return data_read_ideof(dp, &kv->id, &kv->eof); case REPOKEY_TYPE_DIRSTRARRAY: @@ -146,6 +150,12 @@ data_skip(unsigned char *dp, int type) while ((*dp) != 0) dp++; return dp + 1; + case REPOKEY_TYPE_BINARY: + { + Id len; + dp = data_read_id(dp, &len); + return dp + len; + } case REPOKEY_TYPE_DIRSTRARRAY: for (;;) { |