diff options
| author | Rusty Russell <rusty@rustcorp.com.au> | 2009-11-24 11:09:46 +1030 |
|---|---|---|
| committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-11-24 11:09:46 +1030 |
| commit | 2763df22dede72097cb080c46e2e1179615a3ea7 (patch) | |
| tree | 46a9e13e11a00cb5d3acc817fba293ecff9d137f /ctdb/include | |
| parent | 3845c6e5b846ad0e45572d8bd9692841f01efc33 (diff) | |
| download | samba-2763df22dede72097cb080c46e2e1179615a3ea7.tar.gz samba-2763df22dede72097cb080c46e2e1179615a3ea7.tar.xz samba-2763df22dede72097cb080c46e2e1179615a3ea7.zip | |
eventscript: put timeout inside ctdb_event_script_callback_v
Everyone uses the same timeout value, so just remove it from the API.
If we ever need variable timeouts, that might as well be central too.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(This used to be ctdb commit 533c3e053293941d2a9484b495e78d45f478bb08)
Diffstat (limited to 'ctdb/include')
| -rw-r--r-- | ctdb/include/ctdb_private.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 9d033a9d7e..e3ebb8acd8 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -1328,11 +1328,10 @@ int32_t ctdb_control_set_tcp_tickle_list(struct ctdb_context *ctdb, TDB_DATA ind void ctdb_takeover_client_destructor_hook(struct ctdb_client *client); int ctdb_event_script(struct ctdb_context *ctdb, const char *fmt, ...) PRINTF_ATTRIBUTE(2,3); int ctdb_event_script_callback(struct ctdb_context *ctdb, - struct timeval timeout, TALLOC_CTX *mem_ctx, void (*callback)(struct ctdb_context *, int, void *), void *private_data, - const char *fmt, ...) PRINTF_ATTRIBUTE(6,7); + const char *fmt, ...) PRINTF_ATTRIBUTE(5,6); void ctdb_release_all_ips(struct ctdb_context *ctdb); void set_nonblocking(int fd); |
