diff options
author | CodedOre <25259-CodedOre@users.noreply.gitlab.gnome.org> | 2022-01-13 11:36:29 +0000 |
---|---|---|
committer | CodedOre <25259-CodedOre@users.noreply.gitlab.gnome.org> | 2022-01-13 11:36:29 +0000 |
commit | 7b3285507d2d01acf293223fba275011636aeb07 (patch) | |
tree | 7c9a9cb2cca39f01274d7236339962aca7b4972b /rest/rest-xml-parser.h | |
parent | 7e645d051ce4b1ef44482e2f3017e43fd5ebcdaa (diff) | |
parent | 85bd00adfa6e06d3426ce7c9007e68e62f51be14 (diff) | |
download | librest-7b3285507d2d01acf293223fba275011636aeb07.tar.gz |
Fix merge conflicts.
Diffstat (limited to 'rest/rest-xml-parser.h')
-rw-r--r-- | rest/rest-xml-parser.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/rest/rest-xml-parser.h b/rest/rest-xml-parser.h index cceda02..cee2570 100644 --- a/rest/rest-xml-parser.h +++ b/rest/rest-xml-parser.h @@ -20,8 +20,7 @@ * */ -#ifndef _REST_XML_PARSER -#define _REST_XML_PARSER +#pragma once #include <glib-object.h> #include <rest/rest-xml-node.h> @@ -31,15 +30,19 @@ G_BEGIN_DECLS #define REST_TYPE_XML_PARSER rest_xml_parser_get_type() G_DECLARE_DERIVABLE_TYPE (RestXmlParser, rest_xml_parser, REST, XML_PARSER, GObject) +/** + * RestXmlParser: + * + * A Xml Parser for Rest Responses + */ + struct _RestXmlParserClass { GObjectClass parent_class; }; -RestXmlParser *rest_xml_parser_new (void); -RestXmlNode *rest_xml_parser_parse_from_data (RestXmlParser *parser, - const gchar *data, - goffset len); +RestXmlParser *rest_xml_parser_new (void); +RestXmlNode *rest_xml_parser_parse_from_data (RestXmlParser *parser, + const gchar *data, + goffset len); G_END_DECLS - -#endif /* _REST_XML_PARSER */ |