GnuCash  4.8a-80-g9825132ea+
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 void xaccOpenLog (void);
50 void xaccCloseLog (void);
51 void xaccReopenLog (void);
52 
66 void xaccTransWriteLog (Transaction *trans, char flag);
67 
69 void xaccLogEnable (void);
70 
72 void xaccLogDisable (void);
73 
79 void xaccLogSetBaseName (const char *);
80 
82 gboolean xaccFileIsCurrentLog (const gchar *name);
83 
84 #endif /* XACC_TRANS_LOG_H */
85 
void xaccTransWriteLog(Transaction *trans, char flag)
Definition: TransLog.c:223
void xaccLogDisable(void)
document me
Definition: TransLog.c: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.c:119
gboolean xaccFileIsCurrentLog(const gchar *name)
Test a filename to see if it is the name of the current logfile.
Definition: TransLog.c:141
API for Transactions and Splits (journal entries)
void xaccLogEnable(void)
document me
Definition: TransLog.c:99