Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-10-08 08:39:23 -0500
committerDan McGee <dan@archlinux.org>2010-10-13 23:29:26 -0500
commitfeb9889f22639c214606dcb387af6d0a51ea5e85 (patch)
treec9bcf8b4316b587caab12b4acb68f45a559fe273 /lib/libalpm/package.h
parentef32aa0219146866b7f7e55c95afc327819dd6cf (diff)
Add epoch support to pacman/libalpm
This will allow for better control of what was previously the 'force' option in a PKGBUILD and transferred into the built package. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r--lib/libalpm/package.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h
index 5ad553ac..77f8f8fd 100644
--- a/lib/libalpm/package.h
+++ b/lib/libalpm/package.h
@@ -57,7 +57,7 @@ struct pkg_operations {
off_t (*get_size) (pmpkg_t *);
off_t (*get_isize) (pmpkg_t *);
pmpkgreason_t (*get_reason) (pmpkg_t *);
- int (*has_force) (pmpkg_t *);
+ int (*get_epoch) (pmpkg_t *);
alpm_list_t *(*get_licenses) (pmpkg_t *);
alpm_list_t *(*get_groups) (pmpkg_t *);
@@ -105,7 +105,7 @@ struct __pmpkg_t {
off_t isize;
off_t download_size;
int scriptlet;
- int force;
+ int epoch;
pmpkgreason_t reason;
alpm_list_t *licenses;
alpm_list_t *replaces;