X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fmdnsd.git;a=blobdiff_plain;f=service.h;h=67a425abbae4feca226ab55bce255f22094295e6;hp=cc49abe23424d4f58ec8d907a7ed37f028523244;hb=fd5a160a15c48a97f7fc755c1310f17c869f0233;hpb=9091a2b0fa7f91be6d0d4b03ec8d7ef8cbe1e559 diff --git a/service.h b/service.h index cc49abe..67a425a 100644 --- a/service.h +++ b/service.h @@ -14,11 +14,10 @@ #ifndef _SERVICE_H__ #define _SERVICE_H__ -extern void service_init(void); +extern const char *sdudp; +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_reply(struct interface *iface, const char *match, int ttl); -extern void service_reply_a(struct interface *iface, int type, int ttl); +extern void service_reply(struct interface *iface, struct sockaddr *to, const char *match, int ttl); +extern void service_announce_services(struct interface *iface, struct sockaddr *to, int ttl); #endif