X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fmdnsd.git;a=blobdiff_plain;f=service.h;h=7dd0ff148153ca231a66b686a82e803aae7b4e71;hp=a8937a7b996c99e0004acb214060f3b06fe6a660;hb=f295a52969b5926e9fc43ec5125f7d7863b727ce;hpb=788316ef66136e6a68d881e5b24ccf5a98fa4550 diff --git a/service.h b/service.h index a8937a7..7dd0ff1 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_announce_services(struct uloop_fd *u, const char *service); +extern void service_reply(struct uloop_fd *u, const char *match); extern void service_reply_a(struct uloop_fd *u, int type); #endif