mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-11-03 04:17:17 -05:00
Feature: Added stub src/xml2json.[ch]
This commit is contained in:
parent
dccf0e046a
commit
4cab251919
@ -36,6 +36,7 @@ noinst_HEADERS = \
|
||||
reportxml.h \
|
||||
reportxml_helper.h \
|
||||
json.h \
|
||||
xml2json.h \
|
||||
listensocket.h \
|
||||
fastevent.h \
|
||||
event.h \
|
||||
@ -84,6 +85,7 @@ icecast_SOURCES = \
|
||||
reportxml.c \
|
||||
reportxml_helper.c \
|
||||
json.c \
|
||||
xml2json.c \
|
||||
listensocket.c \
|
||||
fastevent.c \
|
||||
format.c \
|
||||
|
21
src/xml2json.c
Normal file
21
src/xml2json.c
Normal file
@ -0,0 +1,21 @@
|
||||
/* 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 XML as JSON.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "xml2json.h"
|
||||
#include "json.h"
|
||||
|
||||
#include "logging.h"
|
||||
#define CATMODULE "xml2json"
|
14
src/xml2json.h
Normal file
14
src/xml2json.h
Normal file
@ -0,0 +1,14 @@
|
||||
/* 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 XML as JSON. */
|
||||
|
||||
#ifndef __XML2JSON_H__
|
||||
#define __XML2JSON_H__
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user