summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/graph.h
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-28 06:54:19 +0200
committerAllan McRae <allan@archlinux.org>2011-06-28 15:28:24 +0200
commit57b9b19b103a5d48a7116adfd546a516e121329c (patch)
tree659b396cec02543842184771214ca5dbd94c3262 /lib/libalpm/graph.h
parent08fc1db24c9d30f63c9ac858ab2cc50f64f8e38b (diff)
downloadpacman-57b9b19b103a5d48a7116adfd546a516e121329c.tar.gz
pacman-57b9b19b103a5d48a7116adfd546a516e121329c.tar.xz
Rename pmgraph_t to alpm_graph_t
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/graph.h')
-rw-r--r--lib/libalpm/graph.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libalpm/graph.h b/lib/libalpm/graph.h
index f76c6004..d4d134b5 100644
--- a/lib/libalpm/graph.h
+++ b/lib/libalpm/graph.h
@@ -25,16 +25,16 @@
#include "alpm_list.h"
-typedef struct __pmgraph_t {
+typedef struct __alpm_graph_t {
char state; /* 0: untouched, -1: entered, other: leaving time */
off_t weight; /* weight of the node */
void *data;
- struct __pmgraph_t *parent; /* where did we come from? */
+ struct __alpm_graph_t *parent; /* where did we come from? */
alpm_list_t *children;
alpm_list_t *childptr; /* points to a child in children list */
-} pmgraph_t;
+} alpm_graph_t;
-pmgraph_t *_alpm_graph_new(void);
+alpm_graph_t *_alpm_graph_new(void);
void _alpm_graph_free(void *data);
#endif /* _ALPM_GRAPH_H */