xbps.h: sort struct members by type.

This commit is contained in:
Juan RP
2014-08-27 08:25:31 +02:00
parent 25e8002737
commit 035b8d8c73

View File

@@ -348,12 +348,6 @@ struct xbps_state_cb_data {
* Pointer to our struct xbps_handle passed to xbps_init(). * Pointer to our struct xbps_handle passed to xbps_init().
*/ */
struct xbps_handle *xhp; struct xbps_handle *xhp;
/**
* @var state
*
* Current state.
*/
xbps_state_t state;
/** /**
* @var desc * @var desc
* *
@@ -373,6 +367,12 @@ struct xbps_state_cb_data {
* Current state error value (set internally, read-only). * Current state error value (set internally, read-only).
*/ */
int err; int err;
/**
* @var state
*
* Current state.
*/
xbps_state_t state;
}; };
/** /**
@@ -507,6 +507,16 @@ struct xbps_handle {
* @private * @private
*/ */
xbps_array_t preserved_files; xbps_array_t preserved_files;
/**
* @var repositories
*
* Proplib array of strings with repositories, overriding the list
* in the configuration file.
*/
xbps_array_t repositories;
/**
* @private
*/
xbps_dictionary_t pkg_metad; xbps_dictionary_t pkg_metad;
xbps_dictionary_t pkgdb_revdeps; xbps_dictionary_t pkgdb_revdeps;
xbps_dictionary_t vpkgd; xbps_dictionary_t vpkgd;
@@ -517,12 +527,6 @@ struct xbps_handle {
* stored in XBPS_META_PATH/XBPS_PKGDB. * stored in XBPS_META_PATH/XBPS_PKGDB.
*/ */
xbps_dictionary_t pkgdb; xbps_dictionary_t pkgdb;
/**
* @var pkgdb_plist;
*
* Absolute pathname to the pkgdb plist file.
*/
char *pkgdb_plist;
/** /**
* @var transd * @var transd
* *
@@ -530,13 +534,6 @@ struct xbps_handle {
* xbps_transaction_commit(). * xbps_transaction_commit().
*/ */
xbps_dictionary_t transd; xbps_dictionary_t transd;
/**
* @var repositories
*
* Proplib array of strings with repositories, overriding the list
* in the configuration file.
*/
xbps_array_t repositories;
/** /**
* Pointer to the supplifed function callback to be used * Pointer to the supplifed function callback to be used
* in the XBPS possible states. * in the XBPS possible states.
@@ -573,6 +570,12 @@ struct xbps_handle {
* the \a xbps_fetch_cb function callback. * the \a xbps_fetch_cb function callback.
*/ */
void *fetch_cb_data; void *fetch_cb_data;
/**
* @var pkgdb_plist;
*
* Absolute pathname to the pkgdb plist file.
*/
char *pkgdb_plist;
/** /**
* @var target_arch * @var target_arch
* *