From 580fe21065896a1cc239db72e66107f7997b3039 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 13 Dec 2010 21:00:23 -0600 Subject: Abstract has_scriptlet() to package ops struct Signed-off-by: Dan McGee --- lib/libalpm/package.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/libalpm/package.h') 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() */ }; -- cgit v1.2.3