Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-10-20 06:26:55 +0000
committerAaron Griffin <aaron@archlinux.org>2006-10-20 06:26:55 +0000
commit7131b7ac87b9793c06d7b7e59df103658dd76ec7 (patch)
treed20bcf43f1d93118577c50977ce34cc6340460e1 /lib/libalpm/package.h
parente7f886aac3991b6a12ede9781af741b402dffb64 (diff)
A handful of minor changes:
* Removed the PMList typedef, in favor of the same naming scheme other structs use 'pmlist_t' * Added a time stamp on debug output, to make it more informational * Moved alpm_db_register to _alpm_db_register, making the public function not take a callback parameter
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r--lib/libalpm/package.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h
index 31c217e0..62ad7e4a 100644
--- a/lib/libalpm/package.h
+++ b/lib/libalpm/package.h
@@ -65,17 +65,17 @@ typedef struct __pmpkg_t {
unsigned char force;
time_t date;
unsigned char reason;
- PMList *desc_localized;
- PMList *license;
- PMList *replaces;
- PMList *groups;
- PMList *files;
- PMList *backup;
- PMList *depends;
- PMList *removes;
- PMList *requiredby;
- PMList *conflicts;
- PMList *provides;
+ pmlist_t *desc_localized;
+ pmlist_t *license;
+ pmlist_t *replaces;
+ pmlist_t *groups;
+ pmlist_t *files;
+ pmlist_t *backup;
+ pmlist_t *depends;
+ pmlist_t *removes;
+ pmlist_t *requiredby;
+ pmlist_t *conflicts;
+ pmlist_t *provides;
/* internal */
unsigned char origin;
void *data;
@@ -97,7 +97,7 @@ pmpkg_t *_alpm_pkg_dup(pmpkg_t *pkg);
void _alpm_pkg_free(void *data);
int _alpm_pkg_cmp(const void *p1, const void *p2);
pmpkg_t *_alpm_pkg_load(char *pkgfile);
-pmpkg_t *_alpm_pkg_isin(char *needle, PMList *haystack);
+pmpkg_t *_alpm_pkg_isin(char *needle, pmlist_t *haystack);
int _alpm_pkg_splitname(char *target, char *name, char *version);
#endif /* _ALPM_PACKAGE_H */