summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/deps.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-02-16 03:57:30 +0100
committerDan McGee <dan@archlinux.org>2008-02-16 18:58:49 +0100
commit92ab7c33fb4d72eba070636f620f595dc4650ee9 (patch)
treeb2f70b7ee2b240868a8701e9a48fa3d778559378 /lib/libalpm/deps.h
parent6b07b5d34512ef361ebf04395f07965cb80d0ec3 (diff)
downloadpacman-92ab7c33fb4d72eba070636f620f595dc4650ee9.tar.gz
pacman-92ab7c33fb4d72eba070636f620f595dc4650ee9.tar.xz
Move pmgraph_t struct and functions to their own header file
This will allow us to utilize this helpful type and functions in places besides dependency calculations. In addition, remove the public declaration of pmgraph_t in alpm.h- there is zero need to expose this internal type. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/deps.h')
-rw-r--r--lib/libalpm/deps.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/libalpm/deps.h b/lib/libalpm/deps.h
index 439a92a2..0c3975e6 100644
--- a/lib/libalpm/deps.h
+++ b/lib/libalpm/deps.h
@@ -40,16 +40,6 @@ struct __pmdepmissing_t {
char *causingpkg; /* this is used in case of remove dependency error only */
};
-/* Graphs */
-struct __pmgraph_t {
- int state; /* 0: untouched, -1: entered, other: leaving time */
- void *data;
- struct __pmgraph_t *parent; /* where did we come from? */
- alpm_list_t *children;
- alpm_list_t *childptr; /* points to a child in children list */
-};
-
-
void _alpm_dep_free(pmdepend_t *dep);
pmdepend_t *_alpm_dep_dup(const pmdepend_t *dep);
pmdepmissing_t *_alpm_depmiss_new(const char *target, pmdepend_t *dep,