Expose functions need by backend writers
[ira/wip.git] / lib / tevent / tevent.signatures
1 struct tevent_signal *_tevent_add_signal (struct tevent_context *, TALLOC_CTX *, int, int, tevent_signal_handler_t, void *, const char *, const char *);
2 int _tevent_loop_once (struct tevent_context *, const char *);
3 int _tevent_loop_wait (struct tevent_context *, const char *);
4 void tevent_fd_set_close_fn (struct tevent_fd *, tevent_fd_close_fn_t);
5 void tevent_fd_set_auto_close (struct tevent_fd *);
6 uint16_t tevent_fd_get_flags (struct tevent_fd *);
7 void tevent_fd_set_flags (struct tevent_fd *, uint16_t);
8 _Bool tevent_signal_support (struct tevent_context *);
9 void tevent_set_abort_fn (void (*) (const char *));
10 int tevent_set_debug (struct tevent_context *, void (*) (void *, enum tevent_debug_level, const char *, va_list), void *);
11 int tevent_set_debug_stderr (struct tevent_context *);
12 void tevent_req_set_callback (struct tevent_req *, tevent_req_fn, void *);
13 void *_tevent_req_callback_data (struct tevent_req *);
14 void *_tevent_req_data (struct tevent_req *);
15 void tevent_req_set_print_fn (struct tevent_req *, tevent_req_print_fn);
16 char *tevent_req_default_print (struct tevent_req *, TALLOC_CTX *);
17 char *tevent_req_print (TALLOC_CTX *, struct tevent_req *);
18 struct tevent_req *_tevent_req_create (TALLOC_CTX *, void *, size_t, const char *, const char *);
19 _Bool tevent_req_set_endtime (struct tevent_req *, struct tevent_context *, struct timeval);
20 void _tevent_req_notify_callback (struct tevent_req *, const char *);
21 void _tevent_req_done (struct tevent_req *, const char *);
22 _Bool _tevent_req_error (struct tevent_req *, uint64_t, const char *);
23 _Bool _tevent_req_nomem (const void *, struct tevent_req *, const char *);
24 struct tevent_req *tevent_req_post (struct tevent_req *, struct tevent_context *);
25 _Bool tevent_req_is_in_progress (struct tevent_req *);
26 _Bool tevent_req_poll (struct tevent_req *, struct tevent_context *);
27 _Bool tevent_req_is_error (struct tevent_req *, enum tevent_req_state *, uint64_t *);
28 void tevent_req_received (struct tevent_req *);
29 struct tevent_req *tevent_wakeup_send (TALLOC_CTX *, struct tevent_context *, struct timeval);
30 _Bool tevent_wakeup_recv (struct tevent_req *);
31 int tevent_timeval_compare (const struct timeval *, const struct timeval *);
32 struct timeval tevent_timeval_zero (void);
33 struct timeval tevent_timeval_current (void);
34 struct timeval tevent_timeval_set (uint32_t, uint32_t);
35 struct timeval tevent_timeval_until (const struct timeval *, const struct timeval *);
36 _Bool tevent_timeval_is_zero (const struct timeval *);
37 struct timeval tevent_timeval_add (const struct timeval *, uint32_t, uint32_t);
38 struct timeval tevent_timeval_current_ofs (uint32_t, uint32_t);
39 struct tevent_queue *_tevent_queue_create (TALLOC_CTX *, const char *, const char *);
40 _Bool tevent_queue_add (struct tevent_queue *, struct tevent_context *, struct tevent_req *, tevent_queue_trigger_fn_t, void *);
41 void tevent_queue_start (struct tevent_queue *);
42 void tevent_queue_stop (struct tevent_queue *);
43 size_t tevent_queue_length (struct tevent_queue *);
44 void tevent_loop_allow_nesting (struct tevent_context *);
45 void tevent_loop_set_nesting_hook (struct tevent_context *, tevent_nesting_hook, void *);
46 int _tevent_loop_until (struct tevent_context *, _Bool (*) (void *), void *, const char *);
47 _Bool tevent_register_backend (const char *, const struct tevent_ops *);
48 struct tevent_context *tevent_context_init (TALLOC_CTX *);
49 struct tevent_context *tevent_context_init_byname (TALLOC_CTX *, const char *);
50 const char **tevent_backend_list (TALLOC_CTX *);
51 void tevent_set_default_backend (const char *);
52 struct tevent_fd *_tevent_add_fd (struct tevent_context *, TALLOC_CTX *, int, uint16_t, tevent_fd_handler_t, void *, const char *, const char *);
53 struct tevent_timer *_tevent_add_timer (struct tevent_context *, TALLOC_CTX *, struct timeval, tevent_timer_handler_t, void *, const char *, const char *);
54 struct tevent_immediate *_tevent_create_immediate (TALLOC_CTX *, const char *);
55 void _tevent_schedule_immediate (struct tevent_immediate *, struct tevent_context *, tevent_immediate_handler_t, void *, const char *, const char *);