summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-01-26 13:00:45 -0800
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-01-26 13:00:45 -0800
commit4d10bc017ad683ffa3e7e399b9bcb9dcf524d964 (patch)
tree6a574035a59ded9981471249dccb497cb999adf4 /dive.h
parent6e0ea1ce618d9d28d9512e2afe587bde9ae76fda (diff)
downloadsubsurface-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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index 52158ad78..befa0cdcf 100644
--- a/dive.h
+++ b/dive.h
@@ -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