diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-12-07 23:18:40 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-12-07 23:18:40 +1030 |
commit | 5190932507490b1b1f4764e05f8c0ec2d42db275 (patch) | |
tree | a89e34c7d0ffd3ea33423f5c38a8fdb743eb2e39 /ctdb/include | |
parent | 0dd46797d6a2f9f9d5e0ea2c30a161789351227a (diff) | |
download | samba-5190932507490b1b1f4764e05f8c0ec2d42db275.tar.gz samba-5190932507490b1b1f4764e05f8c0ec2d42db275.tar.xz samba-5190932507490b1b1f4764e05f8c0ec2d42db275.zip |
eventscript: expost ctdb_ban_self()
eventscript.c uses this now, but our next patch makes others use it.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(This used to be ctdb commit a305cb7743c24386e464f6b2efab7e2108bb1e7e)
Diffstat (limited to 'ctdb/include')
-rw-r--r-- | ctdb/include/ctdb_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 4eb7decf05e..a6cbf716f99 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -1535,6 +1535,7 @@ int32_t ctdb_control_disable_script(struct ctdb_context *ctdb, TDB_DATA indata); int32_t ctdb_control_set_ban_state(struct ctdb_context *ctdb, TDB_DATA indata); int32_t ctdb_control_get_ban_state(struct ctdb_context *ctdb, TDB_DATA *outdata); int32_t ctdb_control_set_db_priority(struct ctdb_context *ctdb, TDB_DATA indata); +void ctdb_ban_self(struct ctdb_context *ctdb); int32_t ctdb_control_register_notify(struct ctdb_context *ctdb, uint32_t client_id, TDB_DATA indata); |