diff --git a/src/Makefile.am b/src/Makefile.am index 8bff44c1..5796bcc0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -51,6 +51,7 @@ noinst_HEADERS = \ format_ogg.h \ format_mp3.h \ format_ebml.h \ + format_text.h \ format_vorbis.h \ format_theora.h \ format_flac.h \ @@ -100,6 +101,7 @@ icecast_SOURCES = \ format_midi.c \ format_flac.c \ format_ebml.c \ + format_text.c \ format_kate.c \ format_skeleton.c \ format_opus.c \ diff --git a/src/format_text.c b/src/format_text.c new file mode 100644 index 00000000..c83e7015 --- /dev/null +++ b/src/format_text.c @@ -0,0 +1,20 @@ +/* Icecast + * + * This program is distributed under the GNU General Public License, + * version 2. A copy of this license is included with this source. + * At your option, this specific source file can also be distributed + * under the GNU GPL version 3. + * + * Copyright 2021, Philipp "ph3-der-loewe" Schafft , + */ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include "format_text.h" + +#define CATMODULE "format-text" + +#include "logging.h" + diff --git a/src/format_text.h b/src/format_text.h new file mode 100644 index 00000000..58ce42ac --- /dev/null +++ b/src/format_text.h @@ -0,0 +1,16 @@ +/* Icecast + * + * This program is distributed under the GNU General Public License, version 2. + * A copy of this license is included with this source. + * + * Copyright 2021, Philipp "ph3-der-loewe" Schafft , + */ + +#ifndef __FORMAT_TEXT_H__ +#define __FORMAT_TEXT_H__ + +#include "format.h" + +int format_text_get_plugin(source_t *source); + +#endif /* __FORMAT_TEXT_H__ */