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 "IcyMetaDataParser.hxx"
#include "event/MultiSocketMonitor.hxx"
extern "C" {
#include "input_internal.h"
}
#include "event/Loop.hxx"
#include "IOThread.hxx"
#include "glib_compat.h"

View File

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

View File

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