Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
} oplocks;
struct {
- struct fd_event *fde;
+ struct tevent_fd *fde;
struct {
/*
/*
* fde for the trusted_fd
*/
- struct fd_event *trusted_fde;
+ struct tevent_fd *trusted_fde;
/*
* Reference count for the fcntl lock to
/*
called when the kernel has some events for us
*/
-static void inotify_handler(struct tevent_context *ev, struct fd_event *fde,
+static void inotify_handler(struct tevent_context *ev, struct tevent_fd *fde,
uint16_t flags, void *private_data)
{
struct inotify_private *in = talloc_get_type(private_data,
struct smbd_server_connection *sconn;
int write_fd;
int read_fd;
- struct fd_event *read_fde;
+ struct tevent_fd *read_fde;
bool pending;
};
}
static void irix_oplocks_read_fde_handler(struct tevent_context *ev,
- struct fd_event *fde,
+ struct tevent_fd *fde,
uint16_t flags,
void *private_data)
{
}
static void smbd_server_connection_handler(struct tevent_context *ev,
- struct fd_event *fde,
+ struct tevent_fd *fde,
uint16_t flags,
void *private_data)
{
}
static void smbd_server_echo_handler(struct tevent_context *ev,
- struct fd_event *fde,
+ struct tevent_fd *fde,
uint16_t flags,
void *private_data)
{