xbps-repo: the 'search' target now accepts multiple patterns as arguments.

This commit is contained in:
Juan RP
2011-12-22 09:33:54 +01:00
parent 5a892023f4
commit 13331f801c
8 changed files with 75 additions and 55 deletions

View File

@@ -33,7 +33,8 @@
#include <xbps_api.h>
struct repo_search_data {
char *pattern;
int npatterns;
char **patterns;
size_t pkgver_len;
};
@@ -51,6 +52,7 @@ int repo_search_pkgs_cb(struct repository_pool_index *, void *, bool *);
/* From show.c */
int show_pkg_info_from_repolist(const char *, const char *);
int show_pkg_deps_from_repolist(const char *);
int show_pkg_namedesc(prop_object_t, void *, bool *);
#endif /* !_XBPS_REPO_DEFS_H_ */