return (sendmsg(fd, &msg, 0));
}
-static void aio_child_cleanup(struct event_context *event_ctx,
+static void aio_child_cleanup(struct tevent_context *event_ctx,
struct timed_event *te,
struct timeval now,
void *private_data)
static bool used;
static unsigned num_busy;
-static void aio_linux_done(struct event_context *event_ctx,
+static void aio_linux_done(struct tevent_context *event_ctx,
struct fd_event *event,
uint16 flags, void *private_data);
return req;
}
-static void aio_linux_done(struct event_context *event_ctx,
+static void aio_linux_done(struct tevent_context *event_ctx,
struct fd_event *event,
uint16 flags, void *private_data)
{
Ensure thread pool is initialized.
***********************************************************************/
-static bool init_aio_threadpool(struct event_context *ev_ctx,
+static bool init_aio_threadpool(struct tevent_context *ev_ctx,
struct pthreadpool **pp_pool,
- void (*completion_fn)(struct event_context *,
+ void (*completion_fn)(struct tevent_context *,
struct fd_event *,
uint16,
void *))
Callback when an open completes.
***********************************************************************/
-static void aio_open_handle_completion(struct event_context *event_ctx,
+static void aio_open_handle_completion(struct tevent_context *event_ctx,
struct fd_event *event,
uint16 flags,
void *p)
static bool fam_connection_initialized = False;
static struct fam_watch_context *fam_notify_list;
-static void fam_handler(struct event_context *event_ctx,
+static void fam_handler(struct tevent_context *event_ctx,
struct fd_event *fd_event,
uint16 flags,
void *private_data);
static NTSTATUS fam_open_connection(FAMConnection *fam_conn,
- struct event_context *event_ctx)
+ struct tevent_context *event_ctx)
{
int res;
char *name;
}
static void fam_reopen(FAMConnection *fam_conn,
- struct event_context *event_ctx,
+ struct tevent_context *event_ctx,
struct fam_watch_context *notify_list)
{
struct fam_watch_context *ctx;
}
}
-static void fam_handler(struct event_context *event_ctx,
+static void fam_handler(struct tevent_context *event_ctx,
struct fd_event *fd_event,
uint16 flags,
void *private_data)
}
}
-static void preopen_helper_readable(struct event_context *ev,
+static void preopen_helper_readable(struct tevent_context *ev,
struct fd_event *fde, uint16_t flags,
void *priv)
{