Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/graph.h')
-rw-r--r--lib/libalpm/graph.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/graph.h b/lib/libalpm/graph.h
index e3e40023..3078e25f 100644
--- a/lib/libalpm/graph.h
+++ b/lib/libalpm/graph.h
@@ -24,6 +24,7 @@
struct __pmgraph_t {
char state; /* 0: untouched, -1: entered, other: leaving time */
void *data;
+ unsigned long int weight; /* weight of the node */
struct __pmgraph_t *parent; /* where did we come from? */
alpm_list_t *children;
alpm_list_t *childptr; /* points to a child in children list */