diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2006-01-02 17:20:01 +0100 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-01-02 17:20:01 +0100 |
commit | 316cd2b573ff805225d7bb99e93459448088fb31 (patch) | |
tree | 5d72a46bf84a066c5bc52b327d186dc93e0967d4 /lib | |
parent | db0df44598eb04d391b90e8228b84f05c2ac88e2 (diff) | |
download | pacman-316cd2b573ff805225d7bb99e93459448088fb31.tar.gz pacman-316cd2b573ff805225d7bb99e93459448088fb31.tar.xz |
code cleanup
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/alpm.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 1e35ce38..de8a972d 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -183,7 +183,8 @@ void *alpm_grp_getinfo(PM_GRP *grp, unsigned char parm); enum { PM_SYNC_TYPE_REPLACE = 1, PM_SYNC_TYPE_UPGRADE, - PM_SYNC_TYPE_DEPEND + PM_SYNC_TYPE_DEPEND, + PM_SYNC_TYPE_REMOVE }; /* Info parameters */ enum { @@ -235,7 +236,7 @@ enum { /* Transaction Conversations (ie, questions) */ enum { - PM_TRANS_CONV_INSTALL_IGNOREPKG, + PM_TRANS_CONV_INSTALL_IGNOREPKG = 1, PM_TRANS_CONV_REPLACE_PKG, PM_TRANS_CONV_CONFLICT_PKG, PM_TRANS_CONV_LOCAL_NEWER, @@ -279,7 +280,7 @@ enum { PM_DEP_TYPE_REQUIRED, PM_DEP_TYPE_CONFLICT }; -/* Dependencies parameters */ +/* Info parameters */ enum { PM_DEP_TARGET = 1, PM_DEP_TYPE, @@ -291,17 +292,16 @@ enum { 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_next(PM_LIST *entry); void *alpm_list_getdata(PM_LIST *entry); int alpm_list_free(PM_LIST *entry); -/* - * Helpers - */ - +/* md5sums */ char *alpm_get_md5sum(char *name); /* |