diff options
author | Michael Schroeder <mls@suse.de> | 2009-07-02 12:58:11 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2009-07-02 12:58:11 +0200 |
commit | 4d0e898c6859ac9b0b7313a297c887fb7aea5071 (patch) | |
tree | f086b828a1ad8498868bc66b996b0ca5584ae84f /src/repo.h | |
parent | 6127d8aca9edc42a243c5501a2112e63642993d1 (diff) | |
download | libsolv-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |