NetworkManager/src/libnm-core-impl
Beniamino Galvani e17e207b3c libnm-core: fix memory leak in nm_setting_to_string()
Fixes: f957ea2b34 ('core/setting: rework nm_connection_dump()')

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1934
(cherry picked from commit ee5f4402bf)
(cherry picked from commit a9d7554a02)
2024-06-19 14:43:31 +02:00
..
tests nm-setting: implement direct_enum as GObject property of type int 2024-02-21 11:20:52 +01:00
gen-metadata-nm-settings-libnm-core.c libnm/trivial: fix style 2022-11-10 14:41:38 +01:00
gen-metadata-nm-settings-libnm-core.xml.in libnm: add generic.device-handler property 2024-02-21 11:49:11 +01:00
meson.build libnm: remove unused "nm-property-compare.c" 2024-01-04 10:03:00 +01:00
nm-connection-private.h all: reformat code to clang shipped with Fedora 39 2023-12-06 10:37:24 +01:00
nm-connection.c device: support creating generic devices via device-handler 2024-02-21 11:49:19 +01:00
nm-default-libnm-core.h libnm: move nm-errors.h include away from nm-connection.h 2022-11-13 23:36:37 +01:00
nm-errors.c libnm: don't depend nm-crypto on "nm-error.h" 2022-03-29 11:56:03 +02:00
nm-keyfile-utils.c glib-aux: drop nm_str_buf_init() for NM_STR_BUF_INIT() 2022-05-09 19:18:30 +02:00
nm-keyfile.c hsr: drop supervision-address from HSR setting 2023-12-19 13:54:21 +01:00
nm-meta-setting-base-impl.c HSR: add support to HSR/PRP interface 2023-12-05 08:05:56 +01:00
nm-setting-6lowpan.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-8021x.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-adsl.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-bluetooth.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-bond-port.c all: use the new NMSettingConnection port-type property 2024-01-23 08:21:16 +01:00
nm-setting-bond.c libnm: embed private structure in NMSetting and avoid g_type_class_add_private() 2023-10-31 11:29:37 +01:00
nm-setting-bridge-port.c all: use the new NMSettingConnection port-type property 2024-01-23 08:21:16 +01:00
nm-setting-bridge.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-cdma.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-connection.c man: fix missing deprecation message 2024-04-18 15:31:54 +02:00
nm-setting-dcb.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-dummy.c libnm: embed private structure in NMSetting and avoid g_type_class_add_private() 2023-10-31 11:29:37 +01:00
nm-setting-ethtool.c ethtool: introduce EEE support 2023-11-03 15:41:21 +00:00
nm-setting-generic.c libnm: add generic.device-handler property 2024-02-21 11:49:11 +01:00
nm-setting-gsm.c libnm/docs: update comment about "apn.gsm" and empty string 2024-01-23 09:43:28 +01:00
nm-setting-hostname.c libnm: actually export a lot of routines that were supposed to be public 2022-11-08 11:43:00 +01:00
nm-setting-hsr.c libnm: drop some unnecessary direct_string_allow_empty 2024-01-23 09:43:27 +01:00
nm-setting-infiniband.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-ip-config.c nm-setting: implement direct_enum as GObject property of type int 2024-02-21 11:20:52 +01:00
nm-setting-ip-tunnel.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-ip4-config.c libnm: allow configuring static route when address is empty 2024-01-24 09:15:39 -05:00
nm-setting-ip6-config.c nm-setting: implement direct_enum as GObject property of type int 2024-02-21 11:20:52 +01:00
nm-setting-link.c all: add "link" setting 2023-03-02 16:51:16 +01:00
nm-setting-loopback.c all: use the new NMSettingConnection port-type property 2024-01-23 08:21:16 +01:00
nm-setting-macsec.c libnm,nmcli: add macsec.offload property 2024-02-21 11:48:42 +01:00
nm-setting-macvlan.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-match.c glib-aux: refactor nm_strvarray_get_strv*() and nm_strvarray_set_strv*() helpers 2023-11-23 17:17:52 +01:00
nm-setting-olpc-mesh.c libnm: embed private structure in NMSetting and avoid g_type_class_add_private() 2023-10-31 11:29:37 +01:00
nm-setting-ovs-bridge.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-ovs-dpdk.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-ovs-external-ids.c doc: replace all (allow-none) annotations by (optional) and/or (nullable) 2023-03-27 11:49:43 +02:00
nm-setting-ovs-interface.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-ovs-other-config.c doc: replace all (allow-none) annotations by (optional) and/or (nullable) 2023-03-27 11:49:43 +02:00
nm-setting-ovs-patch.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-ovs-port.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-ppp.c libnm: embed private structure in NMSetting and avoid g_type_class_add_private() 2023-10-31 11:29:37 +01:00
nm-setting-pppoe.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-private.h nm-setting: implement direct_enum as GObject property of type int 2024-02-21 11:20:52 +01:00
nm-setting-proxy.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-serial.c libnm: embed private structure in NMSetting and avoid g_type_class_add_private() 2023-10-31 11:29:37 +01:00
nm-setting-sriov.c sriov: add eswitch-inline-mode and eswitch-encap-mode properties 2024-02-21 11:27:30 +01:00
nm-setting-tc-config.c libnm: add "description:" for overrides with doctext 2023-05-19 12:51:59 +02:00
nm-setting-team-port.c all: use the new NMSettingConnection port-type property 2024-01-23 08:21:16 +01:00
nm-setting-team.c libnm-core: avoid compiler warnings in team settings 2024-05-15 12:11:52 +02:00
nm-setting-tun.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-user.c doc: replace all (allow-none) annotations by (optional) and/or (nullable) 2023-03-27 11:49:43 +02:00
nm-setting-veth.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-vlan.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-vpn.c vpn: handle hint tags in the daemon 2024-06-18 16:06:13 +02:00
nm-setting-vrf.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-setting-vxlan.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-wifi-p2p.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-wimax.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-wired.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-wireguard.c nm-setting: implement direct_enum as GObject property of type int 2024-02-21 11:20:52 +01:00
nm-setting-wireless-security.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting-wireless.c libnm-core: fix mac comparison in _remove_mac_blacklist_item_by_value 2024-02-09 12:56:20 +01:00
nm-setting-wpan.c libnm: add direct_string_allow_empty meta data for NMSetting property 2024-01-23 09:43:26 +01:00
nm-setting.c libnm-core: fix memory leak in nm_setting_to_string() 2024-06-19 14:43:31 +02:00
nm-simple-connection.c libnm: embed private structure in NMSetting and avoid g_type_class_add_private() 2023-10-31 11:29:37 +01:00
nm-team-utils.c libnm-core: avoid compiler warnings in team settings 2024-05-15 12:11:52 +02:00
nm-team-utils.h all: reformat code to clang shipped with Fedora 39 2023-12-06 10:37:24 +01:00
nm-utils-private.h all: reformat code to clang shipped with Fedora 39 2023-12-06 10:37:24 +01:00
nm-utils.c libnm: use flexible array member in NMUtilsStrStrDictKey 2024-02-07 09:43:43 +01:00
nm-vpn-editor-plugin.c all: use NM_MIN() instead of MIN() 2023-11-15 09:32:20 +01:00
nm-vpn-plugin-info.c all: use nm_strv_empty_new() helper 2023-11-30 15:53:21 +01:00
README.md build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00

libnm-core-impl

NetworkManager provides a client library libnm. NetworkManager core does not (dynamically) link against all of libnm. Instead, it statically links against a part of it. That part is the static helper library libnm-core-impl.

libnm-core-impl implements (and provides) the API from libnm-core-public, which is part of the public API of libnm. In this form, libnm-core-impl is part of the implementation of libnm. It also implements (and provides) an internal API libnm-core-intern which can only be used by those who link statically against libnm-core-impl.

Only NetworkManager core and libnm are allowed to statically link with libnm-core-impl. Consequently, only those are allowed to include libnm-core-intern.

This directory should not be added to the include search path of other components as they are only allowed to include libnm-core-public and libnm-core-intern.