From f77e5a5ec7f8b1373eeda0ea56f47137daf40330 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 4 Jan 2025 17:57:28 -0800 Subject: args: Convert nng_opts_parse into a header only library using `nng_args_parse`. The API is identical, except that some names have changed, and this is now a header library in `nng/args.h` - so the core library does not need to carry this code in binaries. Being a header library also means it is not necessary to link against NNG, and it does not include any parts of NNG; it only depends on a standard C99 or C11 environment. --- docs/ref/xref.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'docs/ref/xref.md') diff --git a/docs/ref/xref.md b/docs/ref/xref.md index 4345e2ea..85c9f2f6 100644 --- a/docs/ref/xref.md +++ b/docs/ref/xref.md @@ -193,7 +193,7 @@ [`nng_dialer_get_tls`]: /TODO.md [`nng_listener_set_tls`]: /TODO.md [`nng_listener_get_tls`]: /TODO.md -[`nng_opts_parse`]: /api/cmd_opts.md#parse-command-line-options +[`nng_args_parse`]: /api/args.md#parse-command-line-arguments [`nng_aio_finish`]: /TODO.md [`nng_aio_reset`]: /TODO.md [`nng_aio_start`]: /TODO.md @@ -272,8 +272,6 @@ [`NNG_EWRITEONLY`]: /api/errors.md#NNG_EWRITEONLY [`NNG_ECRYPTO`]: /api/errors.md#NNG_ECRYPTO [`NNG_EPEERAUTH`]: /api/errors.md#NNG_EPEERAUTH -[`NNG_ENOARG`]: /api/errors.md#NNG_ENOARG -[`NNG_EAMBIGUOUS`]: /api/errors.md#NNG_EAMBIGUOUS [`NNG_EBADTYPE`]: /api/errors.md#NNG_EBADTYPE [`NNG_ECONNSHUT`]: /api/errors.md#NNG_ECONNSHUT [`NNG_EINTERNAL`]: /api/errors.md#NNG_EINTERNAL -- cgit v1.2.3-70-g09d2