]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/afp_zeroconf.h
Sending TM used size
[netatalk.git] / etc / afpd / afp_zeroconf.h
index fa72a96b6daf6562da113b3e4c6861678d3fff18..e2711afb3a4a680d7c1f8ad063a2922b616f409e 100644 (file)
 #ifndef AFPD_ZEROCONF_H
 #define AFPD_ZEROCONF_H
 
-#include <netinet/in.h> /* htons() */
-#include <atalk/logger.h>
-
-#ifdef HAVE_AVAHI
-#include "afp_avahi.h"
-#endif
-
-#define AFP_PORT 548
+#include "afp_config.h"
 
 /*
  * 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 AFPConfig *configs);
 
 /*
  * de-registers the ntpd service with a particular Zerconf implemenation.