mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 10:20:14 +01:00
libnm/docs: document nm_utils_is_uuid() as deprecated
However, don't also use the NM_DEPRECATED_IN_1_32 macro, because that causes annoying compiler warnings. There is no replacement for the function in libnm, nor is it planned to add one. So users may still call it, but they are now warned by documentation that it may not be a good idea.
This commit is contained in:
parent
840dd8cbcd
commit
cbaeadb0a4
1 changed files with 4 additions and 0 deletions
|
|
@ -4429,6 +4429,10 @@ nm_utils_iface_valid_name(const char *name)
|
|||
*
|
||||
* In older versions, nm_utils_is_uuid() did not accept %NULL as @str
|
||||
* argument. Don't pass %NULL if you run against older versions of libnm.
|
||||
*
|
||||
* Deprecated: 1.32: older versions of NetworkManager had a wrong
|
||||
* understanding of what makes a valid UUID. This function can thus
|
||||
* accept some inputs as valid, which in fact are not valid UUIDs.
|
||||
*/
|
||||
gboolean
|
||||
nm_utils_is_uuid(const char *str)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue