Move matching logic out of service_reply_single function
[project/mdnsd.git] / service.h
index e17c8607ee2697caf3df3f346ef248ae5c0dbaee..c2f51f4b6a236b046f2735cc12de779262966265 100644 (file)
--- a/service.h
+++ b/service.h
@@ -16,9 +16,8 @@
 
 extern void service_init(int announce);
 extern void service_cleanup(void);
-extern void service_announce(struct interface *iface);
-extern void service_announce_services(struct interface *iface, const char *service);
+extern void service_announce(struct interface *iface, int ttl);
+extern void service_announce_services(struct interface *iface, const char *service, int ttl);
 extern void service_reply(struct interface *iface, const char *match, int ttl);
-extern void service_reply_a(struct interface *iface, int type, int ttl);
 
 #endif