NetworkManager/src/libnm-core-public
Íñigo Huguet a9d7154fe1 nm-version: set API_VERSION with MICRO+1 (temporary)
In the past, stable branches used odd micro numbers as development micro
version. Because of that, NM_API_VERSION was defined with MICRO+1 so we
don't get warnings during development.

As we stopped using odd micro=devel it is wrong to set MICRO+1 on odd
releases. Final users of 1.52.3 has NM_API_VERSION 1.52.4.

However, during development we need to have MICRO+1. For example, if we
are working on top of 1.52.3 towards the next 1.52.4, we define new
symbols with NM_AVAILABLE_IN_1_52_4. Because of that, we get compilation
failures until we finally bump to 1.52.4, just before the release. The
CI remains red until then, potentially missing many bugs.

For now, just set MICRO+1 all the time. It is wrong, but it was wrong
half of the time anyway, and at least we'll have a green CI until we
implement a definitive solution.

(cherry picked from commit 13bfa44ceb)
2025-12-12 12:47:26 +01:00
..
meson.build libnm, nmcli: introduce new "prefix-delegation" setting 2025-04-02 11:21:59 +02:00
nm-connection.h libnm: move nm-errors.h include away from nm-connection.h 2022-11-13 23:36:37 +01:00
nm-core-types.h libnm, nmcli: introduce new "prefix-delegation" setting 2025-04-02 11:21:59 +02:00
nm-dbus-interface.h mptcp: add 'laminar' endpoint support 2025-11-19 15:01:58 +01:00
nm-errors.h core: reject new connections if the feature is disabled or removed 2025-10-21 15:31:58 +02:00
nm-keyfile.h all: adjust glib-mkenums annotations for automated formatting 2022-02-08 11:14:01 +01:00
nm-setting-6lowpan.h libnm: actually export a lot of routines that were supposed to be public 2022-11-08 11:43:00 +01:00
nm-setting-8021x.h 802.1x: add openssl_ciphers setting 2024-03-16 21:30:34 +01:00
nm-setting-adsl.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-setting-bluetooth.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-setting-bond-port.h bonding: add support to prio property in bond ports 2023-05-03 10:44:06 +02:00
nm-setting-bond.h bonding: add support to ns_ip6_target option 2023-03-06 15:06:41 +01:00
nm-setting-bridge-port.h clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-setting-bridge.h clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-setting-cdma.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-setting-connection.h libnm-core: Add connection.dnssec property 2025-10-13 11:57:34 +02:00
nm-setting-dcb.h all: adjust glib-mkenums annotations for automated formatting 2022-02-08 11:14:01 +01:00
nm-setting-dummy.h clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-setting-ethtool.h ethtool: support Forward Error Correction(fec) 2024-11-07 17:38:04 +08:00
nm-setting-generic.h libnm: add generic.device-handler property 2024-02-21 11:16:01 +01:00
nm-setting-gsm.h add gsm device-uid setting to restrict the devices the connection applies to 2025-10-03 11:02:21 +00:00
nm-setting-hostname.h libnm: actually export a lot of routines that were supposed to be public 2022-11-08 11:43:00 +01:00
nm-setting-hsr.h libnm: introduce hsr.interlink property 2025-10-08 22:52:03 +02:00
nm-setting-infiniband.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-setting-ip-config.h libnm: add nm_dns_server_validate() 2025-08-14 11:22:41 +02:00
nm-setting-ip-tunnel.h libnm: support VTI properties in the ip-tunnel setting 2022-12-21 14:04:44 +01:00
nm-setting-ip4-config.h libnm,nmcli: introduce new ipv4.dhcp-ipv6-only-preferred property 2024-10-23 15:01:18 +02:00
nm-setting-ip6-config.h device: introduce ipv6.temp-valid-lifetime and ipv6.temp-preferred-lifetime properties 2024-03-20 23:46:32 -06:00
nm-setting-ipvlan.h ipvlan: add support to IPVLAN interface 2024-09-18 13:19:42 +02:00
nm-setting-link.h all: add "link" setting 2023-03-02 16:51:16 +01:00
nm-setting-loopback.h support loopback interface 2022-11-23 20:51:22 +01:00
nm-setting-macsec.h libnm,nmcli: add macsec.offload property 2024-02-21 10:51:57 +01:00
nm-setting-macvlan.h libnm: fix a large amount of Since tags 2022-11-08 11:40:18 +01:00
nm-setting-match.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-setting-olpc-mesh.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-setting-ovs-bridge.h libnm: actually export a lot of routines that were supposed to be public 2022-11-08 11:43:00 +01:00
nm-setting-ovs-dpdk.h ovs: introduce new "ovs-dpdk.lsc-interrupt" property 2025-04-02 11:13:31 +02:00
nm-setting-ovs-external-ids.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-setting-ovs-interface.h ovs: add ofport_request option to ovs interface 2022-09-02 08:46:36 +00:00
nm-setting-ovs-other-config.h ovs: add support for "other_config" settings 2023-01-11 21:49:36 +01:00
nm-setting-ovs-patch.h clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-setting-ovs-port.h libnm: add ovs-port.trunks property 2022-11-25 14:15:41 +01:00
nm-setting-ppp.h clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-setting-pppoe.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-setting-prefix-delegation.h libnm, nmcli: introduce new "prefix-delegation" setting 2025-04-02 11:21:59 +02:00
nm-setting-proxy.h clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-setting-serial.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-setting-sriov.h libnm: change "sriov.preserve-on-down" symbols version to 1.54 2025-06-27 14:11:47 +02:00
nm-setting-tc-config.h libnm: actually export a lot of routines that were supposed to be public 2022-11-08 11:43:00 +01:00
nm-setting-team-port.h clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-setting-team.h libnm: fix a large amount of Since tags 2022-11-08 11:40:18 +01:00
nm-setting-tun.h libnm: fix a large amount of Since tags 2022-11-08 11:40:18 +01:00
nm-setting-user.h clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-setting-veth.h clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-setting-vlan.h libnm,nmcli: add vlan.protocol property 2022-12-14 11:33:03 +01:00
nm-setting-vpn.h libnm: actually export a lot of routines that were supposed to be public 2022-11-08 11:43:00 +01:00
nm-setting-vrf.h clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-setting-vxlan.h clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-setting-wifi-p2p.h clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-setting-wimax.h clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-setting-wired.h wired: deprecate NMSettingWired mac-address-blacklist property 2024-03-20 15:32:00 +01:00
nm-setting-wireguard.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-setting-wireless-security.h libnm: fix a large amount of Since tags 2022-11-08 11:40:18 +01:00
nm-setting-wireless.h libnm,nmcli: add a 'wifi.channel-width' setting 2024-07-10 14:53:32 +02:00
nm-setting-wpan.h libnm: actually export a lot of routines that were supposed to be public 2022-11-08 11:43:00 +01:00
nm-setting.h nm-setting: implement direct_enum as GObject property of type int 2024-02-20 14:50:15 +00:00
nm-simple-connection.h clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-utils.h libnm: add function to copy a certificate or key as user 2025-12-12 12:47:02 +01:00
nm-version-macros.h.in nm-version: set API_VERSION with MICRO+1 (temporary) 2025-12-12 12:47:26 +01:00
nm-version.h version: add 1.56 macros 2025-06-18 13:20:49 +02:00
nm-vpn-dbus-interface.h libnm: allow manually specified IP addresses to have prefix length 0 2022-05-26 19:08:28 +02:00
nm-vpn-editor-plugin.h libnm/vpn-editor-plugin: add a flag to indicate lack of GUI editor 2024-10-05 23:06:58 +02:00
nm-vpn-plugin-info.h vpn: add nm_vpn_plugin_info_supports_safe_private_file_access() 2025-12-12 12:45:56 +01:00
README.md build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00

libnm-core-public

This contains (mostly) header files only, which are also part of the public API of libnm.

Also, this API is implemented by the static library libnm-core-impl, which in turn is statically linked into NetworkManager core and libnm.

These headers can be used by anybody who either:

Note that there is also one source file: nm-core-enum-types.c. This source file really belongs to libnm-core-impl but it is here because it's a generated file and so far I couldn't figure out how to generate nm-core-enum-types.h here while moving nm-core-enum-types.c to libnm-core-impl.

Aside nm-core-enum-types.c, this directory only provides header files. Users should add this directory (both srcdir and builddir) to the include search path, because libnm users are used to include these headers unqualified (like #include "nm-setting.h).