diff --git a/src/Makefile.am b/src/Makefile.am index d1c29bee..50ac53b2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -35,6 +35,7 @@ noinst_HEADERS = \ module.h \ reportxml.h \ reportxml_helper.h \ + json.h \ listensocket.h \ fastevent.h \ event.h \ @@ -82,6 +83,7 @@ icecast_SOURCES = \ module.c \ reportxml.c \ reportxml_helper.c \ + json.c \ listensocket.c \ fastevent.c \ format.c \ diff --git a/src/json.c b/src/json.c new file mode 100644 index 00000000..11f72e1f --- /dev/null +++ b/src/json.c @@ -0,0 +1,23 @@ +/* Icecast + * + * This program is distributed under the GNU General Public License, version 2. + * A copy of this license is included with this source. + * + * Copyright 2018-2020, Philipp "ph3-der-loewe" Schafft , + */ + +/** + * This file contains functions for rendering JSON. + */ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include + +#include "json.h" + +#include "logging.h" +#define CATMODULE "json" + diff --git a/src/json.h b/src/json.h new file mode 100644 index 00000000..8c2fa8f0 --- /dev/null +++ b/src/json.h @@ -0,0 +1,15 @@ +/* Icecast + * + * This program is distributed under the GNU General Public License, version 2. + * A copy of this license is included with this source. + * + * Copyright 2020, Philipp "ph3-der-loewe" Schafft , + */ + +/* This file contains functions for rendering JSON. */ + +#ifndef __JSON_H__ +#define __JSON_H__ + + +#endif