def_destroy (next);
} /* }}} void def_destroy */
+int def_append (graph_def_t *head, graph_def_t *def) /* {{{ */
+{
+ graph_def_t *ptr;
+
+ if ((head == NULL) || (def == NULL))
+ return (EINVAL);
+
+ ptr = head;
+ while (ptr->next != NULL)
+ ptr = ptr->next;
+
+ ptr->next = def;
+
+ return (0);
+} /* }}} int def_append */
+
graph_def_t *def_search (graph_def_t *head, graph_ident_t *ident) /* {{{ */
{
graph_def_t *ptr;
void def_destroy (graph_def_t *def);
+int def_append (graph_def_t *head, graph_def_t *def);
+
graph_def_t *def_search (graph_def_t *head, graph_ident_t *ident);
int def_get_rrdargs (graph_def_t *def, graph_ident_t *ident,