From c17e785395246007a177b69347213384094befc5 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 12 Jun 2008 20:55:24 +0200 Subject: lib: Misc documentation fixes --- libpiano/xml.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'libpiano/xml.c') diff --git a/libpiano/xml.c b/libpiano/xml.c index 3862cb5..de3f150 100644 --- a/libpiano/xml.c +++ b/libpiano/xml.c @@ -246,6 +246,12 @@ void PianoXmlParseStations (PianoHandle_t *ph, char *xml) { xmlCleanupParser(); } +/* parses playlist; used when searching too + * @author PromyLOPh + * @added 2008-06-12 + * @param piano handle + * @param xml document + */ void PianoXmlParsePlaylist (PianoHandle_t *ph, char *xml) { /* FIXME: copy & waste */ xmlNode *docRoot = NULL, *curNode = NULL; @@ -339,7 +345,7 @@ void PianoXmlParseSearchArtistCb (char *key, xmlNode *value, void *data) { } /* callback for xml struct parser used in PianoXmlParseSearch, "switch" for - * PianoXmlParseSearchArtistCb and XXX + * PianoXmlParseSearchArtistCb and PianoXmlParsePlaylistCb * @author PromyLOPh * @added 2008-06-12 */ @@ -399,7 +405,7 @@ void PianoXmlParseSearchCb (char *key, xmlNode *value, void *data) { } } -/* parse search result +/* parse search result; searchResult is nulled before use * @author PromyLOPh * @added 2008-06-12 * @param xml document @@ -428,7 +434,7 @@ void PianoXmlParseSearch (char *searchXml, xmlCleanupParser(); } -/* encode reserved chars +/* encode reserved xml chars * @author PromyLOPh * @added 2008-06-10 * @param encode this -- cgit v1.2.3