diff options
author | Max Kellermann <max@duempel.org> | 2013-01-27 22:18:45 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-27 22:38:14 +0100 |
commit | 95c3f57b3027e0961a1e32036dcce0383fb5e6ee (patch) | |
tree | d9279be8c6c3bd46f95b674e8e59a84879f8de34 /src/ZeroconfGlue.hxx | |
parent | 068f191c0d9459554db536ac3d7f64f9b9338381 (diff) | |
download | mpd-95c3f57b3027e0961a1e32036dcce0383fb5e6ee.tar.gz mpd-95c3f57b3027e0961a1e32036dcce0383fb5e6ee.tar.xz mpd-95c3f57b3027e0961a1e32036dcce0383fb5e6ee.zip |
zeroconf: convert to C++
Diffstat (limited to '')
-rw-r--r-- | src/ZeroconfGlue.hxx (renamed from src/zeroconf.h) | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/src/zeroconf.h b/src/ZeroconfGlue.hxx index 8e33a3d89..dcd7b81c0 100644 --- a/src/zeroconf.h +++ b/src/ZeroconfGlue.hxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2011 The Music Player Daemon Project + * Copyright (C) 2003-2013 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -17,20 +17,28 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef MPD_ZEROCONF_H -#define MPD_ZEROCONF_H +#ifndef MPD_ZEROCONF_GLUE_HXX +#define MPD_ZEROCONF_GLUE_HXX #include "check.h" #ifdef HAVE_ZEROCONF -void initZeroconf(void); -void finishZeroconf(void); +void +ZeroconfInit(); + +void +ZeroconfDeinit(); #else /* ! HAVE_ZEROCONF */ -static void initZeroconf(void) { } -static void finishZeroconf(void) { } +static inline void +ZeroconfInit() +{} + +static inline void +ZeroconfDeinit() +{} #endif /* ! HAVE_ZEROCONF */ |