diff options
| author | Andrew Tridgell <tridge@samba.org> | 2007-04-19 11:56:37 +1000 |
|---|---|---|
| committer | Andrew Tridgell <tridge@samba.org> | 2007-04-19 11:56:37 +1000 |
| commit | e830dfd18da81d9dc7a0eafd3e045e7d4aba0f11 (patch) | |
| tree | 8f0108ae4338367805ad5438647b847da90181eb /ctdb/include | |
| parent | d0af75d1fa0347a543b37783a7a53e83465399a5 (diff) | |
| download | samba-e830dfd18da81d9dc7a0eafd3e045e7d4aba0f11.tar.gz samba-e830dfd18da81d9dc7a0eafd3e045e7d4aba0f11.tar.xz samba-e830dfd18da81d9dc7a0eafd3e045e7d4aba0f11.zip | |
much simpler fetch code!
fetch is now confined to the client code, no spcial code at
all in the daemon.
(This used to be ctdb commit 3ec801c9717e250b902760862df188e03c9bdbf4)
Diffstat (limited to 'ctdb/include')
| -rw-r--r-- | ctdb/include/ctdb_private.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 8e569a7d04..a5282be273 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -30,8 +30,8 @@ #define CTDB_DS_ALIGNMENT 8 +#define CTDB_NULL_FUNC 0xf0000001 -#define CTDB_FETCH_FUNC 0xf0000001 /* an installed ctdb remote call */ @@ -193,7 +193,6 @@ struct ctdb_call_state { struct ctdb_call call; int redirect_count; struct ctdb_ltdb_header header; - void *fetch_private; struct { void (*fn)(struct ctdb_call_state *); void *private_data; @@ -226,9 +225,7 @@ enum ctdb_operation { CTDB_REQ_REGISTER = 1000, CTDB_REQ_CONNECT_WAIT = 1001, CTDB_REPLY_CONNECT_WAIT = 1002, - CTDB_REQ_FETCH_LOCK = 1003, - CTDB_REPLY_FETCH_LOCK = 1004, - CTDB_REQ_SHUTDOWN = 1005 + CTDB_REQ_SHUTDOWN = 1003 }; #define CTDB_MAGIC 0x43544442 /* CTDB */ |
