NetworkManager/src/libnmc-base
Thomas Haller e7acc59e84
glib-aux: drop nm_str_buf_init() for NM_STR_BUF_INIT()
NM_STR_BUF_INIT() and nm_str_buf_init() were pretty much redundant. Drop one of
them.

Usually our pattern is that we don't have functions that return structs.
But NM_STR_BUF_INIT() returns a struct, because it's convenient to use
with

  nm_auto_str_buf NMStrBuf strbuf = NM_STR_BUF_INIT(...);

So use that variant instead.

(cherry picked from commit 532f3e34a8)
(cherry picked from commit 90255a8aa8)
2022-09-29 16:40:28 +02:00
..
meson.build build: move "clients/common/" to "src/libnmc-{base,setting}/" 2021-03-02 08:38:25 +01:00
nm-client-utils.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-client-utils.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-polkit-listener.c glib-aux: drop nm_str_buf_init() for NM_STR_BUF_INIT() 2022-09-29 16:40:28 +02:00
nm-polkit-listener.h build: move "clients/common/" to "src/libnmc-{base,setting}/" 2021-03-02 08:38:25 +01:00
nm-secret-agent-simple.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-secret-agent-simple.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-vpn-helpers.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-vpn-helpers.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
qrcodegen.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
qrcodegen.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
README.md all: add some README.md files describing the purpose of our sources 2021-08-19 17:51:11 +02:00

libnmc-base

A helper library on top of libnm for our clients. The "c" in "libnmc-base" stands for clients.

This has no additional dependencies on top of libnm, so any client application that uses libnm can statically link with this helper at will.

As such, this is very similar in purpose to ../libnm-client-aux-extern, the difference is only in scope.