zeroconf/Zeroconf*: drop prefix from file names

This commit is contained in:
Max Kellermann 2021-02-24 12:36:44 +01:00
parent 40d061621b
commit 04d5588fe5
11 changed files with 20 additions and 20 deletions

View File

@ -43,7 +43,7 @@
#include "fs/AllocatedPath.hxx"
#include "fs/Config.hxx"
#include "playlist/PlaylistRegistry.hxx"
#include "zeroconf/ZeroconfGlue.hxx"
#include "zeroconf/Glue.hxx"
#include "decoder/DecoderList.hxx"
#include "pcm/AudioParser.hxx"
#include "pcm/Convert.hxx"

View File

@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "ZeroconfBonjour.hxx"
#include "ZeroconfInternal.hxx"
#include "Bonjour.hxx"
#include "Internal.hxx"
#include "event/SocketEvent.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"

View File

@ -17,9 +17,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "ZeroconfGlue.hxx"
#include "ZeroconfAvahi.hxx"
#include "ZeroconfBonjour.hxx"
#include "Glue.hxx"
#include "avahi/Init.hxx"
#include "Bonjour.hxx"
#include "config/Data.hxx"
#include "config/Option.hxx"
#include "Listen.hxx"

View File

@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef ZEROCONF_INTERNAL_H
#define ZEROCONF_INTERNAL_H
#ifndef ZEROCONF_INTERNAL_HXX
#define ZEROCONF_INTERNAL_HXX
/* The dns-sd service type qualifier to publish */
#define SERVICE_TYPE "_mpd._tcp"

View File

@ -17,13 +17,13 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "ZeroconfAvahi.hxx"
#include "avahi/Client.hxx"
#include "avahi/ConnectionListener.hxx"
#include "avahi/ErrorHandler.hxx"
#include "avahi/Publisher.hxx"
#include "avahi/Service.hxx"
#include "ZeroconfInternal.hxx"
#include "Init.hxx"
#include "../Internal.hxx"
#include "Client.hxx"
#include "ConnectionListener.hxx"
#include "ErrorHandler.hxx"
#include "Publisher.hxx"
#include "Service.hxx"
#include "util/RuntimeError.hxx"
#include "Log.hxx"

View File

@ -6,6 +6,7 @@ endif
avahi = static_library(
'avahi',
'Init.cxx',
'Client.cxx',
'Error.cxx',
'Poll.cxx',

View File

@ -35,8 +35,8 @@ if zeroconf_option == 'bonjour'
zeroconf = static_library(
'zeroconf_bonjour',
'ZeroconfGlue.cxx',
'ZeroconfBonjour.cxx',
'Glue.cxx',
'Bonjour.cxx',
include_directories: inc,
)
@ -56,8 +56,7 @@ else
zeroconf = static_library(
'zeroconf_bonjour',
'ZeroconfGlue.cxx',
'ZeroconfAvahi.cxx',
'Glue.cxx',
include_directories: inc,
dependencies: [
avahi_dep,

View File

@ -19,7 +19,7 @@
#include "event/Loop.hxx"
#include "ShutdownHandler.hxx"
#include "zeroconf/ZeroconfAvahi.hxx"
#include "zeroconf/avahi/Init.hxx"
#include <stdlib.h>