diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-10-28 15:04:08 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-10-28 15:04:08 -0700 |
| commit | caa0c875339badd5a0da38aee9605a40cb7e9d83 (patch) | |
| tree | 8a544d3c12fb6129603cfe9b8587190427d2750b /include | |
| parent | 1401d2f622e52f0ca4e68fc932ded4f96801989f (diff) | |
| download | nng-caa0c875339badd5a0da38aee9605a40cb7e9d83.tar.gz nng-caa0c875339badd5a0da38aee9605a40cb7e9d83.tar.bz2 nng-caa0c875339badd5a0da38aee9605a40cb7e9d83.zip | |
streams: drop some stream set functions
We don't need nng_stream_set_addr nor nng_stream_set_ptr.
These methods are simply not useful for streams, which have
their properties established at creation time.
Arguably in fact, all of nng_stream_set_* could go away --
the only properties it is implemented for are TCP keepalive and
nodelay tuning, and those should be reasonably set by the
creator of the stream.
Diffstat (limited to 'include')
| -rw-r--r-- | include/nng/nng.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/nng/nng.h b/include/nng/nng.h index 5b1cdaeb..43d293dc 100644 --- a/include/nng/nng.h +++ b/include/nng/nng.h @@ -1159,8 +1159,6 @@ NNG_DECL int nng_stream_set_size(nng_stream *, const char *, size_t); NNG_DECL int nng_stream_set_uint64(nng_stream *, const char *, uint64_t); NNG_DECL int nng_stream_set_string(nng_stream *, const char *, const char *); NNG_DECL int nng_stream_set_ptr(nng_stream *, const char *, void *); -NNG_DECL int nng_stream_set_addr( - nng_stream *, const char *, const nng_sockaddr *); NNG_DECL int nng_stream_dialer_alloc(nng_stream_dialer **, const char *); NNG_DECL int nng_stream_dialer_alloc_url( |
