X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=dive.h;h=befa0cdcf3b50e13c95a6fe017979fad23442f91;hb=3d8d5da999264595c7fecc786c101b40573689df;hp=52158ad78fcaf5b5ed6ea4d378dcb8c9d43bea80;hpb=1d6903c65a4980ac51a3508db6a388ab07111341;p=ext%2Fsubsurface.git diff --git a/dive.h b/dive.h index 52158ad..befa0cd 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