summaryrefslogtreecommitdiffstats
path: root/lasso/xml/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'lasso/xml/xml.c')
-rw-r--r--lasso/xml/xml.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/lasso/xml/xml.c b/lasso/xml/xml.c
index 55adb209..faaa268f 100644
--- a/lasso/xml/xml.c
+++ b/lasso/xml/xml.c
@@ -1734,10 +1734,21 @@ lasso_node_init_from_message(LassoNode *node, const char *message)
return LASSO_MESSAGE_FORMAT_UNKNOWN;
}
-
/**
* lasso_node_class_add_snippets:
* @klass: object class
+ * @snippets: array of XmlSnippet (NULL terminated)
+ **/
+void
+lasso_node_class_add_snippets(LassoNodeClass *klass, struct XmlSnippet *snippets)
+{
+ klass->node_data->snippets = snippets;
+}
+
+
+/**
+ * lasso_node_class_add_query_snippets:
+ * @klass: object class
* @snippets: array of QuerySnippet (NULL terminated)
**/
void