]> git.meshlink.io Git - catta/blobdiff - avahi-client/publish.h
Add DBUS API versioning
[catta] / avahi-client / publish.h
index 88c4498b53b4e4d58640591a1c9531d4976eb452..da0d467fce900b88df63eeb9755968e47609d6c0 100644 (file)
@@ -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