diff options
| author | Garrett D'Amore <garrett@damore.org> | 2016-12-28 21:03:06 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2016-12-28 21:03:06 -0800 |
| commit | bdd36ae2d624bebab7fb6f071738ca7a154fa916 (patch) | |
| tree | e765a3224eee6f19cc6b279729a4fdd8a425bffd /src/core/socket.h | |
| parent | 123e1439a284716c651eca037b95ba997e6c30db (diff) | |
| download | nng-bdd36ae2d624bebab7fb6f071738ca7a154fa916.tar.gz nng-bdd36ae2d624bebab7fb6f071738ca7a154fa916.tar.bz2 nng-bdd36ae2d624bebab7fb6f071738ca7a154fa916.zip | |
Start of REQ protocol. Still need hook handling and resender.
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 |
