]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
avahi-gobject: add port argument to EntryGroup.add_service method
authorFabian Deutsch <fabian.deutsch@gmx.de>
Fri, 21 Oct 2011 19:39:42 +0000 (12:39 -0700)
committerJürg Billeter <j@bitron.ch>
Wed, 30 Nov 2011 13:41:12 +0000 (14:41 +0100)
vapi/avahi-gobject.vapi

index b453565ca9ee096c5e035768df600ca717cc7e34..cba79f07d5720538c086e32bf6c3a3c8b41ec809 100644 (file)
@@ -277,7 +277,7 @@ namespace Avahi {
                public EntryGroupService add_service_strlist(string name, string type, uint16 port, ...) throws Error;
                [CCode(sentinel="")]
                public EntryGroupService add_service_full_strlist(Interface interface, Protocol protocol, PublishFlags flags, string name, string type, string domain, string host, uint16 port, ...) throws Error;
-               public EntryGroupService add_service(string name, string type, ...) throws Error;
+               public EntryGroupService add_service(string name, string type, uint16 port, ...) throws Error;
                public EntryGroupService add_service_full(Interface interface, Protocol protocol, PublishFlags flags, string name, string type, string domain, string host, uint16 port, ...) throws Error;
                public void add_record(PublishFlags flags, string name, uint16 type, uint32 ttl, char[] data) throws Error;
                public void add_record_full(Interface interface, Protocol protocol, PublishFlags flags, string name, uint16 class, uint16 type, uint32 ttl, char[] data) throws Error;