OpenDNSSEC-signer  1.4.5
Data Structures | Typedefs | Functions
engine.h File Reference
#include "config.h"
#include "daemon/cfg.h"
#include "daemon/cmdhandler.h"
#include "daemon/dnshandler.h"
#include "daemon/xfrhandler.h"
#include "daemon/worker.h"
#include "scheduler/fifoq.h"
#include "scheduler/schedule.h"
#include "shared/allocator.h"
#include "shared/locks.h"
#include "signer/zonelist.h"
#include "wire/edns.h"
#include <signal.h>
Include dependency graph for engine.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  engine_struct

Typedefs

typedef struct engine_struct engine_type

Functions

void engine_start (const char *cfgfile, int cmdline_verbosity, int daemonize, int info, int single_run)
void engine_start_drudgers (engine_type *engine)
void engine_stop_drudgers (engine_type *engine)
void engine_wakeup_workers (engine_type *engine)
void engine_update_zones (engine_type *engine, ods_status zl_changed)
void engine_cleanup (engine_type *engine)

Typedef Documentation

typedef struct engine_struct engine_type

The engine. Engine stuff.

Definition at line 54 of file engine.h.

Function Documentation

void engine_cleanup ( engine_type engine)
void engine_start ( const char *  cfgfile,
int  cmdline_verbosity,
int  daemonize,
int  info,
int  single_run 
)
void engine_start_drudgers ( engine_type engine)
void engine_stop_drudgers ( engine_type engine)
void engine_update_zones ( engine_type engine,
ods_status  zl_changed 
)
void engine_wakeup_workers ( engine_type engine)

Wake up workers.

Parameters
[in]engineengine

Wake up all workers.

Definition at line 454 of file engine.c.

References engine_struct::config, engineconfig_struct::num_worker_threads, ods_log_assert, ods_log_debug(), worker_wakeup(), and engine_struct::workers.

Referenced by engine_update_zones().