libnm: add NM_VERSION_1_56_1

This commit is contained in:
Jan Vaclav 2026-05-11 12:12:12 +02:00
parent b74b6bf867
commit 22ab14d207
2 changed files with 7 additions and 0 deletions

View file

@ -79,6 +79,7 @@
#define NM_VERSION_1_52 (NM_ENCODE_VERSION(1, 52, 0))
#define NM_VERSION_1_54 (NM_ENCODE_VERSION(1, 54, 0))
#define NM_VERSION_1_56 (NM_ENCODE_VERSION(1, 56, 0))
#define NM_VERSION_1_56_1 (NM_ENCODE_VERSION(1, 56, 1))
/* For releases, NM_API_VERSION is equal to NM_VERSION.
*

View file

@ -453,6 +453,12 @@
#define NM_AVAILABLE_IN_1_56
#endif
#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_56_1
#define NM_AVAILABLE_IN_1_56_1 G_UNAVAILABLE(1, 56.1)
#else
#define NM_AVAILABLE_IN_1_56_1
#endif
/*
* Synchronous API for calling D-Bus in libnm is deprecated. See
* https://networkmanager.dev/docs/libnm/latest/usage.html#sync-api