diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-03-13 21:15:40 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-03-13 21:15:40 -0700 |
| commit | 7092fa31f447d1750dc560cea49052b3e4f57620 (patch) | |
| tree | 91c3db0254defa7d4756065b8d25963a7e5a3ae0 /docs/man/nng_dialer_setopt.adoc | |
| parent | e51a97112ff7744aff81764e63e07db0c1fb68a2 (diff) | |
| download | nng-7092fa31f447d1750dc560cea49052b3e4f57620.tar.gz nng-7092fa31f447d1750dc560cea49052b3e4f57620.tar.bz2 nng-7092fa31f447d1750dc560cea49052b3e4f57620.zip | |
Introduce nng_options, nng_setopt, nng_getopt manual pages.
This starts a new section 5 for generic topics, and sets up some links
for things like nng_duration and nng_socket types. There will some day
be an nng_errors(5) page as well.
Some initial work towards indexing terms for these pages is done now too.
(Indexing will mostly be useful when generating book forms of this
documentation.)
Diffstat (limited to 'docs/man/nng_dialer_setopt.adoc')
| -rw-r--r-- | docs/man/nng_dialer_setopt.adoc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/man/nng_dialer_setopt.adoc b/docs/man/nng_dialer_setopt.adoc index 8bd6a04b..d6a94714 100644 --- a/docs/man/nng_dialer_setopt.adoc +++ b/docs/man/nng_dialer_setopt.adoc @@ -21,11 +21,17 @@ nng_dialer_setopt - set dialer option int nng_dialer_setopt(nng_dialer d, const char *opt, const void *val, size_t valsz); + int nng_dialer_setopt_int(nng_dialer d, const char *opt, int ival); + int nng_dialer_setopt_ms(nng_dialer d, const char *opt, nng_duration dur); + int nng_dialer_setopt_ptr(nng_dialer d, const char *opt, void *ptr); + int nng_dialer_setopt_size(nng_dialer d, const char *opt, size_t z); + int nng_dialer_setopt_string(nng_dialer d, const char *opt, const char *str); + int nng_dialer_setopt_uint64(nng_dialer d, const char *opt, uint64_t u64); ----------- |
