aboutsummaryrefslogtreecommitdiff
path: root/docs/ref/api/ctx.md
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-01 23:53:54 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-01 23:54:07 -0800
commitc0b1557c7931b63435f9d340f5a290556a3cc59c (patch)
treedfca6e97f013853fe3831c7f50e38fa3a4a95af2 /docs/ref/api/ctx.md
parent61c886e86de03f89e0c6c1769171576482bf4245 (diff)
downloadnng-c0b1557c7931b63435f9d340f5a290556a3cc59c.tar.gz
nng-c0b1557c7931b63435f9d340f5a290556a3cc59c.tar.bz2
nng-c0b1557c7931b63435f9d340f5a290556a3cc59c.zip
api: remove unused _uint64 options accessors for contexts and sockets
Also, clarification and add socket option docs for MAXRECVSZ, RECONNMINT, RECONNMAXT
Diffstat (limited to 'docs/ref/api/ctx.md')
-rw-r--r--docs/ref/api/ctx.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/ref/api/ctx.md b/docs/ref/api/ctx.md
index 43d79621..f1157def 100644
--- a/docs/ref/api/ctx.md
+++ b/docs/ref/api/ctx.md
@@ -171,13 +171,11 @@ int nng_ctx_get_bool(nng_ctx ctx, const char *opt, bool *valp);
int nng_ctx_get_int(nng_ctx ctx, const char *opt, int *valp);
int nng_ctx_get_ms(nng_ctx ctx, const char *opt, nng_duration *valp);
int nng_ctx_get_size(nng_ctx ctx, const char *opt, size_t *valp);
-int nng_ctx_get_uint64(nng_ctx ctx, const char *opt, uint64_t *valp);
int nng_ctx_set_bool(nng_ctx ctx, const char *opt, int val);
int nng_ctx_set_int(nng_ctx ctx, const char *opt, int val);
int nng_ctx_set_ms(nng_ctx ctx, const char *opt, nng_duration val);
int nng_ctx_set_size(nng_ctx ctx, const char *opt, size_t val);
-int nng_ctx_set_uint64(nng_ctx ctx, const char *opt, uint64_t val);
```
Some protocols support certain options that affect the behavior of a specific context.
@@ -189,7 +187,7 @@ The `nng_ctx_get_` functions retrieve the value from _ctx_, and store it in the
The `nng_ctx_set_` functions change the value for the _ctx_, taking it from _val_.
These functions access an option as a specific type. The protocol documentation will have details about which options
-are available for contexts, whether they can be read or written, and which type they may be accessed using.
+are available for contexts, whether they can be read or written, and the appropriate type to use.
## Examples