mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 14:40:13 +01:00
libnm: add NM_VERSION_1_40_20
This commit is contained in:
parent
c787d22fc8
commit
4fd186bbf6
2 changed files with 7 additions and 0 deletions
|
|
@ -73,6 +73,7 @@
|
|||
#define NM_VERSION_1_38 (NM_ENCODE_VERSION (1, 38, 0))
|
||||
#define NM_VERSION_1_40 (NM_ENCODE_VERSION (1, 40, 0))
|
||||
#define NM_VERSION_1_40_4 (NM_ENCODE_VERSION (1, 40, 4))
|
||||
#define NM_VERSION_1_40_20 (NM_ENCODE_VERSION (1, 40, 20))
|
||||
|
||||
/* For releases, NM_API_VERSION is equal to NM_VERSION.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -347,6 +347,12 @@
|
|||
#define NM_AVAILABLE_IN_1_40_4
|
||||
#endif
|
||||
|
||||
#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_40_20
|
||||
#define NM_AVAILABLE_IN_1_40_20 G_UNAVAILABLE(1, 40.20)
|
||||
#else
|
||||
#define NM_AVAILABLE_IN_1_40_20
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Synchronous API for calling D-Bus in libnm is deprecated. See
|
||||
* https://networkmanager.dev/docs/libnm/latest/usage.html#sync-api
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue