summaryrefslogtreecommitdiffstats
path: root/avahi-core/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-11-08 23:16:16 +0000
committerLennart Poettering <lennart@poettering.net>2005-11-08 23:16:16 +0000
commit55357e3c75438ce83553d1c43d47e53eb7919d74 (patch)
tree08e3d6c954d55dbf5c4969adaee6f6db56664e9d /avahi-core/util.h
parent6ecd227ceadc32ed229246aa61df6361c7b58a95 (diff)
* 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
Diffstat (limited to 'avahi-core/util.h')
-rw-r--r--avahi-core/util.h3
1 files changed, 3 insertions, 0 deletions
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