]> git.samba.org - ambi/samba-autobuild/.git/blob - ctdb/tests/src/ctdbd_test.c
ctdb-cluster-mutex: Factor out cluster mutex code
[ambi/samba-autobuild/.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 "replace.h"
24 #include "system/network.h"
25
26 #include <talloc.h>
27 /* Allow use of deprecated function tevent_loop_allow_nesting() */
28 #define TEVENT_DEPRECATED
29 #include <tevent.h>
30
31 #include "ctdb_private.h"
32
33 /*
34  * Need these, since they're defined in ctdbd.c but we can't include
35  * that.
36  */
37 int script_log_level;
38 bool fast_start;
39
40 /* CTDB_COMMON_OBJ */
41 #include "common/ctdb_io.c"
42 #include "common/ctdb_util.c"
43 #include "common/ctdb_ltdb.c"
44 #include "common/cmdline.c"
45
46 /* CTDB_SERVER_OBJ */
47 #include "server/ctdb_daemon.c"
48 #include "server/ctdb_recoverd.c"
49 #include "server/ctdb_recover.c"
50 #include "server/ctdb_freeze.c"
51 #include "server/ctdb_tunables.c"
52 #include "server/ctdb_monitor.c"
53 #include "server/ctdb_server.c"
54 #include "server/ctdb_control.c"
55 #include "server/ctdb_call.c"
56 #include "server/ctdb_ltdb_server.c"
57 #include "server/ctdb_traverse.c"
58 #include "server/eventscript.c"
59 #include "server/ipalloc_common.c"
60 #include "server/ipalloc_deterministic.c"
61 #include "server/ipalloc_nondeterministic.c"
62 #include "server/ipalloc_lcp2.c"
63 #include "server/ipalloc.c"
64 #include "server/ctdb_takeover.c"
65 #include "server/ctdb_persistent.c"
66 #include "server/ctdb_keepalive.c"
67 #include "server/ctdb_cluster_mutex.c"
68 #include "server/ctdb_logging.c"
69 #include "server/ctdb_logging_syslog.c"
70 #include "server/ctdb_logging_file.c"
71 #include "server/ctdb_uptime.c"
72 #include "server/ctdb_vacuum.c"
73 #include "server/ctdb_banning.c"
74 #include "server/ctdb_statistics.c"
75 #include "server/ctdb_update_record.c"
76 #include "server/ctdb_lock.c"
77 #include "server/ctdb_fork.c"
78
79 /* CTDB_CLIENT_OBJ */
80 #include "client/ctdb_client.c"
81
82 /* CTDB_TCP_OBJ */
83 #include "tcp/tcp_connect.c"
84 #include "tcp/tcp_io.c"
85 #include "tcp/tcp_init.c"
86
87 #endif /* _CTDBD_TEST_C */