mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
6e0ea1ce61
commit
4d10bc017a
6 changed files with 88 additions and 71 deletions
4
dive.h
4
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue