mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-13 12:55:08 -05:00
code cleanup
This commit is contained in:
parent
db0df44598
commit
316cd2b573
@ -183,7 +183,8 @@ void *alpm_grp_getinfo(PM_GRP *grp, unsigned char parm);
|
|||||||
enum {
|
enum {
|
||||||
PM_SYNC_TYPE_REPLACE = 1,
|
PM_SYNC_TYPE_REPLACE = 1,
|
||||||
PM_SYNC_TYPE_UPGRADE,
|
PM_SYNC_TYPE_UPGRADE,
|
||||||
PM_SYNC_TYPE_DEPEND
|
PM_SYNC_TYPE_DEPEND,
|
||||||
|
PM_SYNC_TYPE_REMOVE
|
||||||
};
|
};
|
||||||
/* Info parameters */
|
/* Info parameters */
|
||||||
enum {
|
enum {
|
||||||
@ -235,7 +236,7 @@ enum {
|
|||||||
|
|
||||||
/* Transaction Conversations (ie, questions) */
|
/* Transaction Conversations (ie, questions) */
|
||||||
enum {
|
enum {
|
||||||
PM_TRANS_CONV_INSTALL_IGNOREPKG,
|
PM_TRANS_CONV_INSTALL_IGNOREPKG = 1,
|
||||||
PM_TRANS_CONV_REPLACE_PKG,
|
PM_TRANS_CONV_REPLACE_PKG,
|
||||||
PM_TRANS_CONV_CONFLICT_PKG,
|
PM_TRANS_CONV_CONFLICT_PKG,
|
||||||
PM_TRANS_CONV_LOCAL_NEWER,
|
PM_TRANS_CONV_LOCAL_NEWER,
|
||||||
@ -279,7 +280,7 @@ enum {
|
|||||||
PM_DEP_TYPE_REQUIRED,
|
PM_DEP_TYPE_REQUIRED,
|
||||||
PM_DEP_TYPE_CONFLICT
|
PM_DEP_TYPE_CONFLICT
|
||||||
};
|
};
|
||||||
/* Dependencies parameters */
|
/* Info parameters */
|
||||||
enum {
|
enum {
|
||||||
PM_DEP_TARGET = 1,
|
PM_DEP_TARGET = 1,
|
||||||
PM_DEP_TYPE,
|
PM_DEP_TYPE,
|
||||||
@ -291,17 +292,16 @@ enum {
|
|||||||
void *alpm_dep_getinfo(PM_DEPMISS *miss, unsigned char parm);
|
void *alpm_dep_getinfo(PM_DEPMISS *miss, unsigned char parm);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* PM_LIST helpers
|
* Helpers
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* PM_LIST */
|
||||||
PM_LIST *alpm_list_first(PM_LIST *list);
|
PM_LIST *alpm_list_first(PM_LIST *list);
|
||||||
PM_LIST *alpm_list_next(PM_LIST *entry);
|
PM_LIST *alpm_list_next(PM_LIST *entry);
|
||||||
void *alpm_list_getdata(PM_LIST *entry);
|
void *alpm_list_getdata(PM_LIST *entry);
|
||||||
int alpm_list_free(PM_LIST *entry);
|
int alpm_list_free(PM_LIST *entry);
|
||||||
|
|
||||||
/*
|
/* md5sums */
|
||||||
* Helpers
|
|
||||||
*/
|
|
||||||
|
|
||||||
char *alpm_get_md5sum(char *name);
|
char *alpm_get_md5sum(char *name);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user