From fc349af94466fbfa95c2f4d1c3435eecc11c3f2b Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Tue, 10 Jun 2008 21:20:27 +0200 Subject: Rename PianoXmlParseRate to -Simple. Other calls return a similar xml document --- libpiano/xml.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libpiano') diff --git a/libpiano/xml.c b/libpiano/xml.c index 97f56f8..e59e4b4 100644 --- a/libpiano/xml.c +++ b/libpiano/xml.c @@ -283,13 +283,15 @@ void PianoXmlParsePlaylist (PianoHandle_t *ph, char *xml) { xmlCleanupParser(); } -/* parse addFeedback answer +/* parse simple answers like this: + * 1 + * * @author PromyLOPh * @added 2008-06-10 * @param xml string * @return */ -PianoReturn_t PianoXmlParseRate (char *xml) { +PianoReturn_t PianoXmlParseSimple (char *xml) { xmlNode *docRoot = NULL, *curNode = NULL; xmlDocPtr doc = xmlReadDoc ((xmlChar *) xml, NULL, NULL, 0); PianoReturn_t ret = PIANO_RET_ERR; -- cgit v1.2.3