GnuCash  5.6-150-g038405b370+
SX-book-p.h
1 /********************************************************************\
2  * SX-book-p.h -- private scheduled transaction dataset access *
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 
22 /*
23  * FILE:
24  * SX-book-p.h
25  *
26  * FUNCTION:
27  * Private members of SX-in-book utils.
28  * See src/doc/books.txt for design overview.
29  *
30  * HISTORY:
31  * Copyright (c) 2003 Linas Vepstas <linas@linas.org>
32  */
33 
34 #ifndef GNC_SX_BOOK_P_H
35 #define GNC_SX_BOOK_P_H
36 
37 #include "qof.h"
38 #include "SX-book.h"
39 
40 /* ====================================================================== */
41 
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45 
46 SchedXactions* gnc_collection_get_schedxactions(const QofCollection *col);
47 
48 /* Associate the given template root account with a book */
49 void gnc_book_set_template_root (QofBook *book, Account *templateRoot);
50 
51 gboolean gnc_sxtt_register (void);
52 
53 #ifdef __cplusplus
54 }
55 #endif
56 
57 #endif /* GNC_SX_BOOK_P_H */
STRUCTS.
Anchor Scheduled Transaction info in a book.