summaryrefslogtreecommitdiff
path: root/prism/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'prism/node.h')
-rw-r--r--prism/node.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/prism/node.h b/prism/node.h
index 9c37c9decc..76eb720978 100644
--- a/prism/node.h
+++ b/prism/node.h
@@ -30,6 +30,15 @@ bool pm_node_list_grow(pm_node_list_t *list);
void pm_node_list_append(pm_node_list_t *list, pm_node_t *node);
/**
+ * Prepend a new node onto the beginning of the node list.
+ *
+ * @param list The list to prepend to.
+ * @param node The node to prepend.
+ */
+void
+pm_node_list_prepend(pm_node_list_t *list, pm_node_t *node);
+
+/**
* Free the internal memory associated with the given node list.
*
* @param list The list to free.