summaryrefslogtreecommitdiffstats
path: root/avahi-client/client.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-08-11 20:38:33 +0000
committerLennart Poettering <lennart@poettering.net>2005-08-11 20:38:33 +0000
commitc3d36ee186b5fb24480590080215f7e14ee0f6a6 (patch)
tree7825b58a45bc522793467d9efb29c4ac663753c4 /avahi-client/client.h
parent3ec12a8ec9c7a517cda0e9be8c36766ffc7a1029 (diff)
* 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
Diffstat (limited to 'avahi-client/client.h')
-rw-r--r--avahi-client/client.h4
1 files changed, 3 insertions, 1 deletions
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 <inttypes.h>
+
#include <avahi-common/cdecl.h>
#include <avahi-common/address.h>
#include <avahi-common/strlst.h>
@@ -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. */