OpenDNSSEC-signer 1.2.1
|
#include "config.h"
#include "scheduler/locks.h"
#include <sys/un.h>
Go to the source code of this file.
Data Structures | |
struct | cmdhandler_struct |
Defines | |
#define | ODS_SE_MAX_HANDLERS 5 |
Typedefs | |
typedef struct cmdhandler_struct | cmdhandler_type |
Functions | |
cmdhandler_type * | cmdhandler_create (const char *filename) |
void | cmdhandler_start (cmdhandler_type *cmdhandler) |
void | cmdhandler_cleanup (cmdhandler_type *cmdhandler) |
#define ODS_SE_MAX_HANDLERS 5 |
Command handler.
Definition at line 42 of file cmdhandler.h.
Referenced by cmdhandler_create(), and cmdhandler_start().
typedef struct cmdhandler_struct cmdhandler_type |
Definition at line 47 of file cmdhandler.h.
void cmdhandler_cleanup | ( | cmdhandler_type * | cmdhandler | ) |
Clean up command handler.
[in] | cmdhandler_type* | clean up this command handler |
Clean up command handler.
Definition at line 862 of file cmdhandler.c.
References se_free(), and se_log_warning().
Referenced by cmdhandler_start().
cmdhandler_type* cmdhandler_create | ( | const char * | filename | ) |
Create command handler.
[in] | filename | socket file name |
Create command handler.
Definition at line 723 of file cmdhandler.c.
References cmdhandler_struct::listen_addr, cmdhandler_struct::listen_fd, cmdhandler_struct::need_to_exit, ODS_SE_MAX_HANDLERS, se_log_debug(), se_log_error(), se_malloc(), and SUN_LEN.
void cmdhandler_start | ( | cmdhandler_type * | cmdhandler | ) |
Start command handler.
[in] | cmdhandler_type* | command handler |
Start command handler.
Definition at line 797 of file cmdhandler.c.
References cmdhandler_struct::client_fd, cmdhandler_cleanup(), engine_struct::cmdhandler_done, cmdhandler_struct::engine, cmdhandler_struct::listen_addr, cmdhandler_struct::listen_fd, cmdhandler_struct::need_to_exit, ODS_SE_MAX_HANDLERS, se_log_assert, se_log_debug(), se_log_warning(), se_malloc(), se_thread_create, se_thread_detach, and cmdhandler_struct::thread_id.