summaryrefslogtreecommitdiff
path: root/ctdb/ib
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2010-08-18 09:16:31 +0930
committerRusty Russell <rusty@rustcorp.com.au>2010-08-18 09:16:31 +0930
commitf93440c4b7febb67e23580a6217ada832fa6318a (patch)
tree2c86215a1673329bdb3486e6bcd9bb74f2e1088f /ctdb/ib
parent532e4a7077524c699b88d0b7c02984d5920e1c58 (diff)
downloadsamba-f93440c4b7febb67e23580a6217ada832fa6318a.tar.gz
event: Update events to latest Samba version 0.9.8
In Samba this is now called "tevent", and while we use the backwards compatibility wrappers they don't offer EVENT_FD_AUTOCLOSE: that is now a separate tevent_fd_set_auto_close() function. This is based on Samba version 7f29f817fa939ef1bbb740584f09e76e2ecd5b06. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (This used to be ctdb commit 85e5e760cc91eb3157d3a88996ce474491646726)
Diffstat (limited to 'ctdb/ib')
-rw-r--r--ctdb/ib/ibw_ctdb.c2
-rw-r--r--ctdb/ib/ibw_ctdb_init.c2
-rw-r--r--ctdb/ib/ibwrapper_test.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/ctdb/ib/ibw_ctdb.c b/ctdb/ib/ibw_ctdb.c
index 78d960a458a..5664c193acb 100644
--- a/ctdb/ib/ibw_ctdb.c
+++ b/ctdb/ib/ibw_ctdb.c
@@ -21,7 +21,7 @@
*/
#include "includes.h"
-#include "lib/events/events.h"
+#include "lib/tevent/tevent.h"
#include <system/network.h>
#include <assert.h>
#include "ctdb_private.h"
diff --git a/ctdb/ib/ibw_ctdb_init.c b/ctdb/ib/ibw_ctdb_init.c
index 170ce302af2..fed1381f6df 100644
--- a/ctdb/ib/ibw_ctdb_init.c
+++ b/ctdb/ib/ibw_ctdb_init.c
@@ -21,7 +21,7 @@
*/
#include "includes.h"
-#include "lib/events/events.h"
+#include "lib/tevent/tevent.h"
#include <system/network.h>
#include <assert.h>
#include "ctdb_private.h"
diff --git a/ctdb/ib/ibwrapper_test.c b/ctdb/ib/ibwrapper_test.c
index b9c80ae2ae2..eb0d58858ff 100644
--- a/ctdb/ib/ibwrapper_test.c
+++ b/ctdb/ib/ibwrapper_test.c
@@ -37,7 +37,7 @@
#include <time.h>
#include "includes.h"
-#include "lib/events/events.h"
+#include "lib/tevent/tevent.h"
#include "ib/ibwrapper.h"
struct ibwtest_ctx {
@@ -546,7 +546,7 @@ int main(int argc, char *argv[])
{
int rc, op;
int result = 1;
- struct event_context *ev = NULL;
+ struct tevent_context *ev = NULL;
struct ibwtest_ctx *tcx = NULL;
float usec;