X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=adu.c;h=b227589dbbb8e5f467421178c1d78ae052e1efb0;hp=cd77fd9f9f4741b7c9f805072737bc4216f1f36e;hb=0194c573c16dce254095636e303d9cda80898025;hpb=7c5fafb3a13d58cdfc96f90b74972f7d9f7adef1 diff --git a/adu.c b/adu.c index cd77fd9..b227589 100644 --- a/adu.c +++ b/adu.c @@ -5,6 +5,16 @@ */ /** \file adu.c \brief The main functions used by all modes of operation. */ + +/** + * \mainpage adu API reference + * + * - Modes of operation: \ref select.c, \ref create.c, \ref interactive.c + * - User handling: \ref user.c + * - Error handling: \ref error.h + * - Library-type functions: \ref fd.c, \ref format.c, \ref string.c, \ref portable_io.h, \ref bloom.c + */ + #include "adu.h" #include /* readdir() */ #include @@ -17,10 +27,11 @@ #include "string.h" #include "error.h" +/** Define the array of error descriptions. */ DEFINE_ERRLIST; /** - * The error code of the last osl library function. + * The error code of the last called osl library function. * * \sa osl(). */ @@ -210,7 +221,7 @@ static int check_args(void) return 1; } -static int print_complete_help_and_die(void) +static void print_complete_help_and_die(void) { const char **line;