summaryrefslogtreecommitdiff
path: root/src/repopack.h
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2011-02-21 17:43:52 +0100
committerMichael Schroeder <mls@suse.de>2011-02-21 17:43:52 +0100
commit9dc06649bccf348c5bbc4c12c9701dff9872a672 (patch)
treeb8f5264516331c6334b306f7999d5c5c1c0678de /src/repopack.h
parentfc53162b76d0243a586f31591fc9de6761229686 (diff)
downloadlibsolv-9dc06649bccf348c5bbc4c12c9701dff9872a672.tar.gz
libsolv-9dc06649bccf348c5bbc4c12c9701dff9872a672.tar.bz2
libsolv-9dc06649bccf348c5bbc4c12c9701dff9872a672.zip
- add repodata_lookup_type() and repodata_delete(). Support REPOKEY_TYPE_DELETED a bit more
Diffstat (limited to 'src/repopack.h')
-rw-r--r--src/repopack.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/repopack.h b/src/repopack.h
index e55072c..c97b920 100644
--- a/src/repopack.h
+++ b/src/repopack.h
@@ -126,6 +126,7 @@ data_skip(unsigned char *dp, int type)
case REPOKEY_TYPE_VOID:
case REPOKEY_TYPE_CONSTANT:
case REPOKEY_TYPE_CONSTANTID:
+ case REPOKEY_TYPE_DELETED:
return dp;
case REPOKEY_TYPE_ID:
case REPOKEY_TYPE_NUM:
@@ -199,6 +200,7 @@ data_skip_verify(unsigned char *dp, int type, int maxid, int maxdir)
case REPOKEY_TYPE_VOID:
case REPOKEY_TYPE_CONSTANT:
case REPOKEY_TYPE_CONSTANTID:
+ case REPOKEY_TYPE_DELETED:
return dp;
case REPOKEY_TYPE_NUM:
while ((*dp & 0x80) != 0)