]> arthur.barton.de Git - netatalk.git/blob - etc/afpd/afp_zeroconf.h
Spotlight: use async Tracker SPARQL API
[netatalk.git] / etc / afpd / afp_zeroconf.h
1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: t; c-basic-offset: 2 -*- */
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/
7  *
8  */
9
10 #ifndef AFPD_ZEROCONF_H
11 #define AFPD_ZEROCONF_H
12
13 #include "afp_config.h"
14
15 #define AFP_DNS_SERVICE_TYPE "_afpovertcp._tcp"
16 #define ADISK_SERVICE_TYPE "_adisk._tcp"
17 #define DEV_INFO_SERVICE_TYPE "_device-info._tcp"
18
19 #define MAXINSTANCENAMELEN 63
20
21 /*
22  * Prototype Definitions
23  */
24
25 /*
26  * registers service with a particular Zerconf implemenation.
27  */
28 void zeroconf_register(const AFPObj *obj);
29
30 /*
31  * de-registers the ntpd service with a particular Zerconf implemenation.
32  */
33 void zeroconf_deregister(void);
34
35 #endif /* AFPD_ZEROCONF_H */