X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fhomebank;a=blobdiff_plain;f=src%2Fhb-xml.h;h=4c39ebe4df52c521d9a548e36ddcce2f257e8745;hp=a5018ef5f00c4ab9cfe96d11e1cdfa01c8f5bad2;hb=a6c6b0df5492c2160ed97e3a376bdb2fe7c5ebc4;hpb=27f6e3b112df235c8e9afc9911b1f6bce208a001 diff --git a/src/hb-xml.h b/src/hb-xml.h index a5018ef..4c39ebe 100644 --- a/src/hb-xml.h +++ b/src/hb-xml.h @@ -1,5 +1,5 @@ /* HomeBank -- Free, easy, personal accounting for everyone. - * Copyright (C) 1995-2014 Maxime DOYEN + * Copyright (C) 1995-2019 Maxime DOYEN * * This file is part of HomeBank. * @@ -20,8 +20,6 @@ #ifndef __HB_XML_H__ #define __HB_XML_H__ -gint homebank_load_xml(gchar *filename); -gint homebank_save_xml(gchar *filename); enum { @@ -33,4 +31,16 @@ enum }; +typedef struct _ParseContext ParseContext; +struct _ParseContext +{ + gdouble file_version; //version of the xml structure + gint data_version; //last hb version file was saved with +}; + + +gint homebank_load_xml(gchar *filename); +gint homebank_save_xml(gchar *filename); + + #endif