summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpiano/src/piano.h6
-rw-r--r--libpiano/src/xml.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/libpiano/src/piano.h b/libpiano/src/piano.h
index b832b69..bd90c4c 100644
--- a/libpiano/src/piano.h
+++ b/libpiano/src/piano.h
@@ -152,15 +152,15 @@ void PianoDestroyStations (PianoHandle_t *ph);
PianoReturn_t PianoConnect (PianoHandle_t *, char *, char *);
PianoReturn_t PianoGetStations (PianoHandle_t *ph);
-void PianoGetPlaylist (PianoHandle_t *ph, char *stationId);
+PianoReturn_t PianoGetPlaylist (PianoHandle_t *ph, char *stationId);
PianoReturn_t PianoRateTrack (PianoHandle_t *ph, PianoStation_t *station,
PianoSong_t *song, PianoSongRating_t rating);
PianoReturn_t PianoRenameStation (PianoHandle_t *ph, PianoStation_t *station,
char *newName);
PianoReturn_t PianoDeleteStation (PianoHandle_t *ph, PianoStation_t *station);
-void PianoSearchMusic (PianoHandle_t *ph, char *searchStr,
+PianoReturn_t PianoSearchMusic (PianoHandle_t *ph, char *searchStr,
PianoSearchResult_t *searchResult);
-void PianoCreateStation (PianoHandle_t *ph, char *musicId);
+PianoReturn_t PianoCreateStation (PianoHandle_t *ph, char *musicId);
#endif /* _PIANO_H */
diff --git a/libpiano/src/xml.h b/libpiano/src/xml.h
index 54deb6e..1165f12 100644
--- a/libpiano/src/xml.h
+++ b/libpiano/src/xml.h
@@ -27,11 +27,11 @@ THE SOFTWARE.
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,
+PianoReturn_t PianoXmlParsePlaylist (PianoHandle_t *ph, char *xml);
+PianoReturn_t PianoXmlParseSearch (char *searchXml,
PianoSearchResult_t *searchResult);
PianoReturn_t PianoXmlParseSimple (char *xml);
-void PianoXmlParseCreateStation (PianoHandle_t *ph, char *xml);
+PianoReturn_t PianoXmlParseCreateStation (PianoHandle_t *ph, char *xml);
char *PianoXmlEncodeString (const char *s);