diff options
| author | Nathan Kent <nate@nkent.net> | 2019-09-25 18:46:38 -0400 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2019-11-03 10:24:47 -0800 |
| commit | 96b7677ddc8e49da045ca770703df065f10db280 (patch) | |
| tree | 1302c0cf0298033bc408b1806a4c2260bb4b74b4 /include | |
| parent | 32d17517b87713e4d584555c35ac48d010243910 (diff) | |
| download | nng-96b7677ddc8e49da045ca770703df065f10db280.tar.gz nng-96b7677ddc8e49da045ca770703df065f10db280.tar.bz2 nng-96b7677ddc8e49da045ca770703df065f10db280.zip | |
Add option for preferring new messages on SUB0
Diffstat (limited to 'include')
| -rw-r--r-- | include/nng/protocol/pubsub0/sub.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/nng/protocol/pubsub0/sub.h b/include/nng/protocol/pubsub0/sub.h index acb5cda3..81f50a80 100644 --- a/include/nng/protocol/pubsub0/sub.h +++ b/include/nng/protocol/pubsub0/sub.h @@ -30,6 +30,8 @@ NNG_DECL int nng_sub0_open_raw(nng_socket *); #define NNG_OPT_SUB_SUBSCRIBE "sub:subscribe" #define NNG_OPT_SUB_UNSUBSCRIBE "sub:unsubscribe" +#define NNG_OPT_SUB_PREFNEW "sub:prefnew" + #ifdef __cplusplus } #endif |
