summaryrefslogtreecommitdiffstats
path: root/ctdb/include/ctdb_protocol.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-12-10 14:22:55 +0100
committerMichael Adam <obnox@samba.org>2011-03-14 13:35:44 +0100
commitf3fbd31d850f54d97d78baa5dbfa76a4c2a614b6 (patch)
tree66f1a8df1fb6f71af01c636e6529fde80fe550e3 /ctdb/include/ctdb_protocol.h
parenta2c11d6edcb9a8a223bd34eb04dbfc49a3e4c912 (diff)
downloadsamba-f3fbd31d850f54d97d78baa5dbfa76a4c2a614b6.tar.gz
samba-f3fbd31d850f54d97d78baa5dbfa76a4c2a614b6.tar.xz
samba-f3fbd31d850f54d97d78baa5dbfa76a4c2a614b6.zip
call: Move definition of call flags down to the definition of the flags field.
(This used to be ctdb commit 86c844fb08a7fd33e94f56b8d5e43278120e1162)
Diffstat (limited to 'ctdb/include/ctdb_protocol.h')
-rw-r--r--ctdb/include/ctdb_protocol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h
index 48f1b2fd44..05ad639c28 100644
--- a/ctdb/include/ctdb_protocol.h
+++ b/ctdb/include/ctdb_protocol.h
@@ -34,14 +34,14 @@
#define CTDB_FETCH_FUNC 0xFF000002
-#define CTDB_IMMEDIATE_MIGRATION 0x00000001
-#define CTDB_CALL_FLAG_VACUUM_MIGRATION 0x00000002
struct ctdb_call {
int call_id;
TDB_DATA key;
TDB_DATA call_data;
TDB_DATA reply_data;
uint32_t status;
+#define CTDB_IMMEDIATE_MIGRATION 0x00000001
+#define CTDB_CALL_FLAG_VACUUM_MIGRATION 0x00000002
uint32_t flags;
};