From 7131b7ac87b9793c06d7b7e59df103658dd76ec7 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Fri, 20 Oct 2006 06:26:55 +0000 Subject: 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 --- lib/libalpm/package.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'lib/libalpm/package.h') 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 */ -- cgit v1.2.3-54-g00ecf