X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fhomebank;a=blobdiff_plain;f=src%2Fhb-hbfile.h;h=14e2a317dacfec57e341d16c74f7d101870c5b49;hp=c2b3b7d9176ac7f5ab46ad1d4b8f677b5afba132;hb=HEAD;hpb=27f6e3b112df235c8e9afc9911b1f6bce208a001 diff --git a/src/hb-hbfile.h b/src/hb-hbfile.h index c2b3b7d..14e2a31 100644 --- a/src/hb-hbfile.h +++ b/src/hb-hbfile.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,15 @@ #ifndef __HB_HBFILE_H__ #define __HB_HBFILE_H__ +GList *hbfile_transaction_get_all(void); +GQueue *hbfile_transaction_get_partial(guint32 minjulian, guint32 maxjulian); +GQueue *hbfile_transaction_get_partial_budget(guint32 minjulian, guint32 maxjulian); -gboolean hbfile_file_hasbackup(gchar *filepath); +gboolean hbfile_file_isbackup(gchar *filepath); +gboolean hbfile_file_hasrevert(gchar *filepath); +guint64 hbfile_file_get_time_modified(gchar *filepath); + +void hbfile_file_default(void); void hbfile_change_owner(gchar *owner); void hbfile_change_filepath(gchar *filepath); @@ -32,5 +39,8 @@ void hbfile_setup(gboolean file_clear); void hbfile_anonymize(void); void hbfile_sanity_check(void); +void hbfile_change_basecurrency(guint32 key); +void hbfile_replace_basecurrency(Currency4217 *curfmt); + #endif