#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 */