summaryrefslogtreecommitdiff
path: root/lib/libalpm/handle.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/handle.h
parente7f886aac3991b6a12ede9781af741b402dffb64 (diff)
downloadpacman-7131b7ac87b9793c06d7b7e59df103658dd76ec7.tar.xz
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/handle.h')
-rw-r--r--lib/libalpm/handle.h12
1 files changed, 6 insertions, 6 deletions
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)