NJS: supported loadable modules.
This commit is contained in:
@@ -21,6 +21,8 @@ struct nxt_port_handlers_s {
|
||||
nxt_port_handler_t conf_store;
|
||||
nxt_port_handler_t cert_get;
|
||||
nxt_port_handler_t cert_delete;
|
||||
nxt_port_handler_t script_get;
|
||||
nxt_port_handler_t script_delete;
|
||||
nxt_port_handler_t access_log;
|
||||
|
||||
/* File descriptor exchange. */
|
||||
@@ -87,6 +89,8 @@ typedef enum {
|
||||
_NXT_PORT_MSG_CONF_STORE = nxt_port_handler_idx(conf_store),
|
||||
_NXT_PORT_MSG_CERT_GET = nxt_port_handler_idx(cert_get),
|
||||
_NXT_PORT_MSG_CERT_DELETE = nxt_port_handler_idx(cert_delete),
|
||||
_NXT_PORT_MSG_SCRIPT_GET = nxt_port_handler_idx(script_get),
|
||||
_NXT_PORT_MSG_SCRIPT_DELETE = nxt_port_handler_idx(script_delete),
|
||||
_NXT_PORT_MSG_ACCESS_LOG = nxt_port_handler_idx(access_log),
|
||||
|
||||
_NXT_PORT_MSG_CHANGE_FILE = nxt_port_handler_idx(change_file),
|
||||
@@ -129,6 +133,8 @@ typedef enum {
|
||||
NXT_PORT_MSG_CONF_STORE = nxt_msg_last(_NXT_PORT_MSG_CONF_STORE),
|
||||
NXT_PORT_MSG_CERT_GET = nxt_msg_last(_NXT_PORT_MSG_CERT_GET),
|
||||
NXT_PORT_MSG_CERT_DELETE = nxt_msg_last(_NXT_PORT_MSG_CERT_DELETE),
|
||||
NXT_PORT_MSG_SCRIPT_GET = nxt_msg_last(_NXT_PORT_MSG_SCRIPT_GET),
|
||||
NXT_PORT_MSG_SCRIPT_DELETE = nxt_msg_last(_NXT_PORT_MSG_SCRIPT_DELETE),
|
||||
NXT_PORT_MSG_ACCESS_LOG = nxt_msg_last(_NXT_PORT_MSG_ACCESS_LOG),
|
||||
NXT_PORT_MSG_CHANGE_FILE = nxt_msg_last(_NXT_PORT_MSG_CHANGE_FILE),
|
||||
NXT_PORT_MSG_NEW_PORT = nxt_msg_last(_NXT_PORT_MSG_NEW_PORT),
|
||||
|
||||
Reference in New Issue
Block a user