summaryrefslogtreecommitdiff
path: root/src/repo.h
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2009-07-02 12:58:11 +0200
committerMichael Schroeder <mls@suse.de>2009-07-02 12:58:11 +0200
commit4d0e898c6859ac9b0b7313a297c887fb7aea5071 (patch)
treef086b828a1ad8498868bc66b996b0ca5584ae84f /src/repo.h
parent6127d8aca9edc42a243c5501a2112e63642993d1 (diff)
downloadlibsolv-4d0e898c6859ac9b0b7313a297c887fb7aea5071.tar.gz
libsolv-4d0e898c6859ac9b0b7313a297c887fb7aea5071.tar.bz2
libsolv-4d0e898c6859ac9b0b7313a297c887fb7aea5071.zip
- add dataiterator_init_clone to make ma happy
Diffstat (limited to 'src/repo.h')
-rw-r--r--src/repo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/repo.h b/src/repo.h
index fe2c3ec..a7acb66 100644
--- a/src/repo.h
+++ b/src/repo.h
@@ -187,7 +187,8 @@ const unsigned char *repo_lookup_bin_checksum(Repo *repo, Id entry, Id keyid, Id
typedef struct _Datamatcher {
int flags;
- void *match;
+ const char *match;
+ void *matchdata;
int error;
} Datamatcher;
@@ -264,6 +265,7 @@ int datamatcher_match(Datamatcher *ma, const char *str);
* match: if non-null, limit search to this match
*/
int dataiterator_init(Dataiterator *di, Pool *pool, Repo *repo, Id p, Id keyname, const char *match, int flags);
+void datamatcher_init_clone(Dataiterator *di, Dataiterator *from);
void dataiterator_set_search(Dataiterator *di, Repo *repo, Id p);
void dataiterator_set_keyname(Dataiterator *di, Id keyname);
int dataiterator_set_match(Dataiterator *di, const char *match, int flags);