diff options
author | Richard Hughes <richard@hughsie.com> | 2014-03-19 17:14:02 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-03-19 17:56:34 +0000 |
commit | 6ae56f27792a9075da45a8507b0f8c9327cb9b83 (patch) | |
tree | bfcd35ac9f5a59e376ad6f0fa02a1197ecb720f4 /libappstream-glib/as-node-private.h | |
parent | 74ba5ffc21208bd263ea2985e6ac109090d8ddf6 (diff) | |
download | appstream-glib-6ae56f27792a9075da45a8507b0f8c9327cb9b83.tar.gz |
Support the 'origin' attribute on the root node
Diffstat (limited to 'libappstream-glib/as-node-private.h')
-rw-r--r-- | libappstream-glib/as-node-private.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libappstream-glib/as-node-private.h b/libappstream-glib/as-node-private.h index 151ebb4..3947a26 100644 --- a/libappstream-glib/as-node-private.h +++ b/libappstream-glib/as-node-private.h @@ -31,8 +31,16 @@ G_BEGIN_DECLS gchar *as_node_take_data (const GNode *node); +void as_node_set_data (GNode *node, + const gchar *cdata, + gssize cdata_len, + AsNodeInsertFlags insert_flags); gint as_node_get_attribute_as_int (const GNode *node, const gchar *key); +void as_node_add_attribute (GNode *node, + const gchar *key, + const gchar *value, + gssize value_len); G_END_DECLS |