OpenDNSSEC-signer  2.0.4
Data Structures | Macros | Typedefs | Functions
cmdhandler.h File Reference
#include "config.h"
#include <sys/un.h>
#include "status.h"
#include "locks.h"
#include "engine.h"

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_typecmdhandler_create (const char *filename)
 
void cmdhandler_start (cmdhandler_type *cmdhandler)
 
void cmdhandler_cleanup (cmdhandler_type *cmdhandler)
 

Macro Definition Documentation

◆ ODS_SE_MAX_HANDLERS

#define ODS_SE_MAX_HANDLERS   5

Definition at line 45 of file cmdhandler.h.

Typedef Documentation

◆ cmdhandler_type

Command handler.

Definition at line 38 of file cmdhandler.h.

Function Documentation

◆ cmdhandler_cleanup()

void cmdhandler_cleanup ( cmdhandler_type cmdhandler)

Cleanup command handler.

Parameters
[in]cmdhandler_type*command handler

Cleanup command handler.

Definition at line 995 of file cmdhandler.c.

Referenced by engine_cleanup().

◆ cmdhandler_create()

cmdhandler_type* cmdhandler_create ( const char *  filename)

Create command handler.

Parameters
[in]allocatormemory allocator
[in]filenamesocket file name
Returns
cmdhandler_type* created command handler

Create command handler.

Definition at line 856 of file cmdhandler.c.

◆ cmdhandler_start()

void cmdhandler_start ( cmdhandler_type cmdhandler)

Start command handler.

Parameters
[in]cmdhandler_type*command handler

Start command handler.

Definition at line 929 of file cmdhandler.c.

References cmdhandler_struct::engine.