My Project
|
Directory-listing helper functions. More...
#include <stdio.h>
Go to the source code of this file.
Functions | |
void | dirlistingBegin (FILE *stream, const char dirName[]) |
Prints the beginning of a directory-listing HTML page to a stream. More... | |
void | dirlistingPrintEntry (FILE *stream, const char dirName[], const char entryName[]) |
Prints an entry of a directory listing to a stream. More... | |
void | dirlistingEnd (FILE *stream) |
Prints the end of a directory-listing HTML page to a stream. More... | |
Directory-listing helper functions.
This module contains routines for creating a directory-listing HTML page.
void dirlistingBegin | ( | FILE * | stream, |
const char | dirName[] | ||
) |
Prints the beginning of a directory-listing HTML page to a stream.
In addition to the HTML header, a page title and a pseudo-entry referring to the parent directory are printed.
stream | The output stream. |
dirName | Name of the directory. |
void dirlistingEnd | ( | FILE * | stream | ) |
Prints the end of a directory-listing HTML page to a stream.
stream | The output stream. |
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. |