1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: t; c-basic-offset: 2 -*- */
3 * Author: Daniel S. Haischt <me@daniel.stefan.haischt.name>
4 * Purpose: Zeroconf facade, that abstracts access to a
5 * particular Zeroconf implementation
6 * Doc: http://www.dns-sd.org/
10 #ifndef AFPD_ZEROCONF_H
11 #define AFPD_ZEROCONF_H
13 #include "afp_config.h"
15 #define AFP_DNS_SERVICE_TYPE "_afpovertcp._tcp"
16 #define ADISK_SERVICE_TYPE "_adisk._tcp"
17 #define DEV_INFO_SERVICE_TYPE "_device-info._tcp"
19 #define MAXINSTANCENAMELEN 63
22 * Prototype Definitions
26 * registers service with a particular Zerconf implemenation.
28 void zeroconf_register(const AFPObj *obj);
31 * de-registers the ntpd service with a particular Zerconf implemenation.
33 void zeroconf_deregister(void);
35 #endif /* AFPD_ZEROCONF_H */