summaryrefslogtreecommitdiff
path: root/source4/cluster/ctdb/include/includes.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-12-29 11:02:32 +0100
committerStefan Metzmacher <metze@samba.org>2008-12-29 14:46:09 +0100
commite36d64728f79087610737fa54eee69af3ab99c5b (patch)
tree5fee7f16373c6ca0043dd87345d845253a2c9cc5 /source4/cluster/ctdb/include/includes.h
parentaec16efaf29bc6c5e4973e2f4e218d7fc4b652cb (diff)
downloadsamba-e36d64728f79087610737fa54eee69af3ab99c5b.tar.gz
samba-e36d64728f79087610737fa54eee69af3ab99c5b.tar.bz2
samba-e36d64728f79087610737fa54eee69af3ab99c5b.zip
s4:cluster: remove old/broken ctdb code
We don't need a full copy of ctdb... If we want to readd cluster support, we should just use a ctdb client library. metze
Diffstat (limited to 'source4/cluster/ctdb/include/includes.h')
-rw-r--r--source4/cluster/ctdb/include/includes.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/source4/cluster/ctdb/include/includes.h b/source4/cluster/ctdb/include/includes.h
deleted file mode 100644
index 0ed44cbad0..0000000000
--- a/source4/cluster/ctdb/include/includes.h
+++ /dev/null
@@ -1,40 +0,0 @@
-#define HAVE_UNIXSOCKET 1
-
-#include "replace.h"
-#include "talloc.h"
-#include "tdb.h"
-#include "idtree.h"
-#include "ctdb.h"
-#include "lib/util/debug.h"
-
-typedef bool BOOL;
-
-#define True 1
-#define False 0
-
-extern int LogLevel;
-
-#define DEBUG(lvl, x) if ((lvl) <= LogLevel) (do_debug x)
-
-#define _PUBLIC_
-
-#define ZERO_STRUCT(x) memset((char *)&(x), 0, sizeof(x))
-
-#ifndef discard_const
-#define discard_const(ptr) ((void *)((uintptr_t)(ptr)))
-#endif
-
-struct timeval timeval_zero(void);
-bool timeval_is_zero(const struct timeval *tv);
-struct timeval timeval_current(void);
-struct timeval timeval_set(uint32_t secs, uint32_t usecs);
-int timeval_compare(const struct timeval *tv1, const struct timeval *tv2);
-struct timeval timeval_until(const struct timeval *tv1,
- const struct timeval *tv2);
-_PUBLIC_ struct timeval timeval_current_ofs(uint32_t secs, uint32_t usecs);
-double timeval_elapsed(struct timeval *tv);
-char **file_lines_load(const char *fname, int *numlines, TALLOC_CTX *mem_ctx);
-char *hex_encode(TALLOC_CTX *mem_ctx, const unsigned char *buff_in, size_t len);
-_PUBLIC_ const char **str_list_add(const char **list, const char *s);
-_PUBLIC_ int set_blocking(int fd, bool set);
-