Also add a link to the file in the doxygen main page.
+/*
+ * Copyright (C) 2013-2014 Andre Noll <maan@systemlinux.org>
+ *
+ * Licensed under the GPL v2. For licencing details see COPYING.
+ */
+
+/** \file error2.c Simple program to create error2.h. */
+
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
}
}
+/**
+ * The main function of error2.c.
+ *
+ * The purpose of this program is to create the error2.h file which defines the
+ * enumerations of all error codes which may be used by any given .c file. This
+ * header is included by most .c files of the paraslash suite.
+ *
+ * Since this program is executed on the build system, it must be compiled with
+ * the host compiler.
+ *
+ * \return \p EXIT_SUCCESS or \p EXIT_FAILURE.
+ */
int main(void)
{
int ret;
* - Spawning processes: \ref exec.c,
* - Inter process communication: \ref ipc.c,
* - Blob tables: \ref blob.c,
- * - The error subsystem: \ref error.h.
+ * - The error subsystem: \ref error.h, \ref error2.c,
* - Access control for paraslash senders: \ref acl.c, \ref acl.h.
* - Internal crypto API: \ref crypt.h.
* - interactive sessions (libreadline): \ref interactive.c.