]>
Dogcows Code - chaz/homebank/blob - src/hb-archive.h
1 /* HomeBank -- Free, easy, personal accounting for everyone.
2 * Copyright (C) 1995-2016 Maxime DOYEN
4 * This file is part of HomeBank.
6 * HomeBank is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * HomeBank is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef __HB_ARCHIVE_H__
21 #define __HB_ARCHIVE_H__
23 #include "hb-transaction.h"
26 typedef struct _archive Archive
;
40 gushort status
, _pad1
;
43 //guint32 kxfer; //strong link xfer key
46 Split
*splits
[TXN_MAX_SPLIT
+1];
56 Archive
*da_archive_malloc(void);
57 Archive
*da_archive_clone(Archive
*src_item
);
58 guint
archive_add_get_nbdays(void);
59 void da_archive_free(Archive
*item
);
60 void da_archive_destroy(GList
*list
);
61 GList
*da_archive_sort(GList
*list
);
62 guint
da_archive_length(void);
63 void da_archive_consistency(Archive
*item
);
65 Archive
*da_archive_init_from_transaction(Archive
*arc
, Transaction
*txn
);
67 gboolean
scheduled_is_postable(Archive
*arc
);
68 guint32
scheduled_get_postdate(Archive
*arc
, guint32 postdate
);
69 guint32
scheduled_get_latepost_count(Archive
*arc
, guint32 jrefdate
);
70 guint32
scheduled_date_advance(Archive
*arc
);
71 guint32
scheduled_date_get_post_max(void);
72 gint
scheduled_post_all_pending(void);
This page took 0.039307 seconds and 5 git commands to generate.