]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/afp_zeroconf.h
Fix build
[netatalk.git] / etc / afpd / afp_zeroconf.h
index 895376f30f4eb4a2ce46536bc963223ebf6d33a9..5058cc60d3f987bce36cf601305fd90a4ece0ba1 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 the ntpd service with a particular Zerconf implemenation.
+ * registers service with a particular Zerconf implemenation.
  */
-void zeroconf_register(int port, char *hostname);
+void zeroconf_register(const AFPObj *obj);
 
 /*
  * de-registers the ntpd service with a particular Zerconf implemenation.
  */
 void zeroconf_deregister(void);
 
-#endif AFPD_ZEROCONF_H
+#endif /* AFPD_ZEROCONF_H */