GnuCash  5.6-150-g038405b370+
TransLog.h
Go to the documentation of this file.
1 /********************************************************************\
2  * This program is free software; you can redistribute it and/or *
3  * modify it under the terms of the GNU General Public License as *
4  * published by the Free Software Foundation; either version 2 of *
5  * the License, or (at your option) any later version. *
6  * *
7  * This program is distributed in the hope that it will be useful, *
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
10  * GNU General Public License for more details. *
11  * *
12  * You should have received a copy of the GNU General Public License*
13  * along with this program; if not, contact: *
14  * *
15  * Free Software Foundation Voice: +1-617-542-5942 *
16  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
17  * Boston, MA 02110-1301, USA gnu@gnu.org *
18  * *
19 \********************************************************************/
20 
43 #ifndef XACC_TRANS_LOG_H
44 #define XACC_TRANS_LOG_H
45 
46 #include "Account.h"
47 #include "Transaction.h"
48 
49 #ifdef __cplusplus
50 extern "C" {
51 #endif
52 
53 void xaccOpenLog (void);
54 void xaccCloseLog (void);
55 void xaccReopenLog (void);
56 
70 void xaccTransWriteLog (Transaction *trans, char flag);
71 
73 void xaccLogEnable (void);
74 
76 void xaccLogDisable (void);
77 
83 void xaccLogSetBaseName (const char *);
84 
86 gboolean xaccFileIsCurrentLog (const gchar *name);
87 
88 #ifdef __cplusplus
89 }
90 #endif
91 
92 #endif /* XACC_TRANS_LOG_H */
93 
void xaccTransWriteLog(Transaction *trans, char flag)
Definition: TransLog.cpp:223
void xaccLogDisable(void)
document me
Definition: TransLog.cpp:95
Account handling public routines.
void xaccLogSetBaseName(const char *)
The xaccLogSetBaseName() method sets the base filepath and the root part of the journal file name...
Definition: TransLog.cpp:119
gboolean xaccFileIsCurrentLog(const gchar *name)
Test a filename to see if it is the name of the current logfile.
Definition: TransLog.cpp:141
API for Transactions and Splits (journal entries)
void xaccLogEnable(void)
document me
Definition: TransLog.cpp:99