summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorDiogo Sousa <diogogsousa@gmail.com>2011-08-29 02:51:32 +0100
committerDan McGee <dan@archlinux.org>2011-08-28 23:30:10 -0500
commit3a458783a2617b7b22a756f95b5f66f3da79146f (patch)
treefbb30be3953691a35ddf31181738ddd028aa94bd /lib/libalpm/package.h
parent2cfcc874b9332ad207398b9e20dc8880d93e8ae4 (diff)
downloadpacman-3a458783a2617b7b22a756f95b5f66f3da79146f.tar.xz
Removed multiple definitions of pkgfrom_t
libalpm now exports type alpm_pkgfrom_t in alpm.h, which may be used by frontends. Pacman now uses alpm_pkgfrom_t instead of replicating that type (pkg_from as was in src/pacman/package.h) Updated API change in README. Signed-off-by: Diogo Sousa <diogogsousa@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r--lib/libalpm/package.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h
index 707405dd..5962b1d0 100644
--- a/lib/libalpm/package.h
+++ b/lib/libalpm/package.h
@@ -34,12 +34,6 @@
#include "db.h"
#include "signing.h"
-typedef enum _alpm_pkgfrom_t {
- PKG_FROM_FILE = 1,
- PKG_FROM_LOCALDB,
- PKG_FROM_SYNCDB
-} alpm_pkgfrom_t;
-
/** Package operations struct. This struct contains function pointers to
* all methods used to access data in a package to allow for things such
* as lazy package intialization (such as used by the file backend). Each