]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/afp_zeroconf.h
Merge remote branch 'netafp/master' into branch-allea
[netatalk.git] / etc / afpd / afp_zeroconf.h
index 5492bac5fdce4eef9a7d9fc8346945884ac7d5aa..89fc3ca9916ed4e7e48a7078be0216f156068528 100644 (file)
 #ifndef AFPD_ZEROCONF_H
 #define AFPD_ZEROCONF_H
 
-#include <netinet/in.h> /* htons() */
-#include <atalk/logger.h>
+#include "afp_config.h"
 
-#ifdef HAVE_AVAHI
-#include "afp_avahi.h"
-#endif
+#define AFP_DNS_SERVICE_TYPE "_afpovertcp._tcp"
+#define ADISK_SERVICE_TYPE "_adisk._tcp"
+#define DEV_INFO_SERVICE_TYPE "_device-info._tcp"
 
-#define AFP_PORT 548
+#define MAXINSTANCENAMELEN 63
 
 /*
  * Prototype Definitions
  */
 
 /*
- * registers the ntpd service with a particular Zerconf implemenation.
+ * registers service with a particular Zerconf implemenation.
  */
-void zeroconf_register(int port, const char *hostname);
+void zeroconf_register(const AFPObj *obj);
 
 /*
  * de-registers the ntpd service with a particular Zerconf implemenation.