mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-04-18 00:48:43 -04:00
Feature: Added stub src/json.[ch]
This commit is contained in:
parent
96d6190dbf
commit
261ee12c04
@ -35,6 +35,7 @@ noinst_HEADERS = \
|
|||||||
module.h \
|
module.h \
|
||||||
reportxml.h \
|
reportxml.h \
|
||||||
reportxml_helper.h \
|
reportxml_helper.h \
|
||||||
|
json.h \
|
||||||
listensocket.h \
|
listensocket.h \
|
||||||
fastevent.h \
|
fastevent.h \
|
||||||
event.h \
|
event.h \
|
||||||
@ -82,6 +83,7 @@ icecast_SOURCES = \
|
|||||||
module.c \
|
module.c \
|
||||||
reportxml.c \
|
reportxml.c \
|
||||||
reportxml_helper.c \
|
reportxml_helper.c \
|
||||||
|
json.c \
|
||||||
listensocket.c \
|
listensocket.c \
|
||||||
fastevent.c \
|
fastevent.c \
|
||||||
format.c \
|
format.c \
|
||||||
|
23
src/json.c
Normal file
23
src/json.c
Normal 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
15
src/json.h
Normal 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
|
Loading…
x
Reference in New Issue
Block a user