XBPS Library API  0.19
The X Binary Package System
Data Fields
xbps_unpack_cb_data Struct Reference

Structure to be passed to the unpack function callback. More...

+ Collaboration diagram for xbps_unpack_cb_data:

Data Fields

const char * entry
 
ssize_t entry_extract_count
 
bool entry_is_conf
 
int64_t entry_size
 
ssize_t entry_total_count
 
const char * pkgver
 
struct xbps_handlexhp
 

Detailed Description

This structure is passed as argument to the unpack progress function callback and its members will be updated when there's any progress. All members in this struct are set internally by libxbps and should be used in read-only mode in the supplied function callback.

Definition at line 430 of file xbps_api.h.

Field Documentation

entry

Entry pathname string.

Definition at line 448 of file xbps_api.h.

entry_extract_count

Total number of extracted entries.

Definition at line 460 of file xbps_api.h.

entry_is_conf

If true "entry" is a configuration file.

Definition at line 472 of file xbps_api.h.

entry_size

Entry file size.

Definition at line 454 of file xbps_api.h.

entry_total_count

Total number of entries in package.

Definition at line 466 of file xbps_api.h.

pkgver

Package name/version string of package being unpacked.

Definition at line 442 of file xbps_api.h.

xhp

Pointer to our struct xbps_handle passed to xbps_init().

Definition at line 436 of file xbps_api.h.