Directory-listing helper functions. More...
#include <stdio.h>Go to the source code of this file.
Functions | |
| void | dirlistingPrintHeadline (FILE *stream, const char dirName[]) |
| Prints the headline of a directory-listing HTML page to a stream. | |
| void | dirlistingPrintEntry (FILE *stream, const char dirName[], const char entryName[]) |
| Prints an entry of a directory listing to a stream. | |
Directory-listing helper functions.
This module contains routines for creating a directory-listing HTML page.
| void dirlistingPrintEntry | ( | FILE * | stream, | |
| const char | dirName[], | |||
| const char | entryName[] | |||
| ) |
Prints an entry of a directory listing to a stream.
| stream | The output stream. | |
| dirName | Name of the directory containing the entry. | |
| entryName | Name of the entry. |
| void dirlistingPrintHeadline | ( | FILE * | stream, | |
| const char | dirName[] | |||
| ) |
Prints the headline of a directory-listing HTML page to a stream.
In addition to the headline, a pseudo-entry referring to the parent directory is printed.
| stream | The output stream. | |
| dirName | Name of the directory. |
1.7.1