diff options
author | Richard Hughes <richard@hughsie.com> | 2015-01-20 20:35:03 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2015-01-21 09:06:53 +0000 |
commit | 9b96be71a85b9e12a43fee3642fd71957d6b0bdf (patch) | |
tree | a79bae215225230935e6cd9ba807498d753d4d39 /libappstream-glib/as-release-private.h | |
parent | 3fcc808827df70e90a810dab7e52eb36eb0ceabc (diff) | |
download | appstream-glib-9b96be71a85b9e12a43fee3642fd71957d6b0bdf.tar.gz |
Create a AsNodeContext object for parsing state
We've relied on version number heuristics for too long, and now we're in a
position where we need the source kind to parse files correctly.
All the functions are private, no API bump required.
Diffstat (limited to 'libappstream-glib/as-release-private.h')
-rw-r--r-- | libappstream-glib/as-release-private.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libappstream-glib/as-release-private.h b/libappstream-glib/as-release-private.h index 73654c6..dd5a573 100644 --- a/libappstream-glib/as-release-private.h +++ b/libappstream-glib/as-release-private.h @@ -27,14 +27,16 @@ #define __AS_RELEASE_PRIVATE_H #include "as-release.h" +#include "as-node-private.h" G_BEGIN_DECLS GNode *as_release_node_insert (AsRelease *release, GNode *parent, - gdouble api_version); + AsNodeContext *ctx); gboolean as_release_node_parse (AsRelease *release, GNode *node, + AsNodeContext *ctx, GError **error); G_END_DECLS |