summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-node.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-04-19 12:47:43 +0100
committerRichard Hughes <richard@hughsie.com>2014-04-20 12:34:08 +0100
commit0157ae4ec75a78a4889f115b79dd471f095ecf8c (patch)
tree1f7abd793d643342394e107d9870992101459a47 /libappstream-glib/as-node.h
parentbc7eca965c4b11284ce917d6f759b9c95a95a76f (diff)
downloadappstream-glib-0157ae4ec75a78a4889f115b79dd471f095ecf8c.tar.gz
Add a flag to as_node_to_xml() so it can process all children
This allows us to process all paragraphs in the AppStream description.
Diffstat (limited to 'libappstream-glib/as-node.h')
-rw-r--r--libappstream-glib/as-node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libappstream-glib/as-node.h b/libappstream-glib/as-node.h
index 270e5c2..693905d 100644
--- a/libappstream-glib/as-node.h
+++ b/libappstream-glib/as-node.h
@@ -40,6 +40,7 @@ G_BEGIN_DECLS
* @AS_NODE_TO_XML_FLAG_ADD_HEADER: Add an XML header to the data
* @AS_NODE_TO_XML_FLAG_FORMAT_MULTILINE: Split up children with a newline
* @AS_NODE_TO_XML_FLAG_FORMAT_INDENT: Indent the XML by child depth
+ * @AS_NODE_TO_XML_FLAG_INCLUDE_SIBLINGS: Include the siblings when converting
*
* The flags for converting to XML.
**/
@@ -48,6 +49,7 @@ typedef enum {
AS_NODE_TO_XML_FLAG_ADD_HEADER = 1, /* Since: 0.1.0 */
AS_NODE_TO_XML_FLAG_FORMAT_MULTILINE = 2, /* Since: 0.1.0 */
AS_NODE_TO_XML_FLAG_FORMAT_INDENT = 4, /* Since: 0.1.0 */
+ AS_NODE_TO_XML_FLAG_INCLUDE_SIBLINGS = 8, /* Since: 0.1.4 */
/*< private >*/
AS_NODE_TO_XML_FLAG_LAST
} AsNodeToXmlFlags;