Share transaction callbacks for xbps-{bin,repo}, reposync cb support.
This commit is contained in:
@@ -135,6 +135,8 @@ main(int argc, char **argv)
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
xhp->debug = debug;
|
||||
xhp->xbps_transaction_cb = transaction_cb;
|
||||
xhp->xbps_transaction_err_cb = transaction_err_cb;
|
||||
xhp->xbps_fetch_cb = fetch_file_progress_cb;
|
||||
xhp->xfcd->cookie = &xfer;
|
||||
xhp->rootdir = rootdir;
|
||||
|
||||
Reference in New Issue
Block a user