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/handle.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/libalpm/handle.h') diff --git a/lib/libalpm/handle.h b/lib/libalpm/handle.h index b50e5800..0bd37afd 100644 --- a/lib/libalpm/handle.h +++ b/lib/libalpm/handle.h @@ -35,7 +35,7 @@ typedef struct __pmhandle_t { pmaccess_t access; uid_t uid; pmdb_t *db_local; - PMList *dbs_sync; /* List of (pmdb_t *) */ + pmlist_t *dbs_sync; /* List of (pmdb_t *) */ FILE *logfd; int lckfd; pmtrans_t *trans; @@ -44,10 +44,10 @@ typedef struct __pmhandle_t { char *dbpath; char *cachedir; char *logfile; - PMList *noupgrade; /* List of strings */ - PMList *noextract; /* List of strings */ - PMList *ignorepkg; /* List of strings */ - PMList *holdpkg; /* List of strings */ + pmlist_t *noupgrade; /* List of strings */ + pmlist_t *noextract; /* List of strings */ + pmlist_t *ignorepkg; /* List of strings */ + pmlist_t *holdpkg; /* List of strings */ unsigned char usesyslog; time_t upgradedelay; /* servers */ @@ -56,7 +56,7 @@ typedef struct __pmhandle_t { char *xfercommand; unsigned short nopassiveftp; unsigned short chomp; /* if eye-candy features should be enabled or not */ - PMList *needles; /* for searching */ + pmlist_t *needles; /* for searching */ } pmhandle_t; #define FREEHANDLE(p) do { if (p) { _alpm_handle_free(p); p = NULL; } } while (0) -- cgit v1.2.3-24-g4f1b