X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fmdnsd.git;a=blobdiff_plain;f=service.h;h=6aeea0f695dfffd51957b6aa7b7aa35ea696fc3a;hp=a8937a7b996c99e0004acb214060f3b06fe6a660;hb=67e8c3bed831f8a1b879a654ca290d14e333664a;hpb=788316ef66136e6a68d881e5b24ccf5a98fa4550 diff --git a/service.h b/service.h index a8937a7..6aeea0f 100644 --- a/service.h +++ b/service.h @@ -15,12 +15,12 @@ #define _SERVICE_H__ extern char *hostname; -extern char* service_name(char *domain); +extern char *service_name(const 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