xbps-bin: use a single point to cleanup resources.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091023120154-wj4937kmu6ryacpk
This commit is contained in:
Juan RP
2009-10-23 14:01:54 +02:00
parent ca39d1667e
commit b689725270
4 changed files with 35 additions and 48 deletions

View File

@@ -26,9 +26,9 @@
#ifndef _XBPS_BIN_DEFS_H_
#define _XBPS_BIN_DEFS_H_
void xbps_exec_transaction(const char *, bool, bool);
void xbps_autoremove_pkgs(void);
void xbps_remove_installed_pkg(const char *, bool);
int xbps_exec_transaction(const char *, bool, bool);
int xbps_autoremove_pkgs(void);
int xbps_remove_installed_pkg(const char *, bool);
int xbps_check_pkg_integrity(const char *);
int xbps_check_pkg_integrity_all(void);
int xbps_show_pkg_deps(const char *);