along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-
-
+#ifndef _RB_TREE_H
+#define _RB_TREE_H
+
#define TRBT_RED 0x00
#define TRBT_BLACK 0x01
typedef struct trbt_node {
/* Lookup the first node in the tree with a key based on an array of uint32
and return a pointer to data or NULL */
void *trbt_findfirstarray32(trbt_tree_t *tree, uint32_t keylen);
+
+#endif /* _RB_TREE_H */
+#ifndef _CTDB_INCLUDES_H
+#define _CTDB_INCLUDES_H
+
#define HAVE_UNIXSOCKET 1
#include "replace.h"
#include "lib/util/debug.h"
#include "lib/util/util.h"
+
+#endif /* _CTDB_INCLUDES_H */
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _DB_WRAP_H
+#define _DB_WRAP_H
struct tdb_wrap {
struct tdb_context *tdb;
struct tdb_wrap *tdb_wrap_open(TALLOC_CTX *mem_ctx,
const char *name, int hash_size, int tdb_flags,
int open_flags, mode_t mode);
+
+#endif /* _DB_WRAP_H */
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-
+#ifndef _CTDB_TCP_H
+#define _CTDB_TCP_H
+
/* ctdb_tcp main state */
struct ctdb_tcp {
struct ctdb_context *ctdb;
void ctdb_tcp_stop_connection(struct ctdb_node *node);
#define CTDB_TCP_ALIGNMENT 8
+
+#endif /* _CTDB_TCP_H */