GnuCash  5.6-150-g038405b370+
gnc-ab-kvp.h
Go to the documentation of this file.
1 /*
2  * gnc-ab-kvp.h --
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License as
6  * published by the Free Software Foundation; either version 2 of
7  * the License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, contact:
16  *
17  * Free Software Foundation Voice: +1-617-542-5942
18  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
19  * Boston, MA 02110-1301, USA gnu@gnu.org
20  */
21 
33 #ifndef GNC_AB_KVP_H
34 #define GNC_AB_KVP_H
35 
36 #include <glib.h>
37 
38 #include "Account.h"
39 
40 G_BEGIN_DECLS
41 
51 const gchar *gnc_ab_get_account_accountid(const Account *a);
52 
60 void gnc_ab_set_account_accountid(Account *a, const gchar *id);
61 
68 const gchar *gnc_ab_get_account_bankcode(const Account *a);
69 
77 void gnc_ab_set_account_bankcode(Account *a, const gchar *code);
78 
85 guint32 gnc_ab_get_account_uid(const Account *a);
86 
94 void gnc_ab_set_account_uid(Account *a, guint32 uid);
95 
103 
112 
115 #endif /* GNC_AB_KVP_H */
guint32 gnc_ab_get_account_uid(const Account *a)
Return the unique id for the AB_BANKING account in the Account a.
Definition: gnc-ab-kvp.c:79
time64 gnc_ab_get_account_trans_retrieval(const Account *a)
Return the time of last online transaction retrieval for Account a.
Definition: gnc-ab-kvp.c:99
void gnc_ab_set_account_trans_retrieval(Account *a, time64 time)
Set the time of last online transaction retrieval for Account a.
Definition: gnc-ab-kvp.c:109
STRUCTS.
const gchar * gnc_ab_get_account_bankcode(const Account *a)
Return the bankcode string in the Account a.
Definition: gnc-ab-kvp.c:59
Account handling public routines.
void gnc_ab_set_account_accountid(Account *a, const gchar *id)
Set the accountid string in the Account a to id.
Definition: gnc-ab-kvp.c:49
void gnc_ab_set_account_uid(Account *a, guint32 uid)
Set the unique id for the AB_BANKING account in the Account a to uid.
Definition: gnc-ab-kvp.c:89
gint64 time64
Most systems that are currently maintained, including Microsoft Windows, BSD-derived Unixes and Linux...
Definition: gnc-date.h:87
const gchar * gnc_ab_get_account_accountid(const Account *a)
Return accountid string in the Account a.
Definition: gnc-ab-kvp.c:39
void gnc_ab_set_account_bankcode(Account *a, const gchar *code)
Set the bankcode string in the Account a to code.
Definition: gnc-ab-kvp.c:69