X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fmdnsd.git;a=blobdiff_plain;f=service.h;h=734e711979413b5405944d342a0ca40023b2b6fc;hp=a8937a7b996c99e0004acb214060f3b06fe6a660;hb=f04d8b9be03fe4f06ded9fb0f7d949ccfa491442;hpb=788316ef66136e6a68d881e5b24ccf5a98fa4550;ds=sidebyside diff --git a/service.h b/service.h index a8937a7..734e711 100644 --- a/service.h +++ b/service.h @@ -14,13 +14,11 @@ #ifndef _SERVICE_H__ #define _SERVICE_H__ -extern char *hostname; -extern char* service_name(char *domain); extern void service_init(void); extern void service_cleanup(void); -extern void service_announce(struct uloop_fd *u); -extern void service_announce_services(struct uloop_fd *u, char *service); -extern void service_reply(struct uloop_fd *u, char *match); -extern void service_reply_a(struct uloop_fd *u, int type); +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); #endif