diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-17 12:13:56 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-17 12:13:56 +0200 |
commit | 56432d661e34de9aa0d1727fb7b06f19aa18723e (patch) | |
tree | 11cd9f4272afae4867496dc942f35866718d2a7c /libpiano/xml.h | |
parent | dddcf192c7c9d3a4cb19e7523d81ed2b11d560ad (diff) | |
download | pianobar-56432d661e34de9aa0d1727fb7b06f19aa18723e.tar.gz pianobar-56432d661e34de9aa0d1727fb7b06f19aa18723e.tar.bz2 pianobar-56432d661e34de9aa0d1727fb7b06f19aa18723e.zip |
More error handling.
Now we can parse and handle pandora's <fault> messages and abort the parsing
process. Some more fault type should be added, as well as more client support
for those errors.
Diffstat (limited to 'libpiano/xml.h')
-rw-r--r-- | libpiano/xml.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libpiano/xml.h b/libpiano/xml.h index f8c9106..54deb6e 100644 --- a/libpiano/xml.h +++ b/libpiano/xml.h @@ -23,8 +23,10 @@ THE SOFTWARE. #ifndef _XML_H #define _XML_H -void PianoXmlParseUserinfo (PianoHandle_t *ph, char *xml); -void PianoXmlParseStations (PianoHandle_t *ph, char *xml); +#include "piano.h" + +PianoReturn_t PianoXmlParseUserinfo (PianoHandle_t *ph, char *xml); +PianoReturn_t PianoXmlParseStations (PianoHandle_t *ph, char *xml); void PianoXmlParsePlaylist (PianoHandle_t *ph, char *xml); void PianoXmlParseSearch (char *searchXml, PianoSearchResult_t *searchResult); |