]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/afp_avahi.h
Merge 2-2
[netatalk.git] / etc / afpd / afp_avahi.h
index ae3d37dafaec57efb8e24e5c48a2e6cdaccdc598..ae3366db506c59680a73b39a848e67a15c1a2ade 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "afp_config.h"
 
-#define AFP_DNS_SERVICE_TYPE "_afpovertcp._tcp"
-
 struct context {
        /* Avahi stuff */
   int               thread_running;
@@ -33,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 */