ctdb-build: Tests don't include lib/util/*.c, link ctdb-util instead
[Samba.git] / ctdb / tests / src / ctdbd_test.c
blob4017d315e986501caa6d2c978ba498f8eeadf406
1 /*
2 ctdbd test include file
4 Copyright (C) Martin Schwenke 2011
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.
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.
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/>.
20 #ifndef _CTDBD_TEST_C
21 #define _CTDBD_TEST_C
23 #include "includes.h"
24 #include "tdb.h"
25 #include "ctdb_private.h"
28 * Need these, since they're defined in ctdbd.c but we can't include
29 * that.
31 int script_log_level;
32 bool fast_start;
34 /* CTDB_COMMON_OBJ */
35 #include "common/ctdb_io.c"
36 #include "common/ctdb_util.c"
37 #include "common/ctdb_ltdb.c"
38 #include "common/ctdb_message.c"
39 #include "common/cmdline.c"
40 #include "common/rb_tree.c"
41 #include "common/system_common.c"
42 #include "common/ctdb_logging.c"
43 #include "common/ctdb_fork.c"
44 #include "common/system_util.c"
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/ctdb_takeover.c"
60 #include "server/ctdb_serverids.c"
61 #include "server/ctdb_persistent.c"
62 #include "server/ctdb_keepalive.c"
63 #include "server/ctdb_logging.c"
64 #include "server/ctdb_uptime.c"
65 #include "server/ctdb_vacuum.c"
66 #include "server/ctdb_banning.c"
67 #include "server/ctdb_statistics.c"
68 #include "server/ctdb_update_record.c"
69 #include "server/ctdb_lock.c"
71 /* CTDB_CLIENT_OBJ */
72 #include "client/ctdb_client.c"
74 /* CTDB_TCP_OBJ */
75 #include "tcp/tcp_connect.c"
76 #include "tcp/tcp_io.c"
77 #include "tcp/tcp_init.c"
79 #endif /* _CTDBD_TEST_C */