Users of CTDB_PORT will all pick up the new definition.
Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
#include <sys/socket.h>
#include "protocol/protocol.h"
-/* define ctdb port number */
-#define CTDB_PORT 4379
-
/* we must align packets to ensure ctdb works on all architectures (eg. sparc) */
#define CTDB_DS_ALIGNMENT 8
#include <tdb.h>
+#define CTDB_PORT 4379
+
#define CTDB_MAGIC 0x43544442 /* CTDB */
#define CTDB_PROTOCOL 1
#include "ipalloc_read_known_ips.h"
-#define CTDB_PORT 4379
-
/* A fake flag that is only supported by some functions */
#define NODE_FLAGS_FAKE_TIMEOUT 0x80000000