mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
Rename pmtransevt_t to alpm_transevt_t
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
590a8fcb1e
commit
011ef6be0e
@ -754,7 +754,7 @@ typedef enum _alpm_transflag_t {
|
|||||||
/** Transaction events.
|
/** Transaction events.
|
||||||
* NULL parameters are passed to in all events unless specified otherwise.
|
* NULL parameters are passed to in all events unless specified otherwise.
|
||||||
*/
|
*/
|
||||||
typedef enum _pmtransevt_t {
|
typedef enum _alpm_transevt_t {
|
||||||
/** Dependencies will be computed for a package. */
|
/** Dependencies will be computed for a package. */
|
||||||
PM_TRANS_EVT_CHECKDEPS_START = 1,
|
PM_TRANS_EVT_CHECKDEPS_START = 1,
|
||||||
/** Dependencies were computed for a package. */
|
/** Dependencies were computed for a package. */
|
||||||
@ -829,7 +829,7 @@ typedef enum _pmtransevt_t {
|
|||||||
PM_TRANS_EVT_DISKSPACE_START,
|
PM_TRANS_EVT_DISKSPACE_START,
|
||||||
/** Disk space usage was computed for a package */
|
/** Disk space usage was computed for a package */
|
||||||
PM_TRANS_EVT_DISKSPACE_DONE,
|
PM_TRANS_EVT_DISKSPACE_DONE,
|
||||||
} pmtransevt_t;
|
} alpm_transevt_t;
|
||||||
|
|
||||||
/** Transaction Conversations (ie, questions) */
|
/** Transaction Conversations (ie, questions) */
|
||||||
typedef enum _pmtransconv_t {
|
typedef enum _pmtransconv_t {
|
||||||
@ -853,7 +853,7 @@ typedef enum _pmtransprog_t {
|
|||||||
} pmtransprog_t;
|
} pmtransprog_t;
|
||||||
|
|
||||||
/** Transaction Event callback */
|
/** Transaction Event callback */
|
||||||
typedef void (*alpm_trans_cb_event)(pmtransevt_t, void *, void *);
|
typedef void (*alpm_trans_cb_event)(alpm_transevt_t, void *, void *);
|
||||||
|
|
||||||
/** Transaction Conversation callback */
|
/** Transaction Conversation callback */
|
||||||
typedef void (*alpm_trans_cb_conv)(pmtransconv_t, void *, void *,
|
typedef void (*alpm_trans_cb_conv)(pmtransconv_t, void *, void *,
|
||||||
|
@ -153,7 +153,7 @@ static void fill_progress(const int bar_percent, const int disp_percent,
|
|||||||
|
|
||||||
|
|
||||||
/* callback to handle messages/notifications from libalpm transactions */
|
/* callback to handle messages/notifications from libalpm transactions */
|
||||||
void cb_trans_evt(pmtransevt_t event, void *data1, void *data2)
|
void cb_trans_evt(alpm_transevt_t event, void *data1, void *data2)
|
||||||
{
|
{
|
||||||
switch(event) {
|
switch(event) {
|
||||||
case PM_TRANS_EVT_CHECKDEPS_START:
|
case PM_TRANS_EVT_CHECKDEPS_START:
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include <alpm.h>
|
#include <alpm.h>
|
||||||
|
|
||||||
/* callback to handle messages/notifications from libalpm transactions */
|
/* callback to handle messages/notifications from libalpm transactions */
|
||||||
void cb_trans_evt(pmtransevt_t event, void *data1, void *data2);
|
void cb_trans_evt(alpm_transevt_t event, void *data1, void *data2);
|
||||||
|
|
||||||
/* callback to handle questions from libalpm transactions (yes/no) */
|
/* callback to handle questions from libalpm transactions (yes/no) */
|
||||||
void cb_trans_conv(pmtransconv_t event, void *data1, void *data2,
|
void cb_trans_conv(pmtransconv_t event, void *data1, void *data2,
|
||||||
|
Loading…
Reference in New Issue
Block a user