From: Andre Noll Date: Wed, 31 Oct 2007 00:19:26 +0000 (+0100) Subject: More documentation. X-Git-Tag: v0.3.0~164 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=00581ce02d1b5391569c8f3fc7739274b31bacf8 More documentation. --- 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