Lines Matching refs:node_t
32 #define NODE_STAT(n) (((node_t*)(n))->stat)
51 static node_t* _head = NULL;
55 static node_t* node_new (node_t* parent, const gchar* basename);
56 static void node_delete (node_t* parent);
57 static gboolean remove_node_internal (node_t* node, node_op_t* op);
58 static void children_add (node_t *p, node_t *f);
59 static void children_remove (node_t *p, node_t *f);
60 static guint children_foreach_remove (node_t *f, GHRFunc func, gpointer user_data);
61 static void children_foreach (node_t *f, GHFunc func, gpointer user_data);
115 node_t* node; in scan_deleting_nodes()
149 node_get_data (node_t* node) in node_get_data()
156 node_set_data (node_t* node, gpointer user_data) in node_set_data()
165 travel_nodes (node_t* node, node_op_t* op) in travel_nodes()
184 static node_t*
185 find_node_internal (node_t* node, const gchar* filename, node_op_t* op) in find_node_internal()
190 node_t* parent; in find_node_internal()
191 node_t* child; in find_node_internal()
229 node_t*
235 node_t*
241 node_t*
242 add_node (node_t* parent, const gchar* filename) in add_node()
247 node_t* child = NULL; in add_node()
282 remove_children (node_t* node, node_op_t* op) in remove_children()
296 remove_node_internal (node_t* node, node_op_t* op) in remove_node_internal()
298 node_t* parent = NULL; in remove_node_internal()
327 pending_remove_node (node_t* node, node_op_t* op) in pending_remove_node()
351 remove_node (node_t* node, node_op_t* op) in remove_node()
356 static node_t*
357 node_new (node_t* parent, const gchar* basename) in node_new()
359 node_t *f = NULL; in node_new()
362 if ((f = g_new0 (node_t, 1)) != NULL) { in node_new()
379 node_delete (node_t *f) in node_delete()
392 children_add (node_t *p, node_t *f) in children_add()
400 children_remove (node_t *p, node_t *f) in children_remove()
408 children_num (node_t *f) in children_num()
413 node_t *
414 children_find (node_t *f, const gchar *basename) in children_find()
416 return (node_t *) g_hash_table_lookup (f->children, (gpointer)basename); in children_find()
427 node_t* f = (node_t*)value; in children_remove_cb()
443 children_foreach_remove (node_t *f, GHRFunc func, gpointer user_data) in children_foreach_remove()
451 children_foreach (node_t *f, GHFunc func, gpointer user_data) in children_foreach()