X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fafp_avahi.h;h=ae3366db506c59680a73b39a848e67a15c1a2ade;hb=be9876310c25cc3faaa72db9b12064a96a1caa70;hp=2c6ca706d0e5176e1bf8d82eb12b2154d02d9480;hpb=618768fe7ec3589fe4d426c799c57ea04b60639a;p=netatalk.git diff --git a/etc/afpd/afp_avahi.h b/etc/afpd/afp_avahi.h index 2c6ca706..ae3366db 100644 --- a/etc/afpd/afp_avahi.h +++ b/etc/afpd/afp_avahi.h @@ -24,11 +24,6 @@ #include "afp_config.h" -#define AFP_DNS_SERVICE_TYPE "_afpovertcp._tcp" -#define ADISK_SERVICE_TYPE "_adisk._tcp" - -#define MAXINSTANCENAMELEN 63 - struct context { /* Avahi stuff */ int thread_running; @@ -36,13 +31,11 @@ struct context { AvahiClient *client; AvahiEntryGroup *group; /* Netatalk stuff */ - const AFPConfig *configs; + const AFPObj *obj; }; /* prototype definitions */ -void av_zeroconf_setup(const AFPConfig *configs); -int av_zeroconf_run(void); +void av_zeroconf_register(const AFPObj *obj); int av_zeroconf_unregister(void); -void av_zeroconf_shutdown(void); #endif /* AFPD_AVAHI_H */