summaryrefslogtreecommitdiff
path: root/genx.h
diff options
context:
space:
mode:
Diffstat (limited to 'genx.h')
-rw-r--r--genx.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/genx.h b/genx.h
index 6369990..0d4fd48 100644
--- a/genx.h
+++ b/genx.h
@@ -116,6 +116,13 @@ genxStatus genxSetPrettyPrint(genxWriter w, int indentation);
int genxGetPrettyPrint(genxWriter w);
/*
+ * Set/get canonicalization. If true, then output explicit closing
+ * tags and sort attributes. Default is false.
+ */
+genxStatus genxSetCanonical(genxWriter w, int flag);
+int genxGetCanonical(genxWriter w);
+
+/*
* User-provided memory allocator, if desired. For example, if you were
* in an Apache module, you could arrange for genx to use ap_palloc by
* making the pool accessible via the userData call.