#include "dhcpd.h"
#include <omapip/omapip_p.h>
#include <sys/time.h>
Go to the source code of this file.
|
| OMAPI_OBJECT_ALLOC (omapi_io, omapi_io_object_t, omapi_type_io_object) |
|
void | unregister_eventhandler (struct eventqueue **queue, void(*handler)(void *)) |
|
void | trigger_event (struct eventqueue **queue) |
|
int | omapi_iscsock_cb (isc_task_t *task, isc_socket_t *socket, void *cbarg, int flags) |
|
isc_result_t | omapi_register_io_object (omapi_object_t *h, int(*readfd)(omapi_object_t *), int(*writefd)(omapi_object_t *), isc_result_t(*reader)(omapi_object_t *), isc_result_t(*writer)(omapi_object_t *), isc_result_t(*reaper)(omapi_object_t *)) |
|
isc_result_t | omapi_reregister_io_object (omapi_object_t *h, int(*readfd)(omapi_object_t *), int(*writefd)(omapi_object_t *), isc_result_t(*reader)(omapi_object_t *), isc_result_t(*writer)(omapi_object_t *), isc_result_t(*reaper)(omapi_object_t *)) |
|
isc_result_t | omapi_unregister_io_object (omapi_object_t *h) |
|
isc_result_t | omapi_dispatch (struct timeval *t) |
|
isc_result_t | omapi_wait_for_completion (omapi_object_t *object, struct timeval *t) |
|
isc_result_t | omapi_one_dispatch (omapi_object_t *wo, struct timeval *t) |
|
isc_result_t | omapi_io_set_value (omapi_object_t *h, omapi_object_t *id, omapi_data_string_t *name, omapi_typed_data_t *value) |
|
isc_result_t | omapi_io_get_value (omapi_object_t *h, omapi_object_t *id, omapi_data_string_t *name, omapi_value_t **value) |
|
isc_result_t | omapi_io_destroy (omapi_object_t *h, const char *file, int line) |
|
isc_result_t | omapi_io_signal_handler (omapi_object_t *h, const char *name, va_list ap) |
|
isc_result_t | omapi_io_stuff_values (omapi_object_t *c, omapi_object_t *id, omapi_object_t *i) |
|
isc_result_t | omapi_waiter_signal_handler (omapi_object_t *h, const char *name, va_list ap) |
|
isc_result_t | omapi_io_state_foreach (isc_result_t(*func)(omapi_object_t *, void *), void *p) |
| calls a given function on every object
|
|
◆ SOCKDELETE
◆ omapi_dispatch()
isc_result_t omapi_dispatch |
( |
struct timeval * | t | ) |
|
◆ omapi_io_destroy()
◆ omapi_io_get_value()
◆ omapi_io_set_value()
◆ omapi_io_signal_handler()
isc_result_t omapi_io_signal_handler |
( |
omapi_object_t * | h, |
|
|
const char * | name, |
|
|
va_list | ap ) |
◆ omapi_io_state_foreach()
isc_result_t omapi_io_state_foreach |
( |
isc_result_t(* | func )(omapi_object_t *, void *), |
|
|
void * | p ) |
calls a given function on every object
- Parameters
-
func | function to be called |
p | parameter to be passed to each function instance |
- Returns
- result (ISC_R_SUCCESS if successful, error code otherwise)
Definition at line 967 of file dispatch.c.
◆ omapi_io_stuff_values()
◆ omapi_iscsock_cb()
int omapi_iscsock_cb |
( |
isc_task_t * | task, |
|
|
isc_socket_t * | socket, |
|
|
void * | cbarg, |
|
|
int | flags ) |
◆ OMAPI_OBJECT_ALLOC()
◆ omapi_one_dispatch()
isc_result_t omapi_one_dispatch |
( |
omapi_object_t * | wo, |
|
|
struct timeval * | t ) |
◆ omapi_register_io_object()
◆ omapi_reregister_io_object()
◆ omapi_unregister_io_object()
◆ omapi_wait_for_completion()
isc_result_t omapi_wait_for_completion |
( |
omapi_object_t * | object, |
|
|
struct timeval * | t ) |
◆ omapi_waiter_signal_handler()
isc_result_t omapi_waiter_signal_handler |
( |
omapi_object_t * | h, |
|
|
const char * | name, |
|
|
va_list | ap ) |
◆ trigger_event()
◆ unregister_eventhandler()
void unregister_eventhandler |
( |
struct eventqueue ** | queue, |
|
|
void(* | handler )(void *) ) |
◆ cur_tv
◆ rw_queue_empty