]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/afp_zeroconf.h
Spotlight: use async Tracker SPARQL API
[netatalk.git] / etc / afpd / afp_zeroconf.h
index fa72a96b6daf6562da113b3e4c6861678d3fff18..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 service with a particular Zerconf implemenation.
  */
-void zeroconf_register(int port, const char *hostname);
-
-/*
- * registers volume name with a particular Zerconf implemenation.
- */
-void zeroconf_register_volume(const char *volname);
+void zeroconf_register(const AFPObj *obj);
 
 /*
  * de-registers the ntpd service with a particular Zerconf implemenation.