control.c File Reference

#include <config.h>
#include <isc/app.h>
#include <isc/event.h>
#include <isc/mem.h>
#include <isc/string.h>
#include <isc/timer.h>
#include <isc/util.h>
#include <dns/result.h>
#include <isccc/alist.h>
#include <isccc/cc.h>
#include <isccc/result.h>
#include <named/control.h>
#include <named/log.h>
#include <named/os.h>
#include <named/server.h>

Go to the source code of this file.

Functions

static isc_boolean_t command_compare (const char *text, const char *command)
isc_result_t ns_control_docommand (isccc_sexpr_t *message, isc_buffer_t **text)
 This function is called to process the incoming command when a control channel message is received.


Detailed Description

Definition in file control.c.


Function Documentation

static isc_boolean_t command_compare ( const char *  text,
const char *  command 
) [static]

Definition at line 47 of file control.c.

References ISC_FALSE, and ISC_TRUE.

Referenced by ns_control_docommand().

isc_result_t ns_control_docommand ( isccc_sexpr_t message,
isc_buffer_t **  text 
)

This function is called to process the incoming command when a control channel message is received.

Definition at line 62 of file control.c.

References command, command_compare(), DNS_R_UNKNOWNCOMMAND, isc_app_shutdown(), ISC_FALSE, ISC_LOG_DEBUG, ISC_LOG_INFO, isc_log_setdebuglevel(), ISC_LOG_WARNING, isc_log_write(), ISC_R_FAILURE, ISC_R_SUCCESS, isc_timermgr_poke(), ISC_TRUE, isccc_alist_lookup(), isccc_cc_lookupstring(), NS_COMMAND_ADDZONE, NS_COMMAND_DELZONE, NS_COMMAND_DUMPDB, NS_COMMAND_DUMPSTATS, NS_COMMAND_FLUSH, NS_COMMAND_FLUSHNAME, NS_COMMAND_FLUSHTREE, NS_COMMAND_FREEZE, NS_COMMAND_HALT, NS_COMMAND_LOADKEYS, NS_COMMAND_MKEYS, NS_COMMAND_MODZONE, NS_COMMAND_NOTIFY, NS_COMMAND_NOTRACE, NS_COMMAND_NTA, NS_COMMAND_NULL, NS_COMMAND_QUERYLOG, NS_COMMAND_RECONFIG, NS_COMMAND_RECURSING, NS_COMMAND_REFRESH, NS_COMMAND_RELOAD, NS_COMMAND_RETRANSFER, NS_COMMAND_SCAN, NS_COMMAND_SECROOTS, NS_COMMAND_SHOWZONE, NS_COMMAND_SIGN, NS_COMMAND_SIGNING, NS_COMMAND_STATUS, NS_COMMAND_STOP, NS_COMMAND_SYNC, NS_COMMAND_TESTGEN, NS_COMMAND_THAW, NS_COMMAND_TIMERPOKE, NS_COMMAND_TRACE, NS_COMMAND_TSIGDELETE, NS_COMMAND_TSIGLIST, NS_COMMAND_UNFREEZE, NS_COMMAND_VALIDATION, NS_COMMAND_ZONESTATUS, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_CONTROL, ns_os_shutdownmsg(), ns_server_changezone(), ns_server_delzone(), ns_server_dumpdb(), ns_server_dumprecursing(), ns_server_dumpsecroots(), ns_server_dumpstats(), ns_server_flushcache(), ns_server_flushnode(), ns_server_flushonshutdown(), ns_server_freeze(), ns_server_mkeys(), ns_server_notifycommand(), ns_server_nta(), ns_server_reconfigcommand(), ns_server_refreshcommand(), ns_server_rekey(), ns_server_reloadcommand(), ns_server_retransfercommand(), ns_server_scan_interfaces(), ns_server_setdebuglevel(), ns_server_showzone(), ns_server_signing(), ns_server_status(), ns_server_sync(), ns_server_testgen(), ns_server_togglequerylog(), ns_server_tsigdelete(), ns_server_tsiglist(), ns_server_validation(), ns_server_zonestatus(), and ns_smf_add_message().

Referenced by control_recvmessage().


Generated on Tue Apr 28 17:41:06 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha