]> git.tuebingen.mpg.de Git - adu.git/blobdiff - adu.c
Add documentation of DEFINE_ERRLIST.
[adu.git] / adu.c
diff --git a/adu.c b/adu.c
index cd77fd9f9f4741b7c9f805072737bc4216f1f36e..b8c7b68f905b2448aa069eb2d6820e029ca42baf 100644 (file)
--- a/adu.c
+++ b/adu.c
@@ -5,6 +5,17 @@
  */
 
 /** \file adu.c \brief The main functions used by all modes of operation. */
  */
 
 /** \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
+ * - Generated files: \ref cmdline.h, \ref select.cmdline.h
+ */
+
 #include "adu.h"
 #include <dirent.h> /* readdir() */
 #include <pwd.h>
 #include "adu.h"
 #include <dirent.h> /* readdir() */
 #include <pwd.h>
@@ -17,6 +28,7 @@
 #include "string.h"
 #include "error.h"
 
 #include "string.h"
 #include "error.h"
 
+/** Define the array of error descriptions. */
 DEFINE_ERRLIST;
 
 /**
 DEFINE_ERRLIST;
 
 /**