NetworkManager/src/libnm-client-aux-extern
Íñigo Huguet 5a65170b49 libnmc: fix bug checking VersionInfo's capabilities
Remove the `+ 31u` that was making that it would search for bit 1 at
array's element 1, instead of element 0. Fixed comparison >len that
shoudl be >=len. Fix a few typos.

Fixes: bc6098d441 ('libnm: add internal nmc_client_has_{version_info_v,version_info_capability,capability}() helper')
2024-12-11 15:52:09 +00:00
..
tests format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
meson.build build/meson: cleanup libnm-client-aux-extern 2021-02-28 18:56:08 +01:00
nm-default-client.h build: move "libnm/" to "src/" and split it 2021-02-24 12:48:37 +01:00
nm-libnm-aux.c libnmc: fix bug checking VersionInfo's capabilities 2024-12-11 15:52:09 +00:00
nm-libnm-aux.h libnm: add internal nmc_client_has_{version_info_v,version_info_capability,capability}() helper 2022-12-14 17:33:56 +01:00
README.md all: add some README.md files describing the purpose of our sources 2021-08-19 17:51:11 +02:00

libnm-client-aux-extern

libnm-client-aux-extern is a static library that:

  • uses the public parts of "libnm"
  • that can also be statically linked into other users of libnm.

Basically, it is a static library with utility functions that extends libnm.

That means:

  • you can use it everywhere where you dynamically link with libnm.

Also, since libnm-client-aux-extern itself only uses public (stable) API of libnm, you theoretically can copy the sources into your own source tree.

This makes it very similar in purpose to ../libnmc-base/. The difference might be that this one is smaller and that you could easier copy+paste this to a libnm application outside this source tree.