From 55357e3c75438ce83553d1c43d47e53eb7919d74 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 8 Nov 2005 23:16:16 +0000 Subject: * deal with gethostname() failing, use utsname.sysname[] instead in that case * deal with utsname() failing when creating HINFO records git-svn-id: file:///home/lennart/svn/public/avahi/trunk@938 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'avahi-core/util.h') diff --git a/avahi-core/util.h b/avahi-core/util.h index aa38693..1a07363 100644 --- a/avahi-core/util.h +++ b/avahi-core/util.h @@ -35,6 +35,9 @@ char *avahi_format_mac_address(const uint8_t* mac, size_t size); /** Change every character in the string to upper case (ASCII), return a pointer to the string */ char *avahi_strup(char *s); +/** Change every character in the string to lower case (ASCII), return a pointer to the string */ +char *avahi_strdown(char *s); + AVAHI_C_DECL_END #endif -- cgit