xbps_handle: remove debug, install_*, syslog_enabled members.

Replaced by definitions that can be set to xbps_handle::flags.
This commit is contained in:
Juan RP
2012-01-22 10:52:35 +01:00
parent c884634a62
commit 791f1d40b2
9 changed files with 70 additions and 69 deletions

View File

@ -71,7 +71,7 @@ store_dependency(prop_dictionary_t transd,
if (!prop_array_add(array, repo_pkgd))
return EINVAL;
if (xhp->debug) {
if (xhp->flags & XBPS_FLAG_DEBUG) {
xbps_dbg_printf_append("\n");
xbps_dbg_printf(" ");
for (x = 0; x < *depth; x++)
@ -211,7 +211,7 @@ find_repo_deps(prop_dictionary_t transd, /* transaction dictionary */
rv = EINVAL;
break;
}
if (xhp->debug) {
if (xhp->flags & XBPS_FLAG_DEBUG) {
xbps_dbg_printf("");
for (x = 0; x < *depth; x++)
xbps_dbg_printf_append(" ");
@ -419,7 +419,7 @@ find_repo_deps(prop_dictionary_t transd, /* transaction dictionary */
continue;
}
prop_object_release(curpkgd);
if (xhp->debug) {
if (xhp->flags & XBPS_FLAG_DEBUG) {
xbps_dbg_printf("");
for (x = 0; x < *depth; x++)
xbps_dbg_printf_append(" ");