ctdbd: Add nodes_file member to struct ctdb_context
[samba.git] / ctdb / tests / src / ctdbd_test.c
1 /*
2    ctdbd test include file
3
4    Copyright (C) Martin Schwenke  2011
5
6    This program is free software; you can redistribute it and/or modify
7    it under the terms of the GNU General Public License as published by
8    the Free Software Foundation; either version 3 of the License, or
9    (at your option) any later version.
10
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15
16    You should have received a copy of the GNU General Public License
17    along with this program; if not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef _CTDBD_TEST_C
21 #define _CTDBD_TEST_C
22
23 #include "includes.h"
24 #include "tdb.h"
25 #include "ctdb_private.h"
26
27 /*
28  * Need these, since they're defined in ctdbd.c but we can't include
29  * that.
30  */
31 int script_log_level;
32 bool fast_start;
33
34 /* UTIL_OBJ */
35 #include "lib/util/idtree.c"
36 #include "lib/util/db_wrap.c"
37 #include "lib/util/strlist.c"
38 #include "lib/util/util.c"
39 #include "lib/util/util_time.c"
40 #include "lib/util/util_file.c"
41 #include "lib/util/fault.c"
42 #include "lib/util/substitute.c"
43 #include "lib/util/signal.c"
44
45 /* CTDB_COMMON_OBJ */
46 #include "common/ctdb_io.c"
47 #include "common/ctdb_util.c"
48 #include "common/ctdb_ltdb.c"
49 #include "common/ctdb_message.c"
50 #include "common/cmdline.c"
51 #include "lib/util/debug.c"
52 #include "common/rb_tree.c"
53 #include "common/system_common.c"
54 #include "common/ctdb_logging.c"
55 #include "common/ctdb_fork.c"
56
57 /* CTDB_SERVER_OBJ */
58 #include "server/ctdb_daemon.c"
59 #include "server/ctdb_recoverd.c"
60 #include "server/ctdb_recover.c"
61 #include "server/ctdb_freeze.c"
62 #include "server/ctdb_tunables.c"
63 #include "server/ctdb_monitor.c"
64 #include "server/ctdb_server.c"
65 #include "server/ctdb_control.c"
66 #include "server/ctdb_call.c"
67 #include "server/ctdb_ltdb_server.c"
68 #include "server/ctdb_traverse.c"
69 #include "server/eventscript.c"
70 #include "server/ctdb_takeover.c"
71 #include "server/ctdb_serverids.c"
72 #include "server/ctdb_persistent.c"
73 #include "server/ctdb_keepalive.c"
74 #include "server/ctdb_logging.c"
75 #include "server/ctdb_uptime.c"
76 #include "server/ctdb_vacuum.c"
77 #include "server/ctdb_banning.c"
78 #include "server/ctdb_statistics.c"
79 #include "server/ctdb_update_record.c"
80 #include "server/ctdb_lock.c"
81
82 /* CTDB_CLIENT_OBJ */
83 #include "client/ctdb_client.c"
84
85 /* CTDB_TCP_OBJ */
86 #include "tcp/tcp_connect.c"
87 #include "tcp/tcp_io.c"
88 #include "tcp/tcp_init.c"
89
90 #endif /* _CTDBD_TEST_C */