libnm: add NM_VERSION_1_42_8

This commit is contained in:
Fernando Fernandez Mancera 2023-05-08 17:58:05 +02:00
parent 84f17a2fbb
commit f499b9e026
2 changed files with 7 additions and 0 deletions

View file

@ -73,6 +73,7 @@
#define NM_VERSION_1_40 (NM_ENCODE_VERSION(1, 40, 0))
#define NM_VERSION_1_42 (NM_ENCODE_VERSION(1, 42, 0))
#define NM_VERSION_1_42_2 (NM_ENCODE_VERSION(1, 42, 2))
#define NM_VERSION_1_42_8 (NM_ENCODE_VERSION(1, 42, 8))
/* For releases, NM_API_VERSION is equal to NM_VERSION.
*

View file

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