summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/event.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/event.h b/source3/include/event.h
index dc45b76896..c6689d9e91 100644
--- a/source3/include/event.h
+++ b/source3/include/event.h
@@ -36,3 +36,8 @@ struct timeval *get_timed_events_timeout(struct event_context *event_ctx,
void dump_event_list(struct event_context *event_ctx);
struct tevent_context *s3_tevent_context_init(TALLOC_CTX *mem_ctx);
+bool event_add_to_poll_args(struct tevent_context *ev, TALLOC_CTX *mem_ctx,
+ struct pollfd **pfds, int *num_pfds,
+ int *ptimeout);
+bool run_events_poll(struct tevent_context *ev, int pollrtn,
+ struct pollfd *pfds, int num_pfds);