mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 04:40:09 +01:00
libnm-util: document nm_utils_ip6_dns_to_gvalue()
This commit is contained in:
parent
6115ef9f71
commit
a2fc80b0ea
1 changed files with 12 additions and 0 deletions
|
|
@ -1884,6 +1884,18 @@ nm_utils_ip6_dns_from_gvalue (const GValue *value)
|
|||
return g_slist_reverse (list);
|
||||
}
|
||||
|
||||
/**
|
||||
* nm_utils_ip6_dns_to_gvalue: (skip):
|
||||
* @list: a list of #NMIP6Route objects
|
||||
* @value: a pointer to a #GValue into which to place the converted DNS server
|
||||
* addresses, which should be unset by the caller (when no longer needed) with
|
||||
* g_value_unset().
|
||||
*
|
||||
* Utility function to convert a #GSList of 'struct in6_addr' structs into a
|
||||
* GPtrArray of GByteArrays representing each server's IPv6 addresses in
|
||||
* network byte order. The specific format of this serialization is not
|
||||
* guaranteed to be stable and may be extended in the future.
|
||||
*/
|
||||
void
|
||||
nm_utils_ip6_dns_to_gvalue (GSList *list, GValue *value)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue