Functions

dirlisting.h File Reference

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.

Detailed Description

Directory-listing helper functions.

This module contains routines for creating a directory-listing HTML page.


Function Documentation

void dirlistingPrintEntry ( FILE *  stream,
const char  dirName[],
const char  entryName[] 
)

Prints an entry of a directory listing to a stream.

Parameters:
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.

Parameters:
stream The output stream.
dirName Name of the directory.
 All Files Functions Typedefs