GnuCash c935c2f+
Loading...
Searching...
No Matches
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
50extern "C" {
51#endif
52
53void xaccOpenLog (void);
54void xaccCloseLog (void);
55void xaccReopenLog (void);
56
70void xaccTransWriteLog (Transaction *trans, char flag);
71
73void xaccLogEnable (void);
74
76void xaccLogDisable (void);
77
83void xaccLogSetBaseName (const char *);
84
86gboolean xaccFileIsCurrentLog (const gchar *name);
87
88#ifdef __cplusplus
89}
90#endif
91
92#endif /* XACC_TRANS_LOG_H */
Account handling public routines.
API for Transactions and Splits (journal entries)
void xaccTransWriteLog(Transaction *trans, char flag)
Definition TransLog.cpp:222
void xaccLogSetBaseName(const char *)
The xaccLogSetBaseName() method sets the base filepath and the root part of the journal file name.
Definition TransLog.cpp:120
gboolean xaccFileIsCurrentLog(const gchar *name)
Test a filename to see if it is the name of the current logfile.
Definition TransLog.cpp:141
void xaccLogEnable(void)
document me
Definition TransLog.cpp:100
void xaccLogDisable(void)
document me
Definition TransLog.cpp:96