summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_main.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-08-02 13:14:31 +0300
committerMax Romanov <max.romanov@nginx.com>2017-08-02 13:14:31 +0300
commitf2e9afdf422c1771d3029416c6284a46c4039781 (patch)
treef468d92f7055f53482abab254fd521aecafa6ec3 /src/nxt_main.h
parent3812ffd336414904affc43d29229b04a2d6d8ae6 (diff)
downloadunit-f2e9afdf422c1771d3029416c6284a46c4039781.tar.gz
unit-f2e9afdf422c1771d3029416c6284a46c4039781.tar.bz2
Port RPC interface introduced.
Usage: 1. Register handlers in incoming port with nxt_port_rpc_register_handler(). 2. Use return value as a stream identifier for next nxt_port_socket_write().
Diffstat (limited to 'src/nxt_main.h')
-rw-r--r--src/nxt_main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_main.h b/src/nxt_main.h
index 547a0321..72b243f4 100644
--- a/src/nxt_main.h
+++ b/src/nxt_main.h
@@ -126,6 +126,7 @@ nxt_thread_extern_data(nxt_thread_t, nxt_thread_context);
#include <nxt_port.h>
#include <nxt_port_memory.h>
+#include <nxt_port_rpc.h>
#if (NXT_THREADS)
#include <nxt_thread_pool.h>
#endif