aboutsummaryrefslogtreecommitdiff
path: root/src/nng.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-09-20 12:11:53 -0700
committerGarrett D'Amore <garrett@damore.org>2017-09-22 12:33:50 -0700
commite236dc8141f4d00dc926fbfba7739dabf96ebcdd (patch)
tree3c88190966eac4d888008d5076e7edd1817f64a2 /src/nng.h
parentf04cfd27e2d67b0fc89b079410fc11b55b6d1979 (diff)
downloadnng-e236dc8141f4d00dc926fbfba7739dabf96ebcdd.tar.gz
nng-e236dc8141f4d00dc926fbfba7739dabf96ebcdd.tar.bz2
nng-e236dc8141f4d00dc926fbfba7739dabf96ebcdd.zip
More pipe option handling, pipe API support. Url option.
This fleshes most of the pipe API out, making it available to end user code. It also adds a URL option that is independent of the address options (which would be sockaddrs.) Also, we are now setting the pipe for req/rep. The other protocols need to have the same logic added to set the receive pipe on the message. (Pair is already done.)
Diffstat (limited to 'src/nng.h')
-rw-r--r--src/nng.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nng.h b/src/nng.h
index fde8eabb..492ba091 100644
--- a/src/nng.h
+++ b/src/nng.h
@@ -419,6 +419,7 @@ NNG_DECL const char *nng_opt_recvfd;
NNG_DECL const char *nng_opt_sendfd;
NNG_DECL const char *nng_opt_locaddr;
NNG_DECL const char *nng_opt_remaddr;
+NNG_DECL const char *nng_opt_url;
NNG_DECL const char *nng_opt_req_resendtime;
NNG_DECL const char *nng_opt_sub_subscribe;
NNG_DECL const char *nng_opt_sub_unsubscribe;
@@ -440,6 +441,7 @@ NNG_DECL int nng_optid_recvfd;
NNG_DECL int nng_optid_sendfd;
NNG_DECL int nng_optid_locaddr;
NNG_DECL int nng_optid_remaddr;
+NNG_DECL int nng_optid_url;
// These protocol specific options may not be valid until a socket of
// the given protocol is opened!