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().
This commit is contained in:
Max Romanov
2017-08-02 13:14:31 +03:00
parent 3812ffd336
commit f2e9afdf42
9 changed files with 369 additions and 0 deletions

View File

@@ -90,6 +90,7 @@ NXT_LIB_SRCS=" \
src/nxt_signal.c \
src/nxt_port_socket.c \
src/nxt_port_memory.c \
src/nxt_port_rpc.c \
src/nxt_port.c \
src/nxt_dyld.c \
src/nxt_random.c \