diff options
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r-- | lib/libalpm/package.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h index c37bd11e..26c605b8 100644 --- a/lib/libalpm/package.h +++ b/lib/libalpm/package.h @@ -66,6 +66,7 @@ struct pkg_operations { alpm_list_t *(*get_replaces) (alpm_pkg_t *); alpm_filelist_t *(*get_files) (alpm_pkg_t *); alpm_list_t *(*get_backup) (alpm_pkg_t *); + alpm_list_t *(*get_alternatives) (alpm_pkg_t *); void *(*changelog_open) (alpm_pkg_t *); size_t (*changelog_read) (void *, size_t, const alpm_pkg_t *, void *); @@ -120,6 +121,7 @@ struct __alpm_pkg_t { alpm_list_t *provides; alpm_list_t *removes; /* in transaction targets only */ alpm_pkg_t *oldpkg; /* in transaction targets only */ + alpm_list_t *alternatives; struct pkg_operations *ops; |