static int event_fd = -1;
static io_context_t io_ctx;
-static struct fd_event *aio_read_event;
+static struct tevent_fd *aio_read_event;
static bool used;
static unsigned num_busy;
static void aio_linux_done(struct tevent_context *event_ctx,
- struct fd_event *event,
+ struct tevent_fd *event,
uint16 flags, void *private_data);
/************************************************************************
}
static void aio_linux_done(struct tevent_context *event_ctx,
- struct fd_event *event,
+ struct tevent_fd *event,
uint16 flags, void *private_data)
{
uint64_t num_events = 0;
static bool init_aio_threadpool(struct tevent_context *ev_ctx,
struct pthreadpool **pp_pool,
void (*completion_fn)(struct tevent_context *,
- struct fd_event *,
+ struct tevent_fd *,
uint16,
void *))
{
- struct fd_event *sock_event = NULL;
+ struct tevent_fd *sock_event = NULL;
int ret = 0;
if (*pp_pool) {
***********************************************************************/
static void aio_open_handle_completion(struct tevent_context *event_ctx,
- struct fd_event *event,
+ struct tevent_fd *event,
uint16 flags,
void *p)
{
static struct fam_watch_context *fam_notify_list;
static void fam_handler(struct tevent_context *event_ctx,
- struct fd_event *fd_event,
+ struct tevent_fd *fd_event,
uint16 flags,
void *private_data);
}
static void fam_handler(struct tevent_context *event_ctx,
- struct fd_event *fd_event,
+ struct tevent_fd *fd_event,
uint16 flags,
void *private_data)
{
struct preopen_helper {
struct preopen_state *state;
- struct fd_event *fde;
+ struct tevent_fd *fde;
pid_t pid;
int fd;
bool busy;
}
static void preopen_helper_readable(struct tevent_context *ev,
- struct fd_event *fde, uint16_t flags,
+ struct tevent_fd *fde, uint16_t flags,
void *priv)
{
struct preopen_helper *helper = (struct preopen_helper *)priv;