diff options
| author | Michael Biebl <biebl@debian.org> | 2011-05-04 21:35:57 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2011-05-04 21:35:57 +0200 |
| commit | 3241555aff5c969104e492501097f4cb8837bcca (patch) | |
| tree | 6d15a02d02a9f1bfcda6075ae2b8c71537d8038d /libnm-util/nm-utils.c | |
| parent | e1b66c145e71e7bc6a06845dd17788fb7b8e158e (diff) | |
| parent | 9f806e97a24bba61417ae312fcc0da40914266fb (diff) | |
Merge commit 'upstream/0.8.999' into experimental
Diffstat (limited to 'libnm-util/nm-utils.c')
| -rw-r--r-- | libnm-util/nm-utils.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libnm-util/nm-utils.c b/libnm-util/nm-utils.c index daa977cc..bac7fda3 100644 --- a/libnm-util/nm-utils.c +++ b/libnm-util/nm-utils.c @@ -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) { |