diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-03 11:18:14 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-03 19:58:50 +0100 |
commit | e928d863e2bb654d16ac9094e3406ef6a207c023 (patch) | |
tree | 183aacf6343cfa7293ce0d51dadd83ddd74207bc /lib/tevent/tevent_standard.c | |
parent | 1a26b67ee395ab49eb57a3773ec889f4ebbccb08 (diff) | |
download | samba-e928d863e2bb654d16ac9094e3406ef6a207c023.tar.gz |
tevent: move some common tevent_fd related functions into tevent_fd.c
metze
Diffstat (limited to 'lib/tevent/tevent_standard.c')
-rw-r--r-- | lib/tevent/tevent_standard.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/tevent/tevent_standard.c b/lib/tevent/tevent_standard.c index 5769eac5892..3a674152b1a 100644 --- a/lib/tevent/tevent_standard.c +++ b/lib/tevent/tevent_standard.c @@ -440,15 +440,6 @@ static struct tevent_fd *std_event_add_fd(struct tevent_context *ev, TALLOC_CTX return fde; } - -/* - return the fd event flags -*/ -static uint16_t std_event_get_fd_flags(struct tevent_fd *fde) -{ - return fde->flags; -} - /* set the fd event flags */ @@ -593,7 +584,7 @@ static int std_event_loop_wait(struct tevent_context *ev) static const struct tevent_ops std_event_ops = { .context_init = std_event_context_init, .add_fd = std_event_add_fd, - .get_fd_flags = std_event_get_fd_flags, + .get_fd_flags = tevent_common_fd_get_flags, .set_fd_flags = std_event_set_fd_flags, .add_timer = tevent_common_add_timer, .add_signal = tevent_common_add_signal, |