GnuCash
2.6.99
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
backend
dbi
test
test-dbi-stuff.h
1
/***************************************************************************
2
* test-dbi-stuff.h
3
*
4
* Tests saving and loading to a dbi/sqlite3 db
5
*
6
* Copyright (C) 2009 Phil Longstaff <
[email protected]
>
7
****************************************************************************/
8
9
/*
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU General Public License for more details.
19
*
20
* You should have received a copy of the GNU General Public License
21
* along with this program; if not, write to the Free Software
22
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23
* 02110-1301, USA.
24
*/
25
26
#ifndef _TEST_DBI_STUFF_H_
27
#define _TEST_DBI_STUFF_H_
28
29
#include "qof.h"
30
31
typedef
struct
32
{
33
QofBook
* book_1;
34
QofBook
* book_2;
35
gboolean result;
36
}
CompareInfoStruct
;
37
void
compare_books(
QofBook
* book_1,
QofBook
* book_2 );
38
39
void
do_compare(
QofBook
* book_1,
QofBook
* book_2,
const
gchar*
id
,
QofInstanceForeachCB
cb,
const
gchar* msg );
40
41
#endif
CompareInfoStruct
Definition:
test-dbi-stuff.h:31
QofInstanceForeachCB
void(* QofInstanceForeachCB)(QofInstance *, gpointer user_data)
Definition:
qofid.h:186
_QofBook
Definition:
qofbook.h:78
Generated by
1.8.6