diff options
| author | Jake Woltersdorf <jake@playruyi.com> | 2019-03-04 12:35:19 +0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2019-04-07 19:13:44 -0700 |
| commit | c3e062661388f70386d6766e3ce648030af340ee (patch) | |
| tree | a6d247bd24a17e3201a75b1a164e75d16e37196c /docs/man/CMakeLists.txt | |
| parent | 989c5e90d48066b12ad44ed903cfc163d8e89b29 (diff) | |
| download | nng-c3e062661388f70386d6766e3ce648030af340ee.tar.gz nng-c3e062661388f70386d6766e3ce648030af340ee.tar.bz2 nng-c3e062661388f70386d6766e3ce648030af340ee.zip | |
fixes #901 shorter option get/set functions for all types
- Renamed internal nng_*_getx/setx methods with "nni" prefix
- Moved stream get/set option definition macros to options.h and added "NNI_" prefix
- "_PTR" variant of get/set option definition macros is for when first arg is passed as pointer (`nng_stream *s` vs `nng_pipe s`)
- New get/set option functions for `nng_socket` are `nng_socket_get_X` eschewing the previous `nng_getopt` pattern
- Macro-fy legacy getopt/setopt and implement in terms of "new" API
- nng_setopt* use "new" shorter API. Add missing uint64 set functions.
- Shorter get/set option functions get own man page and old getopt/setopt link to them
- Built with -DNNG_ENABLE_DOC=ON and part of central libnng index
- Update copyright
Diffstat (limited to 'docs/man/CMakeLists.txt')
| -rw-r--r-- | docs/man/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/man/CMakeLists.txt b/docs/man/CMakeLists.txt index 747e1bad..061528b5 100644 --- a/docs/man/CMakeLists.txt +++ b/docs/man/CMakeLists.txt @@ -84,18 +84,22 @@ if (NNG_ENABLE_DOC) nng_bus_open nng_close nng_ctx_close + nng_ctx_get nng_ctx_getopt nng_ctx_id nng_ctx_open nng_ctx_recv nng_ctx_send + nng_ctx_set nng_ctx_setopt nng_device nng_dial nng_dialer_close nng_dialer_create + nng_dialer_get nng_dialer_getopt nng_dialer_id + nng_dialer_set nng_dialer_setopt nng_dialer_start nng_free @@ -105,8 +109,10 @@ if (NNG_ENABLE_DOC) nng_listen nng_listener_close nng_listener_create + nng_listener_get nng_listener_getopt nng_listener_id + nng_listener_set nng_listener_setopt nng_listener_start nng_msg_alloc @@ -132,6 +138,7 @@ if (NNG_ENABLE_DOC) nng_pair_open nng_pipe_close nng_pipe_dialer + nng_pipe_get nng_pipe_getopt nng_pipe_id nng_pipe_listener @@ -152,6 +159,8 @@ if (NNG_ENABLE_DOC) nng_setopt nng_sleep_aio nng_socket_id + nng_socket_get + nng_socket_set nng_stats_free nng_stats_get nng_stat_child |
