diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-26 13:00:45 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-26 13:00:45 -0800 |
commit | 4d10bc017ad683ffa3e7e399b9bcb9dcf524d964 (patch) | |
tree | 6a574035a59ded9981471249dccb497cb999adf4 /dive.h | |
parent | 6e0ea1ce618d9d28d9512e2afe587bde9ae76fda (diff) | |
download | subsurface-4d10bc017ad683ffa3e7e399b9bcb9dcf524d964.tar.gz |
Split up file reading from 'parse-xml.c' into 'file.c'
We're going to eventually import non-xml files too, so let's begin
splitting the logic up.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -254,9 +254,11 @@ static inline struct dive *get_dive(unsigned int nr) } extern void parse_xml_init(void); -extern void parse_xml_file(const char *filename, GError **error); +extern void parse_xml_buffer(const char *url, const char *buf, int size, GError **error); extern void set_filename(const char *filename); +extern void parse_file(const char *filename, GError **error); + #ifdef XSLT extern xmlDoc *test_xslt_transforms(xmlDoc *doc); #endif |