-#include "para.h"
-#include <openssl/sha.h>
+/*
+ * Copyright (C) 2007-2008 Andre Noll <maan@systemlinux.org>
+ *
+ * Licensed under the GPL v2. For licencing details see COPYING.
+ */
/** \file sha1.c Secure Hash Algorithm, provided by openssl. */
+#include "para.h"
+#include <openssl/sha.h>
+
/**
* Compute the sha1 hash.
*
/*
- * Copyright (C) 2006 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
-/** \file stdin.c functions that deal with reading from stdin */
+/** \file stdin.c Functions that deal with reading from stdin. */
#include <dirent.h> /* readdir() */
#include <assert.h>
#include "stdin.h"
/**
- * the pre_select function of the stdin task
+ * The pre_select function of the stdin task.
*
- * \param s the scheduler this task was registered to
- * \param t the task structure of the stdin task
+ * \param s The scheduler this task was registered to.
+ * \param t The task structure of the stdin task.
*
* This function is always successful. If there is space left in the
* buffer of the stdin task, it adds \p STDIN_FILENO to the read fd set
}
/**
- * the post select function of the stdin task
+ * The post select function of the stdin task.
*
- * \param s the scheduler this task was registered to
- * \param t the task structure of the stdin task
+ * \param s The scheduler this task was registered to.
+ * \param t The task structure of the stdin task.
*
* This function checks if \p STDIN_FILENO was included by in the read fd set
* of \a s during the previous pre_select call. If yes, and \p STDIN_FILENO
/*
- * Copyright (C) 2006 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
-/** \file stdout.c functions that deal with writing to stdout */
+/** \file stdout.c Functions that deal with writing to stdout. */
#include <dirent.h> /* readdir() */
#include <assert.h>
#include "stdout.h"
/**
- * the pre_select function of the stdout task
+ * The pre_select function of the stdout task.
*
- * \param s the scheduler this task was registered to
- * \param t the task structure of the stdout task
+ * \param s The scheduler this task was registered to.
+ * \param t The task structure of the stdout task.
*
* This function is always successful. If there is data available in the input
* buffer, it adds \p STDOUT_FILENO to the write fd set of \a s.
}
/**
- * the post select function of the stdout task
+ * The post select function of the stdout task.
*
- * \param s the scheduler this task was registered to
- * \param t the task structure of the stdout task
+ * \param s The scheduler this task was registered to.
+ * \param t The task structure of the stdout task.
*
* This function checks if \p STDOUT_FILENO was included by in the write fd set
* of \a s during the previous pre_select call. If yes, and \p STDOUT_FILENO
}
/**
- * initialize a stdout task structure with default values
+ * Initialize a stdout task structure with default values.
*
- * \param sot the stdout task structure
+ * \param sot The stdout task structure.
*
* This fills in the pre/post select function poinzters of the task structure
* given by \a sot. It also sets up a default error handler which unregisters