From 7092fa31f447d1750dc560cea49052b3e4f57620 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 13 Mar 2018 21:15:40 -0700 Subject: 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.) --- docs/man/nng_dialer_setopt.adoc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/man/nng_dialer_setopt.adoc') 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); ----------- -- cgit v1.2.3-70-g09d2