]> arthur.barton.de Git - netatalk.git/blob - etc/afpd/afp_zeroconf.h
fixes
[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 <netinet/in.h> /* htons() */
14 #include <atalk/logger.h>
15
16 #ifdef HAVE_AVAHI
17 #include "afp_avahi.h"
18 #endif
19
20 #define AFP_PORT 548
21
22 /*
23  * Prototype Definitions
24  */
25
26 /*
27  * registers the ntpd service with a particular Zerconf implemenation.
28  */
29 void zeroconf_register(int port, const char *hostname);
30
31 /*
32  * de-registers the ntpd service with a particular Zerconf implemenation.
33  */
34 void zeroconf_deregister(void);
35
36 #endif /* AFPD_ZEROCONF_H */