input_internal.h: add extern "C"

This commit is contained in:
Max Kellermann 2013-01-21 10:52:19 +01:00
parent c1daa857a5
commit e01615fd1e
3 changed files with 8 additions and 8 deletions

View File

@ -24,11 +24,7 @@
#include "tag.h" #include "tag.h"
#include "IcyMetaDataParser.hxx" #include "IcyMetaDataParser.hxx"
#include "event/MultiSocketMonitor.hxx" #include "event/MultiSocketMonitor.hxx"
extern "C" {
#include "input_internal.h" #include "input_internal.h"
}
#include "event/Loop.hxx" #include "event/Loop.hxx"
#include "IOThread.hxx" #include "IOThread.hxx"
#include "glib_compat.h" #include "glib_compat.h"

View File

@ -20,11 +20,7 @@
#include "config.h" #include "config.h"
#include "SoupInputPlugin.hxx" #include "SoupInputPlugin.hxx"
#include "input_plugin.h" #include "input_plugin.h"
extern "C" {
#include "input_internal.h" #include "input_internal.h"
}
#include "IOThread.hxx" #include "IOThread.hxx"
#include "event/Loop.hxx" #include "event/Loop.hxx"
#include "conf.h" #include "conf.h"

View File

@ -27,6 +27,10 @@
struct input_stream; struct input_stream;
struct input_plugin; struct input_plugin;
#ifdef __cplusplus
extern "C" {
#endif
void void
input_stream_init(struct input_stream *is, const struct input_plugin *plugin, input_stream_init(struct input_stream *is, const struct input_plugin *plugin,
const char *uri, GMutex *mutex, GCond *cond); const char *uri, GMutex *mutex, GCond *cond);
@ -40,4 +44,8 @@ input_stream_signal_client(struct input_stream *is);
void void
input_stream_set_ready(struct input_stream *is); input_stream_set_ready(struct input_stream *is);
#ifdef __cplusplus
}
#endif
#endif #endif