summaryrefslogtreecommitdiff
path: root/src/repodata.h
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2011-03-24 18:39:46 +0100
committerMichael Schroeder <mls@suse.de>2011-03-24 18:39:46 +0100
commit89331e25f8970a00c380c71f57a3cfcea14017a6 (patch)
tree2e4b3a018daa57732e73e88c748853f8b63267c5 /src/repodata.h
parentee8b702323e57f70eb32bca8045b436600bbc60b (diff)
downloadlibsolv-89331e25f8970a00c380c71f57a3cfcea14017a6.tar.gz
libsolv-89331e25f8970a00c380c71f57a3cfcea14017a6.tar.bz2
libsolv-89331e25f8970a00c380c71f57a3cfcea14017a6.zip
- simplify schema2id hash handling, put repodata_free_schemahash in header file
Diffstat (limited to 'src/repodata.h')
-rw-r--r--src/repodata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/repodata.h b/src/repodata.h
index b0d9ea8..5746843 100644
--- a/src/repodata.h
+++ b/src/repodata.h
@@ -127,6 +127,7 @@ void repodata_empty(Repodata *data, int localpool);
* key management functions
*/
Id repodata_key2id(Repodata *data, Repokey *key, int create);
+
static inline Repokey *
repodata_id2key(Repodata *data, Id keyid)
{
@@ -137,6 +138,8 @@ repodata_id2key(Repodata *data, Id keyid)
* schema management functions
*/
Id repodata_schema2id(Repodata *data, Id *schema, int create);
+void repodata_free_schemahash(Repodata *data);
+
static inline Id *
repodata_id2schema(Repodata *data, Id schemaid)
{