* Internal NETCONF (client <-> backend)
* Ensure message-id increments
* Separated rpc from notification socket in same session
* Removed coverage icon from homepage since it stopped working some time ago
* Removed obsolete option: `CLICON_MODULE_LIBRARY_RFC7895'
* Obsolete config options given in the confi file are considered an error
* Added section in CONTRIBUTING relating to optimzation
* Changed reset merge to implicit default values.
* This avoids a potential overwriting of explicitly set default values in the existing config
* Adapted some code to [Make cligen_* functions const ](https://github.com/clicon/cligen/pull/83)
* Test: fixed test for * Fixed: [datamodel tree generated from basemodel tree is not proper when a list has more than one key and key is of enum type](https://github.com/clicon/clixon/issues/417)
Natvie build with GCC 11.3 generates the following warning. The patch
is silly and the code path should never be reached, but it silences the
compiler.
restconf_main_native.c:572:9: warning: ‘addr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This is used everywhere else so looks loke a simple omission. Needed
when cross-compiling (or packaging) Clixon.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Both util/clixon_util_stream.c and lib/src/clixon_stream.c depend on
libcurl. The latter has `#ifdef CLIXON_PUBLISH_STREAMS` but the former
does not. So `make util` fails without `--enable-publish` if libcurl
is not installed.
To preserve the original behavior (libcurl is an implicit dependency),
this patch adds a `--without-libcurl` option to indicate this default.
The check for libcurl and curl/curl.h is factored out as a separate
check before checking for `--enable-publish`. If the two build options
are in conflict we exit with a clear error code.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This patch replaces the hard-coded `-I /usr/include/libxml2` used when
building clixon_util_regexp with the output from `xml2-config --cflags`.
To support cross-compiling, and preserve backwards compatibility with
the `--with-libxml2` option, we allow the user to pass the path to the
xml2-config tool as an optional argument. Similar to what python-lxml,
and other packages, that rely on libxml2 do. The argument is optional
to ensure that we default to use the hard-coded path from before.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>