summaryrefslogtreecommitdiff
path: root/libpiano/src/xml.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-07-23 15:47:28 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-07-23 15:47:28 +0200
commit5afcd41752602f8c76faab8042a46e6b8c66bbb6 (patch)
tree39870e8e903490896b3f617e28b321ac78b4c83a /libpiano/src/xml.h
parent95df994be69a49a6e40a105fa349a553dd03a766 (diff)
downloadpianobar-5afcd41752602f8c76faab8042a46e6b8c66bbb6.tar.gz
pianobar-5afcd41752602f8c76faab8042a46e6b8c66bbb6.tar.bz2
pianobar-5afcd41752602f8c76faab8042a46e6b8c66bbb6.zip
Be correct, use "const"
Diffstat (limited to 'libpiano/src/xml.h')
-rw-r--r--libpiano/src/xml.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/libpiano/src/xml.h b/libpiano/src/xml.h
index 95d9d93..5ee7e7c 100644
--- a/libpiano/src/xml.h
+++ b/libpiano/src/xml.h
@@ -25,18 +25,19 @@ THE SOFTWARE.
#include "piano.h"
-PianoReturn_t PianoXmlParseUserinfo (PianoHandle_t *ph, char *xml);
-PianoReturn_t PianoXmlParseStations (PianoHandle_t *ph, char *xml);
-PianoReturn_t PianoXmlParsePlaylist (PianoHandle_t *ph, char *xml);
-PianoReturn_t PianoXmlParseSearch (char *searchXml,
+PianoReturn_t PianoXmlParseUserinfo (PianoHandle_t *ph, const char *xml);
+PianoReturn_t PianoXmlParseStations (PianoHandle_t *ph, const char *xml);
+PianoReturn_t PianoXmlParsePlaylist (PianoHandle_t *ph, const char *xml);
+PianoReturn_t PianoXmlParseSearch (const char *searchXml,
PianoSearchResult_t *searchResult);
-PianoReturn_t PianoXmlParseSimple (char *xml);
-PianoReturn_t PianoXmlParseCreateStation (PianoHandle_t *ph, char *xml);
-PianoReturn_t PianoXmlParseAddSeed (PianoHandle_t *ph, char *xml,
+PianoReturn_t PianoXmlParseSimple (const char *xml);
+PianoReturn_t PianoXmlParseCreateStation (PianoHandle_t *ph,
+ const char *xml);
+PianoReturn_t PianoXmlParseAddSeed (PianoHandle_t *ph, const char *xml,
PianoStation_t *station);
PianoReturn_t PianoXmlParseGenreExplorer (PianoHandle_t *ph,
- char *xmlContent);
-PianoReturn_t PianoXmlParseTranformStation (char *searchXml);
+ const char *xmlContent);
+PianoReturn_t PianoXmlParseTranformStation (const char *searchXml);
char *PianoXmlEncodeString (const char *s);