summaryrefslogtreecommitdiff
path: root/lib/libalpm/handle.h
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-28 14:04:00 +1000
committerAllan McRae <allan@archlinux.org>2011-06-28 14:04:00 +1000
commit64c1cf792184661a1d3dd73329f129172e688f17 (patch)
treee888776aa3cfadb6854fc1b4b3703f46a9ef27d8 /lib/libalpm/handle.h
parent1c5c7c907c8cfb26c129d60d919c837ff42ca1c5 (diff)
downloadpacman-64c1cf792184661a1d3dd73329f129172e688f17.tar.xz
Rename pmhandle_t to alpm_handle_t
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/handle.h')
-rw-r--r--lib/libalpm/handle.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libalpm/handle.h b/lib/libalpm/handle.h
index 4ffd00c4..6f5ee58a 100644
--- a/lib/libalpm/handle.h
+++ b/lib/libalpm/handle.h
@@ -30,7 +30,7 @@
#include <curl/curl.h>
#endif
-struct __pmhandle_t {
+struct __alpm_handle_t {
/* internal usage */
pmdb_t *db_local; /* local db pointer */
alpm_list_t *dbs_sync; /* List of (pmdb_t *) */
@@ -75,11 +75,11 @@ struct __pmhandle_t {
enum _pmerrno_t pm_errno;
};
-pmhandle_t *_alpm_handle_new(void);
-void _alpm_handle_free(pmhandle_t *handle);
+alpm_handle_t *_alpm_handle_new(void);
+void _alpm_handle_free(alpm_handle_t *handle);
-int _alpm_handle_lock(pmhandle_t *handle);
-int _alpm_handle_unlock(pmhandle_t *handle);
+int _alpm_handle_lock(alpm_handle_t *handle);
+int _alpm_handle_unlock(alpm_handle_t *handle);
enum _pmerrno_t _alpm_set_directory_option(const char *value,
char **storage, int must_exist);