libxbps: some tweaks for struct xbps_state_cb_data.
- Renamed args pkgname/version to arg0/arg1 to make them generic. - Update bins with this and make some tweaks in state_cb. Bumped API version.
This commit is contained in:
@@ -65,8 +65,7 @@ state_cb(struct xbps_handle *xhp, struct xbps_state_cb_data *xscd, void *cbd)
|
||||
switch (xscd->state) {
|
||||
/* notifications */
|
||||
case XBPS_STATE_CONFIGURE:
|
||||
printf("Configuring `%s-%s' ...\n", xscd->pkgname,
|
||||
xscd->version);
|
||||
printf("Configuring `%s-%s' ...\n", xscd->arg0, xscd->arg1);
|
||||
break;
|
||||
/* errors */
|
||||
case XBPS_STATE_CONFIGURE_FAIL:
|
||||
|
Reference in New Issue
Block a user