aboutsummaryrefslogtreecommitdiff
path: root/src/icy_server.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-15 18:58:02 +0100
committerMax Kellermann <max@duempel.org>2013-01-15 20:20:51 +0100
commit5822daa63de641419dcecd19e81f1c4190bd1cce (patch)
tree3ffff03daf39eba93262d20a9c29696167c93a3b /src/icy_server.h
parent4808c7ef394ff130400a1a0be42f26efa8e953eb (diff)
output_internal, ...: add extern "C"
Diffstat (limited to 'src/icy_server.h')
-rw-r--r--src/icy_server.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/icy_server.h b/src/icy_server.h
index 04f21d2a..17fb391b 100644
--- a/src/icy_server.h
+++ b/src/icy_server.h
@@ -25,6 +25,10 @@
#include <stdarg.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
char*
icy_server_metadata_header(const char *name,
const char *genre, const char *url,
@@ -33,4 +37,8 @@ icy_server_metadata_header(const char *name,
struct page*
icy_server_metadata_page(const struct tag *tag, ...);
+#ifdef __cplusplus
+}
+#endif
+
#endif