1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:smbd: s/struct event_context/struct tevent_context

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Stefan Metzmacher 2013-02-18 09:56:41 +01:00 committed by Michael Adam
parent 5c72385f3d
commit 415e8e0513
12 changed files with 18 additions and 18 deletions

View File

@ -144,7 +144,7 @@ struct notify_event;
struct notify_change_request;
struct sys_notify_backend;
struct sys_notify_context {
struct event_context *ev;
struct tevent_context *ev;
void *private_data; /* For use by the system backend */
};

View File

@ -35,7 +35,7 @@ static void received_unlock_msg(struct messaging_context *msg,
struct server_id server_id,
DATA_BLOB *data);
void brl_timeout_fn(struct event_context *event_ctx,
void brl_timeout_fn(struct tevent_context *event_ctx,
struct timed_event *te,
struct timeval now,
void *private_data)

View File

@ -164,7 +164,7 @@ static int wcp_file_size_change(files_struct *fsp)
return ret;
}
void update_write_time_handler(struct event_context *ctx,
void update_write_time_handler(struct tevent_context *ctx,
struct timed_event *te,
struct timeval now,
void *private_data)

View File

@ -570,7 +570,7 @@ char *notify_filter_string(TALLOC_CTX *mem_ctx, uint32 filter)
}
struct sys_notify_context *sys_notify_context_create(TALLOC_CTX *mem_ctx,
struct event_context *ev)
struct tevent_context *ev)
{
struct sys_notify_context *ctx;

View File

@ -190,7 +190,7 @@ static void inotify_dispatch(struct inotify_private *in,
/*
called when the kernel has some events for us
*/
static void inotify_handler(struct event_context *ev, struct fd_event *fde,
static void inotify_handler(struct tevent_context *ev, struct fd_event *fde,
uint16_t flags, void *private_data)
{
struct inotify_private *in = talloc_get_type(private_data,

View File

@ -121,7 +121,7 @@ static void notify_handler(struct messaging_context *msg_ctx,
struct notify_context *notify_init(TALLOC_CTX *mem_ctx,
struct messaging_context *msg,
struct event_context *ev)
struct tevent_context *ev)
{
struct loadparm_context *lp_ctx;
struct notify_context *notify;

View File

@ -320,7 +320,7 @@ static files_struct *initial_break_processing(
return fsp;
}
static void oplock_timeout_handler(struct event_context *ctx,
static void oplock_timeout_handler(struct tevent_context *ctx,
struct timed_event *te,
struct timeval now,
void *private_data)

View File

@ -276,7 +276,7 @@ static void irix_release_kernel_oplock(struct kernel_oplocks *_ctx,
}
}
static void irix_oplocks_read_fde_handler(struct event_context *ev,
static void irix_oplocks_read_fde_handler(struct tevent_context *ev,
struct fd_event *fde,
uint16_t flags,
void *private_data)

View File

@ -581,7 +581,7 @@ static void process_smb(struct smbd_server_connection *conn,
uint32_t seqnum, bool encrypted,
struct smb_perfcount_data *deferred_pcd);
static void smbd_deferred_open_timer(struct event_context *ev,
static void smbd_deferred_open_timer(struct tevent_context *ev,
struct timed_event *te,
struct timeval _tval,
void *private_data)
@ -2428,7 +2428,7 @@ process:
seqnum, encrypted, NULL);
}
static void smbd_server_connection_handler(struct event_context *ev,
static void smbd_server_connection_handler(struct tevent_context *ev,
struct fd_event *fde,
uint16_t flags,
void *private_data)
@ -2446,7 +2446,7 @@ static void smbd_server_connection_handler(struct event_context *ev,
}
}
static void smbd_server_echo_handler(struct event_context *ev,
static void smbd_server_echo_handler(struct tevent_context *ev,
struct fd_event *fde,
uint16_t flags,
void *private_data)

View File

@ -92,7 +92,7 @@ bool cancel_smb2_aio(struct smb_request *smbreq);
/* The following definitions come from smbd/blocking.c */
void brl_timeout_fn(struct event_context *event_ctx,
void brl_timeout_fn(struct tevent_context *event_ctx,
struct timed_event *te,
struct timeval now,
void *private_data);
@ -314,7 +314,7 @@ NTSTATUS can_set_delete_on_close(files_struct *fsp, uint32 dosmode);
/* The following definitions come from smbd/fileio.c */
ssize_t read_file(files_struct *fsp,char *data,off_t pos,size_t n);
void update_write_time_handler(struct event_context *ctx,
void update_write_time_handler(struct tevent_context *ctx,
struct timed_event *te,
struct timeval now,
void *private_data);
@ -534,7 +534,7 @@ void notify_fname(connection_struct *conn, uint32 action, uint32 filter,
const char *path);
char *notify_filter_string(TALLOC_CTX *mem_ctx, uint32 filter);
struct sys_notify_context *sys_notify_context_create(TALLOC_CTX *mem_ctx,
struct event_context *ev);
struct tevent_context *ev);
/* The following definitions come from smbd/notify_inotify.c */
@ -552,7 +552,7 @@ NTSTATUS inotify_watch(struct sys_notify_context *ctx,
struct notify_context *notify_init(TALLOC_CTX *mem_ctx,
struct messaging_context *messaging_ctx,
struct event_context *ev);
struct tevent_context *ev);
NTSTATUS notify_add(struct notify_context *notify,
const char *path, uint32_t filter, uint32_t subdir_filter,
void (*callback)(void *, const struct notify_event *),

View File

@ -80,7 +80,7 @@ struct smbd_child_pid {
extern void start_epmd(struct tevent_context *ev_ctx,
struct messaging_context *msg_ctx);
extern void start_lsasd(struct event_context *ev_ctx,
extern void start_lsasd(struct tevent_context *ev_ctx,
struct messaging_context *msg_ctx);
#ifdef WITH_DFS
@ -394,7 +394,7 @@ static void add_child_pid(struct smbd_parent_context *parent,
network outage).
*/
static void cleanup_timeout_fn(struct event_context *event_ctx,
static void cleanup_timeout_fn(struct tevent_context *event_ctx,
struct timed_event *te,
struct timeval now,
void *private_data)

View File

@ -1343,7 +1343,7 @@ bool schedule_deferred_open_message_smb2(
Re-process this call.
*********************************************************/
static void smb2_deferred_open_timer(struct event_context *ev,
static void smb2_deferred_open_timer(struct tevent_context *ev,
struct timed_event *te,
struct timeval _tval,
void *private_data)