• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/netatalk-3.0.5/etc/afpd/
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 */
28void zeroconf_register(const AFPObj *obj);
29
30/*
31 * de-registers the ntpd service with a particular Zerconf implemenation.
32 */
33void zeroconf_deregister(void);
34
35#endif /* AFPD_ZEROCONF_H */
36