From 452c770acfd3aa3e1bae29ae35a62566c740e044 Mon Sep 17 00:00:00 2001 From: Andre Date: Sun, 2 Apr 2006 01:08:36 +0200 Subject: [PATCH] db.h: fix documentation The pre_select function of struct audio_file_selector must _return_ the highest-numbered file descriptor. --- db.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/db.h b/db.h index b1368699..3b9d4530 100644 --- a/db.h +++ b/db.h @@ -29,8 +29,6 @@ int find_audio_files(const char *dirname, int (*f)(const char *, const char *)); * There is one such struct for each supported selector. During the startup * part of para_server the \a init() function of the activated selector gets * called which fills in all other function pointers. - - * * */ struct audio_file_selector { @@ -100,8 +98,8 @@ void (*shutdown)(void); * para_server enters its main select loop. The selector may add its own file * descriptors to the \a rfds or the \a wfds set. * - * If a file descriptor was added, \a max_fileno must be increased by - * this function, if neccessary. + * \return The highest-numbered file descriptor which was added to either of + * the two fd sets (or -1 if no file descriptors were added). * * \sa select(2) */ -- 2.39.2