1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-02-02 15:07:36 -05:00

Feature: Added stub src/json.[ch]

This commit is contained in:
Philipp Schafft 2020-10-04 06:55:30 +00:00
parent 96d6190dbf
commit 261ee12c04
3 changed files with 40 additions and 0 deletions

View File

@ -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 \

23
src/json.c Normal file
View File

@ -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 <lion@lion.leolix.org>,
*/
/**
* This file contains functions for rendering JSON.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h>
#include "json.h"
#include "logging.h"
#define CATMODULE "json"

15
src/json.h Normal file
View File

@ -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 <lion@lion.leolix.org>,
*/
/* This file contains functions for rendering JSON. */
#ifndef __JSON_H__
#define __JSON_H__
#endif