diff options
author | Max Kellermann <max@duempel.org> | 2013-09-03 09:18:30 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-09-03 09:18:30 +0200 |
commit | 8d36367fe2e593363ff941183da8804671fe9e3e (patch) | |
tree | e84389f426c013a36a4b426546266e0dee40ace1 /src/input | |
parent | 3deca8fccd9776828808d35181203d8fd95eb450 (diff) | |
download | mpd-8d36367fe2e593363ff941183da8804671fe9e3e.tar.gz mpd-8d36367fe2e593363ff941183da8804671fe9e3e.tar.xz mpd-8d36367fe2e593363ff941183da8804671fe9e3e.zip |
input_stream.h: rename to InputLegacy.hxx
Diffstat (limited to '')
-rw-r--r-- | src/InputLegacy.hxx (renamed from src/input_stream.h) | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/src/input_stream.h b/src/InputLegacy.hxx index b5b251f59..53fab3aae 100644 --- a/src/input_stream.h +++ b/src/InputLegacy.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,27 +17,21 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef MPD_INPUT_STREAM_H -#define MPD_INPUT_STREAM_H +#ifndef MPD_INPUT_LEGACY_HXX +#define MPD_INPUT_LEGACY_HXX #include "check.h" +#include "thread/Mutex.hxx" +#include "thread/Cond.hxx" #include "gcc.h" #include <glib.h> #include <stddef.h> -#include <stdbool.h> -#include <sys/types.h> struct Tag; struct input_stream; -#ifdef __cplusplus -extern "C" { - -#include "thread/Mutex.hxx" -#include "thread/Cond.hxx" - /** * Opens a new input stream. You may not access it until the "ready" * flag is set. @@ -56,8 +50,6 @@ input_stream_open(const char *uri, Mutex &mutex, Cond &cond, GError **error_r); -#endif - /** * Close the input stream and free resources. * @@ -229,8 +221,4 @@ size_t input_stream_lock_read(struct input_stream *is, void *ptr, size_t size, GError **error_r); -#ifdef __cplusplus -} -#endif - #endif |