[ Contents ] [ Index ]
[ Previous ] [ Next ]

C Examples

This chapter contains C examples that are available in the `examples/c directory under the AOLserver installation directory. These examples are indexed. If you want to find an example of a specific C function, look in the index under the name of the C function for the subentry "example of". For example:

Ns_RegisterDriver C function, 186

example of, 203, 225


The Commercial service level does not support the C API..




Here's an overview of the examples in this chapter:
Example Description
Example 1: hello Implements simple "hello world"
Example 2: alias Provides arbitrary URL-to-file translation
Example 3: counter Generates odometer-like page count image
Example 4: stats Implements simple connection statistics
Example 5: tclhello Shows how to extend the built-in Tcl scripting language
Example 6: tclcs Adds critical section primitives to the built-in Tcl
Example 7: postgres Illustrates user-defined database driver for Postgres95

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.