From 00581ce02d1b5391569c8f3fc7739274b31bacf8 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 31 Oct 2007 01:19:26 +0100 Subject: [PATCH] More documentation. --- playlist.c | 9 +++++++++ vss.c | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/playlist.c b/playlist.c index 95c2230b..826280b9 100644 --- a/playlist.c +++ b/playlist.c @@ -223,6 +223,15 @@ static int handle_audio_file_event(enum afs_events event, void *data) return score_add(row, 0); /* play it immediately */ } +/** + * Handle afs events relevant to playlists. + * + * \param event The event type. + * \param pb Unused. + * \param data Depends on the event type. + * + * \return Standard. + */ int playlists_event_handler(enum afs_events event, __a_unused struct para_buffer *pb, void *data) { diff --git a/vss.c b/vss.c index 4418c53a..aab05169 100644 --- a/vss.c +++ b/vss.c @@ -267,6 +267,10 @@ static enum afs_socket_status afsss; * This function gets called from para_server to determine the timeout value * for its main select loop. * + * \param rfds The set of file descriptors to be checked for reading. + * \param wfds The set of file descriptors to be checked for writing. + * \param max_fileno The highest-numbered file descriptor. + * * Before the timeout is computed, the current vss status flags are evaluated * and acted upon by calling appropriate functions from the lower layers. * Possible actions include -- 2.39.5