#include "dhcpd.h"
#include <omapip/omapip_p.h>
#include <sys/time.h>
Go to the source code of this file.
Defines | |
#define | SOCKDELETE 1 |
Functions | |
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 | |
Variables | |
struct timeval | cur_tv |
struct eventqueue * | rw_queue_empty |
#define SOCKDELETE 1 |
Definition at line 118 of file dispatch.c.
isc_result_t omapi_dispatch | ( | struct timeval * | t | ) |
Definition at line 415 of file dispatch.c.
isc_result_t omapi_io_destroy | ( | omapi_object_t * | h, | |
const char * | file, | |||
int | line | |||
) |
Definition at line 806 of file dispatch.c.
isc_result_t omapi_io_get_value | ( | omapi_object_t * | h, | |
omapi_object_t * | id, | |||
omapi_data_string_t * | name, | |||
omapi_value_t ** | value | |||
) |
Definition at line 784 of file dispatch.c.
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 | |||
) |
Definition at line 770 of file dispatch.c.
isc_result_t omapi_io_signal_handler | ( | omapi_object_t * | h, | |
const char * | name, | |||
va_list | ap | |||
) |
Definition at line 838 of file dispatch.c.
isc_result_t omapi_io_state_foreach | ( | isc_result_t(*)(omapi_object_t *, void *) | func, | |
void * | p | |||
) |
calls a given function on every object
func | function to be called | |
p | parameter to be passed to each function instance |
Definition at line 905 of file dispatch.c.
isc_result_t omapi_io_stuff_values | ( | omapi_object_t * | c, | |
omapi_object_t * | id, | |||
omapi_object_t * | i | |||
) |
Definition at line 850 of file dispatch.c.
Definition at line 120 of file dispatch.c.
OMAPI_OBJECT_ALLOC | ( | omapi_io | , | |
omapi_io_object_t | , | |||
omapi_type_io_object | ||||
) |
Definition at line 39 of file dispatch.c.
isc_result_t omapi_one_dispatch | ( | omapi_object_t * | wo, | |
struct timeval * | t | |||
) |
Definition at line 480 of file dispatch.c.
isc_result_t omapi_register_io_object | ( | omapi_object_t * | h, | |
int(*)(omapi_object_t *) | readfd, | |||
int(*)(omapi_object_t *) | writefd, | |||
isc_result_t(*)(omapi_object_t *) | reader, | |||
isc_result_t(*)(omapi_object_t *) | writer, | |||
isc_result_t(*)(omapi_object_t *) | reaper | |||
) |
Definition at line 199 of file dispatch.c.
isc_result_t omapi_reregister_io_object | ( | omapi_object_t * | h, | |
int(*)(omapi_object_t *) | readfd, | |||
int(*)(omapi_object_t *) | writefd, | |||
isc_result_t(*)(omapi_object_t *) | reader, | |||
isc_result_t(*)(omapi_object_t *) | writer, | |||
isc_result_t(*)(omapi_object_t *) | reaper | |||
) |
Definition at line 306 of file dispatch.c.
isc_result_t omapi_unregister_io_object | ( | omapi_object_t * | h | ) |
Definition at line 356 of file dispatch.c.
isc_result_t omapi_wait_for_completion | ( | omapi_object_t * | object, | |
struct timeval * | t | |||
) |
Definition at line 421 of file dispatch.c.
isc_result_t omapi_waiter_signal_handler | ( | omapi_object_t * | h, | |
const char * | name, | |||
va_list | ap | |||
) |
Definition at line 863 of file dispatch.c.
void trigger_event | ( | struct eventqueue ** | queue | ) |
Definition at line 91 of file dispatch.c.
void unregister_eventhandler | ( | struct eventqueue ** | queue, | |
void(*)(void *) | handler | |||
) |
Definition at line 70 of file dispatch.c.
struct timeval cur_tv |
Definition at line 35 of file dispatch.c.
struct eventqueue* rw_queue_empty |
Definition at line 37 of file dispatch.c.