diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-08-14 13:47:19 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-08-14 13:49:51 +0200 |
commit | 582131202a479c1e678cffa11318022258be445c (patch) | |
tree | 912d3f015e40342b1f33e94ef342fa6a8cba846f /sfeed_opml_import.c | |
parent | 5c724b8b1aba860eb8a48dc230fa417014a11ba7 (diff) |
xml: separate reader context from parser
also:
- rename xmlparser_ prefix to xml_.
- make xml_parse public, this allows a custom reader like a direct mmap,
see: XMLParser.getnext and (optionall) XMLParser.getnext_data.
- improve the README text.
Diffstat (limited to 'sfeed_opml_import.c')
-rw-r--r-- | sfeed_opml_import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_opml_import.c b/sfeed_opml_import.c index 383cbe8..6c3f505 100644 --- a/sfeed_opml_import.c +++ b/sfeed_opml_import.c @@ -87,7 +87,7 @@ main(void) "# list of feeds to fetch:\n" "feeds() {\n" " # feed <name> <feedurl> [basesiteurl] [encoding]\n", stdout); - xmlparser_parse_fd(&parser, 0); + xml_parse_fd(&parser, 0); fputs("}\n", stdout); return 0; |