First draft of the libosl patch series.
Use symbolic names for loglevels and clean up the ggo mess. We now use m4 to generate the ggo files, which allows to get rid of a lot of duplicated command line options and improves the readability of the man pages.
Add some missing source code documentation.
Change year of copyright from 2008 to 2009.
make send_callback_request() and friends take a result handler. This is a first step to overcome a design flaw in the afs callback code: The output of the commands is currently stored in an osl object that is copied to a shared memory area whose shmid is passed back to the command handler via the local socket. This method limits the size of the command output to the maximal size that can be stored in a shared memory area which is not enough to hold large outputs like that of ls -c. This patch allows the command handlers to pass a result handler function instead of an osl object. This result handler is called for each shared memory area that gets sent through the local socket. Further patches will change the callbacks so that they pass multiple result buffers instead of returning a single buffer. This has the additional advantage that partial command output produced by the callback can be sent even before the callback returns. This parital output is seen immediately by the command handler.
fsck.c: Fix typo. Spotted and fixed by Gerrit Renker.
Change year in Copyright comment from 2007 to 2008.
Turn PARA_STRERROR into an inline function. Add documentation and an assertion for (num > 0).
fsck.c: Improve log messages.
fsck.c: Fix NULL-pointer dereference. fsck_cleanup() might be called with t == NULL.
fsck.c: Loglevel adjustments.
Move mmap_full_file from osl.c to fd.c. To make it independent from osl.c, we must not pass a pointer to struct osl_data. Replace it by void *, size_t * pointers. Also add new int *fd_ptr parameter. If it's non-NULL the file is not closed after mmap, and the open fd is returned in fd_ptr.
Remove some system errors from errno.h No need to have system errors duplicated in error.h. Just return -ERRNO_TO_PARA_ERROR(errno) in these cases.
fsck.c: Fix several bugs in dump mode. - Don't abort if a directory can't be created because it already exists. - Use correct variable for the disk storage name column. - If more than one table is to be dumped, use a directory for each table. - Remove __a_unused for main()'s argc which _is_ being used.
fsck.c: Fix a double free bug.
Make para_fsck work without specifying tables. Also, move some fd related functions from osl.c to fd.c and introduce para_opendir().
Gengetoptify para_fsck. Basic fsck works, but some options are not yet implemented, and dump is busted.
Add para_fsck.