]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- kill old dataiterator_match_obsolete function
authorMichael Schroeder <mls@suse.de>
Thu, 7 May 2009 12:30:54 +0000 (14:30 +0200)
committerMichael Schroeder <mls@suse.de>
Thu, 7 May 2009 12:30:54 +0000 (14:30 +0200)
src/repo.h
src/repodata.c

index 8c097ef73c861c4932b5f4e20e4372616340d4cd..70ded777371f32877c66296ac9295f31017dd2c9 100644 (file)
@@ -278,9 +278,6 @@ void dataiterator_jump_to_solvid(Dataiterator *di, Id solvid);
 void dataiterator_jump_to_repo(Dataiterator *di, Repo *repo);
 void dataiterator_entersub(Dataiterator *di);
 
-/* to be removed ... */
-int dataiterator_match_obsolete(Dataiterator *di, int flags, const void *match);
-
 void repo_set_id(Repo *repo, Id p, Id keyname, Id id);
 void repo_set_num(Repo *repo, Id p, Id keyname, Id num);
 void repo_set_str(Repo *repo, Id p, Id keyname, const char *str);
index fc7798c25770e043cee6dddbdaf0d63fc01bfe5e..be386e4133e9cbbc69665099d900715f0a2cff91 100644 (file)
@@ -1392,19 +1392,6 @@ dataiterator_match(Dataiterator *di, Datamatcher *ma)
   return datamatcher_match(ma, di->kv.str);
 }
 
-int
-dataiterator_match_obsolete(Dataiterator *di, int flags, const void *vmatch)
-{
-  Datamatcher matcher;
-
-  if (!repodata_stringify(di->pool, di->data, di->key, &di->kv, flags))
-    return 0;
-  matcher = di->matcher;
-  matcher.flags = flags;
-  matcher.match = (void *)vmatch;
-  return datamatcher_match(&matcher, di->kv.str);
-}
-
 
 /************************************************************************
  * data modify functions