From c3d36ee186b5fb24480590080215f7e14ee0f6a6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 11 Aug 2005 20:38:33 +0000 Subject: * Some minor error handling cleanups * Please use uint16_t for port numbers. This type is defined in inttypes.h which is available nearly everywhere git-svn-id: file:///home/lennart/svn/public/avahi/trunk@297 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-client/client.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'avahi-client/client.h') diff --git a/avahi-client/client.h b/avahi-client/client.h index 9654206..f3716eb 100644 --- a/avahi-client/client.h +++ b/avahi-client/client.h @@ -22,6 +22,8 @@ USA. ***/ +#include + #include #include #include @@ -104,7 +106,7 @@ avahi_entry_group_add_service (AvahiEntryGroup *group, const char *type, const char *domain, const char *host, - int port, + uint16_t port, AvahiStringList *txt); /** Get the D-Bus path of an AvahiEntryGroup object, for debugging purposes only. */ -- cgit