From: Lennart Poettering Date: Sun, 25 Sep 2005 20:27:44 +0000 (+0000) Subject: refer to avahi_free() instead of g_free() in docs X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=f0ffb789228ab2c719bfc83c659f8ace03c4aaa3;p=catta refer to avahi_free() instead of g_free() in docs git-svn-id: file:///home/lennart/svn/public/avahi/trunk@618 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-common/address.h b/avahi-common/address.h index 8f7f2ea..c540de5 100644 --- a/avahi-common/address.h +++ b/avahi-common/address.h @@ -99,13 +99,13 @@ AvahiAddress *avahi_address_from_sockaddr(const struct sockaddr* sa, AvahiAddres /** Return the port number of a sockaddr structure (either IPv4 or IPv6) */ uint16_t avahi_port_from_sockaddr(const struct sockaddr* sa); -/** Generate the DNS reverse lookup name for an IPv4 address. g_free() the result! */ +/** Generate the DNS reverse lookup name for an IPv4 address. avahi_free() the result! */ char* avahi_reverse_lookup_name_ipv4(const AvahiIPv4Address *a); -/** Generate the modern DNS reverse lookup name for an IPv6 address, ending in ipv6.arpa. g_free() the result! */ +/** Generate the modern DNS reverse lookup name for an IPv6 address, ending in ipv6.arpa. avahi_free() the result! */ char* avahi_reverse_lookup_name_ipv6_arpa(const AvahiIPv6Address *a); -/** Generate the historic DNS reverse lookup name for an IPv6 address, ending in ipv6.int. g_free() the result! */ +/** Generate the historic DNS reverse lookup name for an IPv6 address, ending in ipv6.int. avahi_free() the result! */ char* avahi_reverse_lookup_name_ipv6_int(const AvahiIPv6Address *a); /** Check whether the specified IPv6 address is in fact an diff --git a/avahi-common/strlst.h b/avahi-common/strlst.h index 925e944..ab7acb0 100644 --- a/avahi-common/strlst.h +++ b/avahi-common/strlst.h @@ -93,7 +93,7 @@ AvahiStringList *avahi_string_list_add_many(AvahiStringList *r, ...) AVAHI_GCC_S AvahiStringList *avahi_string_list_add_many_va(AvahiStringList *r, va_list va); /** Convert the string list object to a single character string, - * seperated by spaces and enclosed in "". g_free() the result! This + * seperated by spaces and enclosed in "". avahi_free() the result! This * function doesn't work well with string that contain NUL bytes. */ char* avahi_string_list_to_string(AvahiStringList *l);