aboutsummaryrefslogtreecommitdiffstats
path: root/src/package.h
diff options
context:
space:
mode:
authorJason Woodward2010-06-09 19:52:13 -0400
committerJason Woodward2010-06-09 19:52:13 -0400
commit9a371df4c02189cd1fabc1e2576162e75e43f756 (patch)
tree427d367b9446e506ead2af4a54377d648d0c9321 /src/package.h
parent33eb4afdaaae102ce44232d28c227ba98318d5d3 (diff)
downloadslapt-get-9a371df4c02189cd1fabc1e2576162e75e43f756.tar.gz
updated slapt_is_required_by
make slapt_is_required_by properly account for alternative/conditional dependencies as well as be aware of what is to be installed and removed.
Diffstat (limited to 'src/package.h')
-rw-r--r--src/package.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/package.h b/src/package.h
index a0fb2b0..fa39f6d 100644
--- a/src/package.h
+++ b/src/package.h
@@ -231,6 +231,9 @@ struct slapt_pkg_list *slapt_get_pkg_conflicts(struct slapt_pkg_list *avail_pkgs
*/
struct slapt_pkg_list *slapt_is_required_by(const slapt_rc_config *global_config,
struct slapt_pkg_list *avail,
+ struct slapt_pkg_list *installed_pkgs,
+ struct slapt_pkg_list *pkgs_to_install,
+ struct slapt_pkg_list *pkgs_to_remove,
slapt_pkg_info_t *pkg);
/*
@@ -297,3 +300,4 @@ char *slapt_get_pkg_filelist(const slapt_pkg_info_t *pkg);
caller responsible for freeing the returned data
*/
char *slapt_gen_package_log_dir_name(void);
+