X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=sidebyside;f=avahi-client%2Fpublish.h;h=da0d467fce900b88df63eeb9755968e47609d6c0;hb=be4aaeb485d31dee095b0c9c90e6b79333bc0e21;hp=88c4498b53b4e4d58640591a1c9531d4976eb452;hpb=00a4a88135d94fa65c4abac3a4ef17602adeb020;p=catta diff --git a/avahi-client/publish.h b/avahi-client/publish.h index 88c4498..da0d467 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; @@ -138,8 +136,19 @@ int avahi_entry_group_add_address( const char *name, const AvahiAddress *a); -#ifndef DOXYGEN_SHOULD_SKIP_THIS +/** Add an arbitrary record */ +int avahi_entry_group_add_record( + AvahiEntryGroup *group, + AvahiIfIndex interface, + AvahiProtocol protocol, + AvahiPublishFlags flags, + const char *name, + uint16_t clazz, + uint16_t type, + uint32_t ttl, + const void *rdata, + size_t size); + AVAHI_C_DECL_END -#endif #endif