diff options
Diffstat (limited to 'avahi-common')
-rw-r--r-- | avahi-common/address.c | 2 | ||||
-rw-r--r-- | avahi-common/address.h | 2 | ||||
-rw-r--r-- | avahi-common/alternative.h | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/avahi-common/address.c b/avahi-common/address.c index 56b4058..640aa06 100644 --- a/avahi-common/address.c +++ b/avahi-common/address.c @@ -66,7 +66,7 @@ char *avahi_address_snprint(char *s, size_t length, const AvahiAddress *a) { return s; } -char* avahi_reverse_lookup_name(char *ret_s, size_t length, const AvahiAddress *a) { +char* avahi_reverse_lookup_name(const AvahiAddress *a, char *ret_s, size_t length) { assert(ret_s); assert(length > 0); assert(a); diff --git a/avahi-common/address.h b/avahi-common/address.h index 53f8d06..6315d31 100644 --- a/avahi-common/address.h +++ b/avahi-common/address.h @@ -91,7 +91,7 @@ char *avahi_address_snprint(char *ret_s, size_t length, const AvahiAddress *a); AvahiAddress *avahi_address_parse(const char *s, AvahiProtocol af, AvahiAddress *ret_addr); /** Generate the DNS reverse lookup name for an IPv4 or IPv6 address. */ -char* avahi_reverse_lookup_name(char *ret_s, size_t length, const AvahiAddress *a); +char* avahi_reverse_lookup_name(const AvahiAddress *a, char *ret_s, size_t length); /** Map AVAHI_PROTO_xxx constants to Unix AF_xxx constants */ int avahi_proto_to_af(AvahiProtocol proto); diff --git a/avahi-common/alternative.h b/avahi-common/alternative.h index 4f0e58b..d171540 100644 --- a/avahi-common/alternative.h +++ b/avahi-common/alternative.h @@ -35,9 +35,9 @@ AVAHI_C_DECL_BEGIN char *avahi_alternative_host_name(const char *s); /** Find an alternative for the specified service name. If called with - an original service name, " #2" is appended. Afterwards the number - is increased on each call (i.e. "foo" becomes "foo #2" becomes - "foo #3" and so on.) avahi_free() the result. */ + * an original service name, " #2" is appended. Afterwards the number + * is increased on each call (i.e. "foo" becomes "foo #2" becomes "foo + * #3" and so on.) avahi_free() the result. */ char *avahi_alternative_service_name(const char *s); AVAHI_C_DECL_END |