Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-03 15:24:01 -0500
committerDan McGee <dan@archlinux.org>2011-06-07 11:37:05 -0500
commitfb4b422fc4567238332050b9a6c8c1cac2a8f091 (patch)
tree047457f6cadf5493406b0ca4fa8c60230481d92d /lib/libalpm/db.h
parent992fa50dfd4faba93e37364bded015ea04d1fe15 (diff)
New signatures for alpm initialize and release
These new method signatures return and take handle objects to operate on so we can move away from the idea of one global handle in the API. There is also another important change and that deals with the setting of root and dbpaths. These are now done at initialization time instead of using setter methods. This allows the library to operate more safely knowing that paths won't change underneath it. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r--lib/libalpm/db.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h
index 3a7ab72f..9ecf31f7 100644
--- a/lib/libalpm/db.h
+++ b/lib/libalpm/db.h
@@ -22,9 +22,6 @@
#ifndef _ALPM_DB_H
#define _ALPM_DB_H
-#include "alpm.h"
-#include "pkghash.h"
-
#include <time.h>
/* libarchive */
@@ -32,6 +29,7 @@
#include <archive_entry.h>
#include "alpm.h"
+#include "pkghash.h"
#include "signing.h"
/* Database entries */