X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-client%2Fpublish.h;h=7873b075bcb6583a542468c22e7098f085831c88;hb=3e9a76c55eb47b34aa1cbc2a16983da5c33bbf2f;hp=7c678a9551771948dca9c213a1a869466624b834;hpb=0c54764cf19428a0c52724a75ddf3368e3899209;p=catta diff --git a/avahi-client/publish.h b/avahi-client/publish.h index 7c678a9..7873b07 100644 --- a/avahi-client/publish.h +++ b/avahi-client/publish.h @@ -39,9 +39,7 @@ * service using the client interface to avahi-daemon. It behaves like a network * printer registering both an IPP and a BSD LPR service. */ -#ifndef DOXYGEN_SHOULD_SKIP_THIS AVAHI_C_DECL_BEGIN -#endif /** An entry group object */ typedef struct AvahiEntryGroup AvahiEntryGroup; @@ -96,19 +94,6 @@ int avahi_entry_group_add_service_strlst( uint16_t port, AvahiStringList *txt); -/** Add a service, takes a NULL terminated va_list for text records */ -int avahi_entry_group_add_service_va( - AvahiEntryGroup *group, - AvahiIfIndex interface, - AvahiProtocol protocol, - AvahiPublishFlags flags, - const char *name, - const char *type, - const char *domain, - const char *host, - uint16_t port, - va_list va); - /** Add a subtype for a service */ int avahi_entry_group_add_service_subtype( AvahiEntryGroup *group, @@ -142,19 +127,15 @@ int avahi_entry_group_update_service_txt_strlst( const char *domain, AvahiStringList *strlst); -/** Update a TXT record for an existing service */ -int avahi_entry_group_update_service_txt_va( - AvahiEntryGroup *g, +/** Add a host/address pair */ +int avahi_entry_group_add_address( + AvahiEntryGroup *group, AvahiIfIndex interface, AvahiProtocol protocol, AvahiPublishFlags flags, - const char *name, - const char *type, - const char *domain, - va_list va); + const char *name, + const AvahiAddress *a); -#ifndef DOXYGEN_SHOULD_SKIP_THIS AVAHI_C_DECL_END -#endif #endif