xbps-query: implemented -X, --revdeps in repository mode.

This commit is contained in:
Juan RP
2012-11-21 02:52:36 +01:00
parent 37e5d7ebe0
commit 79a31bb6bc
5 changed files with 62 additions and 4 deletions

View File

@@ -28,10 +28,15 @@
#include <xbps_api.h>
#ifndef __UNCONST
#define __UNCONST(a) ((void *)(unsigned long)(const void *)(a))
#endif
/* from show-deps.c */
int show_pkg_deps(struct xbps_handle *, const char *);
int show_pkg_revdeps(struct xbps_handle *, const char *);
int repo_show_pkg_deps(struct xbps_handle *, const char *);
int repo_show_pkg_revdeps(struct xbps_handle *, const char *);
/* from show-info-files.c */
void show_pkg_info(prop_dictionary_t);