X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fmdnsd.git;a=blobdiff_plain;f=service.h;h=8bc9ba9a56f36d845358755ae05d86c28ad53b22;hp=734e711979413b5405944d342a0ca40023b2b6fc;hb=95d8e0d4f03dd7c1211d3f98dc31074365717acf;hpb=444987db98c88dfef6b3965051bf2aba6114aaa2 diff --git a/service.h b/service.h index 734e711..8bc9ba9 100644 --- a/service.h +++ b/service.h @@ -14,11 +14,10 @@ #ifndef _SERVICE_H__ #define _SERVICE_H__ -extern void service_init(void); +extern 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); -extern void service_reply_a(struct interface *iface, int type); +extern void service_reply(struct interface *iface, const char *match, int ttl); +extern void service_announce_services(struct interface *iface, int ttl); #endif