summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2011-07-23 17:17:50 +0200
committerLars-Dominik Braun <lars@6xq.net>2011-07-23 17:17:50 +0200
commitba936d5092e5369188e74737f820427acf3bd145 (patch)
tree87222a9d8a623d762aff3e0637c79d8021cc2bfd
parentc5a89908b05126fd59ea7d4fd42d9570a2ca6228 (diff)
downloadpianobar-windows-ba936d5092e5369188e74737f820427acf3bd145.tar.gz
pianobar-windows-ba936d5092e5369188e74737f820427acf3bd145.tar.bz2
pianobar-windows-ba936d5092e5369188e74737f820427acf3bd145.zip
Fix comments
-rw-r--r--src/ui.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ui.c b/src/ui.c
index 20f7170..ab22f8a 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -147,10 +147,11 @@ static WaitressReturn_t BarPianoHttpRequest (WaitressHandle_t *waith,
/* piano wrapper: prepare/execute http request and pass result back to
* libpiano (updates data structures)
- * @param piano handle
+ * @param app handle
* @param request type
- * @param waitress handle
- * @param data pointer (used as request data)
+ * @param request data
+ * @param stores piano return code
+ * @param stores waitress return code
* @return 1 on success, 0 otherwise
*/
int BarUiPianoCall (BarApp_t * const app, PianoRequestType_t type,
@@ -327,10 +328,8 @@ static PianoStation_t **BarSortedStations (PianoStation_t *unsortedStations,
}
/* let user pick one station
- * @param piano handle
+ * @param app handle
* @param prompt string
- * @param station list sort order
- * @param input fds
* @return pointer to selected station or NULL
*/
PianoStation_t *BarUiSelectStation (BarApp_t *app, const char *prompt) {
@@ -415,8 +414,8 @@ PianoSong_t *BarUiSelectSong (const BarSettings_t *settings,
}
/* let user pick one artist
+ * @param app handle
* @param artists (linked list)
- * @param input fds
* @return pointer to selected artist or NULL on abort
*/
PianoArtist_t *BarUiSelectArtist (BarApp_t *app, PianoArtist_t *startArtist) {
@@ -460,6 +459,7 @@ PianoArtist_t *BarUiSelectArtist (BarApp_t *app, PianoArtist_t *startArtist) {
/* search music: query, search request, return music id
* @param app handle
* @param allow seed suggestions if != NULL
+ * @param prompt string
* @return musicId or NULL on abort/error
*/
char *BarUiSelectMusicId (BarApp_t *app, char *similarToId, const char *msg) {