summaryrefslogtreecommitdiff
path: root/lib/tevent/tevent_internal.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-13 14:05:41 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-13 16:02:13 +0100
commit1d949fe742f3470010ee032b6b465857cc41d582 (patch)
tree06c49e1521be72c4efcefc4f28f45d90860720bc /lib/tevent/tevent_internal.h
parentf131718c607eba5e94e32ae6c4ce81d65ec98718 (diff)
downloadsamba-1d949fe742f3470010ee032b6b465857cc41d582.tar.gz
samba-1d949fe742f3470010ee032b6b465857cc41d582.tar.bz2
samba-1d949fe742f3470010ee032b6b465857cc41d582.zip
lib/tevent: remove broken tevent_aio support
It makes no sense to support aio events because, the current implementation was based on IOCB_CMD_EPOLL_WAIT which never made it into the main kernel tree. The native linux aio can be used with select/epoll using eventfd(), which means we can implement aio with fd events and implement aio outside of tevent. metze
Diffstat (limited to 'lib/tevent/tevent_internal.h')
-rw-r--r--lib/tevent/tevent_internal.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/tevent/tevent_internal.h b/lib/tevent/tevent_internal.h
index 32be12c8d8..d9759e2ee5 100644
--- a/lib/tevent/tevent_internal.h
+++ b/lib/tevent/tevent_internal.h
@@ -46,14 +46,6 @@ struct tevent_ops {
void *private_data,
const char *handler_name,
const char *location);
- /* disk aio event functions */
- struct tevent_aio *(*add_aio)(struct tevent_context *ev,
- TALLOC_CTX *mem_ctx,
- struct iocb *iocb,
- tevent_aio_handler_t handler,
- void *private_data,
- const char *handler_name,
- const char *location);
/* signal functions */
struct tevent_signal *(*add_signal)(struct tevent_context *ev,
TALLOC_CTX *mem_ctx,
@@ -123,9 +115,6 @@ struct tevent_debug_ops {
void tevent_debug(struct tevent_context *ev, enum tevent_debug_level level,
const char *fmt, ...) PRINTF_ATTRIBUTE(3,4);
-/* aio event is private to the aio backend */
-struct tevent_aio;
-
struct tevent_context {
/* the specific events implementation */
const struct tevent_ops *ops;
@@ -193,6 +182,3 @@ bool tevent_select_init(void);
#ifdef HAVE_EPOLL
bool tevent_epoll_init(void);
#endif
-#ifdef HAVE_LINUX_AIO
-bool tevent_aio_init(void);
-#endif