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/
14 #include "afp_zeroconf.h"
15 #include "afp_config.h"
18 #include "afp_avahi.h"
23 * Functions (actually they are just facades)
25 void zeroconf_register(const AFPConfig *configs)
27 #if defined (HAVE_AVAHI)
28 LOG(log_debug, logtype_afpd, "Attempting to register with mDNS using Avahi");
30 av_zeroconf_register(configs);
34 void zeroconf_deregister(void)
36 #if defined (HAVE_AVAHI)
37 LOG(log_debug, logtype_afpd, "Attempting to de-register mDNS using Avahi");
38 av_zeroconf_unregister();