diff options
Diffstat (limited to 'src/core/socket.h')
| -rw-r--r-- | src/core/socket.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/socket.h b/src/core/socket.h index 37a0e5eb..35ddc36c 100644 --- a/src/core/socket.h +++ b/src/core/socket.h @@ -56,4 +56,9 @@ extern int nni_socket_sendmsg(nni_socket *, nni_msg *, nni_time); extern int nni_socket_dial(nni_socket *, const char *, nni_endpt **, int); extern int nni_socket_listen(nni_socket *, const char *, nni_endpt **, int); +extern int nni_setopt_duration(nni_duration *, const void *, size_t); +extern int nni_getopt_duration(nni_duration *, void *, size_t *); +extern int nni_setopt_int(int *, const void *, size_t); +extern int nni_getopt_int(int *, void *, size_t *); + #endif // CORE_SOCKET_H |
