aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/nng/nng.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nng/nng.h b/include/nng/nng.h
index d0e47829..074850c5 100644
--- a/include/nng/nng.h
+++ b/include/nng/nng.h
@@ -270,6 +270,7 @@ NNG_DECL int nng_socket_proto_id(nng_socket id, uint16_t *idp);
NNG_DECL int nng_socket_peer_id(nng_socket id, uint16_t *idp);
NNG_DECL int nng_socket_proto_name(nng_socket id, const char **namep);
NNG_DECL int nng_socket_peer_name(nng_socket id, const char **namep);
+NNG_DECL int nng_socket_raw(nng_socket id, bool *rawp);
// Utility function for getting a printable form of the socket address
// for display in logs, etc. It is not intended to be parsed, and the
@@ -729,7 +730,6 @@ NNG_DECL nng_listener nng_pipe_listener(nng_pipe);
// Options.
#define NNG_OPT_SOCKNAME "socket-name"
-#define NNG_OPT_RAW "raw"
#define NNG_OPT_RECVBUF "recv-buffer"
#define NNG_OPT_SENDBUF "send-buffer"
#define NNG_OPT_RECVTIMEO "recv-timeout"