diff options
author | Dan McGee <dan@archlinux.org> | 2010-12-13 21:00:23 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-13 21:25:14 -0600 |
commit | 580fe21065896a1cc239db72e66107f7997b3039 (patch) | |
tree | e92a89ea4ca5de40a618941956bbadd15757c147 /lib/libalpm/package.h | |
parent | c00e05992e142219c30caf154d62d6166ae28338 (diff) | |
download | pacman-580fe21065896a1cc239db72e66107f7997b3039.tar.xz |
Abstract has_scriptlet() to package ops struct
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r-- | lib/libalpm/package.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h index 77f8f8fd..9a6f0cb9 100644 --- a/lib/libalpm/package.h +++ b/lib/libalpm/package.h @@ -58,6 +58,7 @@ struct pkg_operations { off_t (*get_isize) (pmpkg_t *); pmpkgreason_t (*get_reason) (pmpkg_t *); int (*get_epoch) (pmpkg_t *); + int (*has_scriptlet) (pmpkg_t *); alpm_list_t *(*get_licenses) (pmpkg_t *); alpm_list_t *(*get_groups) (pmpkg_t *); @@ -75,10 +76,7 @@ struct pkg_operations { int (*changelog_close) (const pmpkg_t *, void *); /* still to add: - * free() - * dup() * checkmd5sum() ? - * has_scriptlet() * compute_requiredby() */ }; |