ctdb-ipalloc: Split IP allocation into its own build subsystem
[obnox/samba/samba-obnox.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/db_hash.c"
45 #include "common/srvid.c"
46 #include "common/cmdline.c"
47 #include "common/rb_tree.c"
48 #include "common/reqid.c"
49 #include "common/logging.c"
50
51 /* CTDB_SERVER_OBJ */
52 #include "server/ctdb_daemon.c"
53 #include "server/ctdb_recoverd.c"
54 #include "server/ctdb_recover.c"
55 #include "server/ctdb_freeze.c"
56 #include "server/ctdb_tunables.c"
57 #include "server/ctdb_monitor.c"
58 #include "server/ctdb_server.c"
59 #include "server/ctdb_control.c"
60 #include "server/ctdb_call.c"
61 #include "server/ctdb_ltdb_server.c"
62 #include "server/ctdb_traverse.c"
63 #include "server/eventscript.c"
64 #include "server/ipalloc_common.c"
65 #include "server/ipalloc_deterministic.c"
66 #include "server/ipalloc_nondeterministic.c"
67 #include "server/ipalloc_lcp2.c"
68 #include "server/ipalloc.c"
69 #include "server/ctdb_takeover.c"
70 #include "server/ctdb_serverids.c"
71 #include "server/ctdb_persistent.c"
72 #include "server/ctdb_keepalive.c"
73 #include "server/ctdb_logging.c"
74 #include "server/ctdb_logging_syslog.c"
75 #include "server/ctdb_logging_file.c"
76 #include "server/ctdb_uptime.c"
77 #include "server/ctdb_vacuum.c"
78 #include "server/ctdb_banning.c"
79 #include "server/ctdb_statistics.c"
80 #include "server/ctdb_update_record.c"
81 #include "server/ctdb_lock.c"
82 #include "server/ctdb_fork.c"
83
84 /* CTDB_CLIENT_OBJ */
85 #include "client/ctdb_client.c"
86
87 /* CTDB_TCP_OBJ */
88 #include "tcp/tcp_connect.c"
89 #include "tcp/tcp_io.c"
90 #include "tcp/tcp_init.c"
91
92 #endif /* _CTDBD_TEST_C */