mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ctdb-protocol: Move definition of CTDB_PORT to protocol
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>
This commit is contained in:
parent
67e49d3e54
commit
79c5f451c8
@ -23,9 +23,6 @@
|
|||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include "protocol/protocol.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) */
|
/* we must align packets to ensure ctdb works on all architectures (eg. sparc) */
|
||||||
#define CTDB_DS_ALIGNMENT 8
|
#define CTDB_DS_ALIGNMENT 8
|
||||||
|
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
|
|
||||||
#include <tdb.h>
|
#include <tdb.h>
|
||||||
|
|
||||||
|
#define CTDB_PORT 4379
|
||||||
|
|
||||||
#define CTDB_MAGIC 0x43544442 /* CTDB */
|
#define CTDB_MAGIC 0x43544442 /* CTDB */
|
||||||
#define CTDB_PROTOCOL 1
|
#define CTDB_PROTOCOL 1
|
||||||
|
|
||||||
|
@ -48,8 +48,6 @@
|
|||||||
#include "ipalloc_read_known_ips.h"
|
#include "ipalloc_read_known_ips.h"
|
||||||
|
|
||||||
|
|
||||||
#define CTDB_PORT 4379
|
|
||||||
|
|
||||||
/* A fake flag that is only supported by some functions */
|
/* A fake flag that is only supported by some functions */
|
||||||
#define NODE_FLAGS_FAKE_TIMEOUT 0x80000000
|
#define NODE_FLAGS_FAKE_TIMEOUT 0x80000000
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user