xbps-bin: add -v flag, used when installing/removing currently.

--HG--
extra : convert_revision : d543b52213bf3d35b17ef29ff74a879bc4342cef
This commit is contained in:
Juan RP
2009-02-17 00:08:03 +01:00
parent 8d5e1ab017
commit fb998feacf
8 changed files with 83 additions and 63 deletions

View File

@@ -27,15 +27,14 @@
#define _XBPS_INSTALL_H_
/* From lib/install.c, lib/depends.c and lib/unpack.c */
int xbps_install_pkg_deps(prop_dictionary_t, const char *);
int xbps_install_binary_pkg(const char *, const char *);
int xbps_install_pkg_deps(prop_dictionary_t, const char *, int);
int xbps_install_binary_pkg(const char *, const char *, int);
int xbps_install_binary_pkg_fini(prop_dictionary_t, prop_dictionary_t,
const char *);
const char *, int);
int xbps_register_pkg(prop_dictionary_t, const char *, const char *,
const char *, bool);
int xbps_unpack_binary_pkg(prop_dictionary_t, prop_dictionary_t,
const char *,
void (*cb_print)(prop_dictionary_t));
const char *, int);
int xbps_update_pkg_requiredby(prop_array_t, prop_dictionary_t);
int xbps_find_deps_in_pkg(prop_dictionary_t);

View File

@@ -27,7 +27,7 @@
#define _XBPS_REMOVE_H_
/* From lib/remove.c */
int xbps_remove_binary_pkg(const char *, const char *);
int xbps_remove_binary_pkg(const char *, const char *, int);
int xbps_unregister_pkg(const char *);
#endif /* !_XBPS_REMOVE_H_ */

View File

@@ -50,6 +50,9 @@
/* Filename of the package properties plist file. */
#define XBPS_PKGPROPS "props.plist"
/* Unpack flags */
#define XBPS_UNPACK_VERBOSE 0x00000001
#include "cmpver.h"
#include "fexec.h"
#include "humanize_number.h"