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_aio.c | |
parent | 1a26b67ee395ab49eb57a3773ec889f4ebbccb08 (diff) | |
download | samba-e928d863e2bb654d16ac9094e3406ef6a207c023.tar.gz samba-e928d863e2bb654d16ac9094e3406ef6a207c023.tar.bz2 samba-e928d863e2bb654d16ac9094e3406ef6a207c023.zip |
tevent: move some common tevent_fd related functions into tevent_fd.c
metze
Diffstat (limited to 'lib/tevent/tevent_aio.c')
-rw-r--r-- | lib/tevent/tevent_aio.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/tevent/tevent_aio.c b/lib/tevent/tevent_aio.c index ba798cc799..bfe3f070db 100644 --- a/lib/tevent/tevent_aio.c +++ b/lib/tevent/tevent_aio.c @@ -447,15 +447,6 @@ static struct tevent_fd *aio_event_add_fd(struct tevent_context *ev, TALLOC_CTX return fde; } - -/* - return the fd event flags -*/ -static uint16_t aio_event_get_fd_flags(struct tevent_fd *fde) -{ - return fde->flags; -} - /* set the fd event flags */ @@ -560,7 +551,7 @@ static const struct tevent_ops aio_event_ops = { .context_init = aio_event_context_init, .add_fd = aio_event_add_fd, .add_aio = aio_event_add_aio, - .get_fd_flags = aio_event_get_fd_flags, + .get_fd_flags = tevent_common_fd_get_flags, .set_fd_flags = aio_event_set_fd_flags, .add_timer = tevent_common_add_timer, .add_signal = tevent_common_add_signal, |