From bdd36ae2d624bebab7fb6f071738ca7a154fa916 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 28 Dec 2016 21:03:06 -0800 Subject: Start of REQ protocol. Still need hook handling and resender. --- src/core/socket.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/core/socket.h') 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 -- cgit v1.2.3-70-g09d2