1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-11-03 04:17:17 -05:00
icecast-server/src
Andreas Mieke 754fead151 Add XML validation
This commit adds a function to check the validity of the icecast.xml
configuration file. The function returns 0 if the file is valid, -1 if
there was an unknown error or error codes as defined in
xmlRelaxNGValidErr.

TODO:
* Add  the schema somewhere into the repository where it makes sense.
* Use the function to validate the configuration file and add handling
for invalid configuration files.
2015-09-05 09:52:20 +00:00
..
common@411e159df0 Sync submodules 2015-02-10 21:26:33 +00:00
acl.c Cleanup codestyle 2015-01-25 19:57:27 +01:00
acl.h Epic Git migration commit 2014-12-02 22:50:57 +01:00
admin.c Fix: Fixed some smaller bugs such as leaks and performance improvements. 2015-04-08 09:36:59 +00:00
admin.h Remove stray space that managed to sneak in 2015-03-01 17:11:31 +00:00
auth_anonymous.c Cleanup codestyle 2015-01-25 19:57:27 +01:00
auth_htpasswd.c Fixed log messages and comments 2015-03-01 16:55:27 +00:00
auth_static.c Fixed log messages and comments 2015-03-01 16:55:27 +00:00
auth_url.c Cleanup: move libcurl specifc code into curl.c 2015-04-08 07:44:36 +00:00
auth.c Fixed log messages and comments 2015-03-01 16:55:27 +00:00
auth.h Cleanup codestyle 2015-01-25 19:57:27 +01:00
cfgfile.c Add XML validation 2015-09-05 09:52:20 +00:00
cfgfile.h Added config option for history size. 2015-03-28 17:34:35 +00:00
client.c Feature: Support PUT with chunked transfer encoding. 2015-02-10 21:18:52 +00:00
client.h Feature: Support PUT with chunked transfer encoding. 2015-02-10 21:18:52 +00:00
compat.h win32 updates. cleanup of the start and finish of the gui and service 2009-08-05 22:32:47 +00:00
configtest.c Cleanup: Removed tailing spaces 2015-01-10 18:53:44 +00:00
connection.c Fixed log messages and comments 2015-03-01 16:55:27 +00:00
connection.h Feature: Support PUT with chunked transfer encoding. 2015-02-10 21:18:52 +00:00
curl.c Cleanup: move libcurl specifc code into curl.c 2015-04-08 07:44:36 +00:00
curl.h Cleanup: move libcurl specifc code into curl.c 2015-04-08 07:44:36 +00:00
event_exec.c Fixed log messages and comments 2015-03-01 16:55:27 +00:00
event_exec.h Added <event>: Unified handling of events. 2014-12-08 00:39:57 +00:00
event_log.c Fixed log messages and comments 2015-03-01 16:55:27 +00:00
event_log.h Added <event>: Unified handling of events. 2014-12-08 00:39:57 +00:00
event_url.c Cleanup: move libcurl specifc code into curl.c 2015-04-08 07:44:36 +00:00
event_url.h Added <event>: Unified handling of events. 2014-12-08 00:39:57 +00:00
event.c Fixed log messages and comments 2015-03-01 16:55:27 +00:00
event.h Added <event>: Unified handling of events. 2014-12-08 00:39:57 +00:00
format_ebml.c Fix: Fixed some smaller bugs such as leaks and performance improvements. 2015-04-08 09:36:59 +00:00
format_ebml.h Clarify that only these specific files are GPLv2 or v3. 2012-05-24 18:32:06 +00:00
format_flac.c Cleanup: Removed tailing spaces 2015-01-10 18:53:44 +00:00
format_flac.h better coding style, patch by ePirat. refs #2059 2014-11-30 20:32:30 +00:00
format_kate.c Cleanup: Removed tailing spaces 2015-01-10 18:53:44 +00:00
format_kate.h better coding style, patch by ePirat. refs #2059 2014-11-30 20:32:30 +00:00
format_midi.c Cleanup: Removed tailing spaces 2015-01-10 18:53:44 +00:00
format_midi.h better coding style, patch by ePirat. refs #2059 2014-11-30 20:32:30 +00:00
format_mp3.c Fix: Fixed some smaller bugs such as leaks and performance improvements. 2015-04-08 09:36:59 +00:00
format_mp3.h Feature: Extract metadata and export them to stats.xml 2014-12-09 16:08:27 +00:00
format_ogg.c Initial patch for playlist history support. 2015-03-28 16:15:49 +00:00
format_ogg.h Feature: Extract metadata and export them to stats.xml 2014-12-09 16:08:27 +00:00
format_opus.c Feature: Extract metadata and export them to stats.xml 2014-12-09 16:08:27 +00:00
format_opus.h better coding style, patch by ePirat. refs #2059 2014-11-30 20:32:30 +00:00
format_skeleton.c Cleanup: Removed tailing spaces 2015-01-10 18:53:44 +00:00
format_skeleton.h Add Kate and Skeleton codecs to ogg handler. patch by ogg.k.ogg.k 2008-04-19 02:11:37 +00:00
format_speex.c Cleanup: Removed tailing spaces 2015-01-10 18:53:44 +00:00
format_speex.h better coding style, patch by ePirat. refs #2059 2014-11-30 20:32:30 +00:00
format_theora.c Cleanup: Removed tailing spaces 2015-01-10 18:53:44 +00:00
format_theora.h merge multi ogg codec handling. Handle theora and/or vorbis. Place new 2004-12-07 21:06:26 +00:00
format_vorbis.c Cleanup: Removed tailing spaces 2015-01-10 18:53:44 +00:00
format_vorbis.h merge multi ogg codec handling. Handle theora and/or vorbis. Place new 2004-12-07 21:06:26 +00:00
format.c Fix that global listener count could be negative under certain circumstances 2015-06-06 14:09:44 +02:00
format.h Feature: Extract metadata and export them to stats.xml 2014-12-09 16:08:27 +00:00
fserve.c Fix: Handle case realloc() is used as free(). 2015-04-08 13:05:10 +00:00
fserve.h Allow rereading of the mime types file on xml reload. Also allow for specifying 2007-08-13 21:33:27 +00:00
global.c Cleanup: Removed tailing spaces 2015-01-10 18:53:44 +00:00
global.h Epic Git migration commit 2014-12-02 22:50:57 +01:00
logging.c Fix: Fixed some smaller bugs such as leaks and performance improvements. 2015-04-08 09:36:59 +00:00
logging.h Added <event>: Unified handling of events. 2014-12-08 00:39:57 +00:00
main.c Cleanup: move libcurl specifc code into curl.c 2015-04-08 07:44:36 +00:00
Makefile.am Cleanup: move libcurl specifc code into curl.c 2015-04-08 07:44:36 +00:00
md5.c Cleanup: Removed tailing spaces 2015-01-10 18:53:44 +00:00
md5.h minor cleanups 2004-11-20 02:16:59 +00:00
playlist.c Fix: Include required headers 2015-08-10 08:54:21 +00:00
playlist.h Initial patch for playlist history support. 2015-03-28 16:15:49 +00:00
refbuf.c Cleanup: Removed tailing spaces 2015-01-10 18:53:44 +00:00
refbuf.h type cleanups. reduces memory usage on 64bit, no difference on 32bit. closes #780 2007-12-15 17:02:16 +00:00
sighandler.c Cleanup: Removed tailing spaces 2015-01-10 18:53:44 +00:00
sighandler.h cleanup unused var schedule_config_reread. 2012-11-13 11:25:46 +00:00
slave.c Cleanup: Removed tailing spaces 2015-01-10 18:53:44 +00:00
slave.h Epic Git migration commit 2014-12-02 22:50:57 +01:00
source.c Fix possible segfaults when header allocation fails 2015-06-06 14:09:44 +02:00
source.h Initial patch for playlist history support. 2015-03-28 16:15:49 +00:00
stats.c Fix: Fixed some smaller bugs such as leaks and performance improvements. 2015-04-08 09:36:59 +00:00
stats.h Added 'lagcay' mode stats.xml. 2014-12-18 09:56:54 +00:00
TODO added new lion at end of file so it does not mess up my console. 2012-07-17 14:50:44 +00:00
util.c Fix: Let util_url_escape() handle NULL parameter. 2015-04-08 10:25:25 +00:00
util.h Fix: Added some more HTTP/1.1 headers 2015-02-01 11:56:03 +00:00
xslt.c Fix: Use correct malloc function 2015-03-01 15:53:57 +00:00
xslt.h Epic Git migration commit 2014-12-02 22:50:57 +01:00
yp.c Cleanup: move libcurl specifc code into curl.c 2015-04-08 07:44:36 +00:00
yp.h better coding style, patch by ePirat. refs #2059 2014-11-30 20:32:30 +00:00