Skip to content
Snippets Groups Projects
Commit 754fead1 authored by Andreas Mieke's avatar Andreas Mieke Committed by Philipp Schafft
Browse files

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.
parent ae83ea87
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment