OpenDNSSEC-signer
1.4.3
|
Go to the source code of this file.
Data Structures | |
struct | cmdhandler_struct |
Macros | |
#define | ODS_SE_MAX_HANDLERS 5 |
Typedefs | |
typedef struct cmdhandler_struct | cmdhandler_type |
Functions | |
cmdhandler_type * | cmdhandler_create (allocator_type *allocator, const char *filename) |
void | cmdhandler_start (cmdhandler_type *cmdhandler) |
void | cmdhandler_cleanup (cmdhandler_type *cmdhandler) |
#define ODS_SE_MAX_HANDLERS 5 |
typedef struct cmdhandler_struct cmdhandler_type |
Definition at line 45 of file cmdhandler.h.
void cmdhandler_cleanup | ( | cmdhandler_type * | cmdhandler | ) |
Cleanup command handler.
[in] | cmdhandler_type* | command handler |
Cleanup command handler.
Definition at line 972 of file cmdhandler.c.
References cmdhandler_struct::allocator, and allocator_deallocate().
Referenced by engine_cleanup().
cmdhandler_type* cmdhandler_create | ( | allocator_type * | allocator, |
const char * | filename | ||
) |
Create command handler.
[in] | allocator | memory allocator |
[in] | filename | socket file name |
Create command handler.
Definition at line 823 of file cmdhandler.c.
References cmdhandler_struct::allocator, allocator_alloc(), cmdhandler_struct::listen_addr, cmdhandler_struct::listen_fd, cmdhandler_struct::need_to_exit, ods_log_debug(), ods_log_error(), ODS_SE_MAX_HANDLERS, and SUN_LEN.
void cmdhandler_start | ( | cmdhandler_type * | cmdhandler | ) |
Start command handler.
[in] | cmdhandler_type* | command handler |
Start command handler.
Definition at line 905 of file cmdhandler.c.
References cmdhandler_struct::client_fd, engine_struct::cmdhandler_done, cmdhandler_struct::engine, cmdhandler_struct::listen_addr, cmdhandler_struct::listen_fd, cmdhandler_struct::need_to_exit, ods_log_assert, ods_log_crit(), ods_log_debug(), ods_log_warning(), ods_thread_create, ods_thread_detach, and cmdhandler_struct::thread_id.