AOLserver C Module Example

$Header: /cvsroot/aolserver/,v 1.2 2002/09/26 19:51:32 kriston Exp $

C Module Example

Download the Example

C Module Example

This module demonstrates some guidelines to follow when creating an AOLserver module. Here they are in a nutshell:

1) Each module has a readme file. The file can be named README-modulename.txt or readme.txt (the first form is preferred).

2) Each file has an entry called "(dollar-sign)Header: (dollar-sign)" near the top of the document. This includes html, adp, tcl, java, c, as well as any plain text file. Data files directly read by a module may be excluded.

3) The Makefile follows the format of the example provided here and must be named "Makefile" (not "makefile"): Makefile

4) A ChangeLog file reflects the changes made to the code and must be named "ChangeLog". This can be a simple cut-and-paste of your CVS log entry. This is absolutely essential! Emacs users can type "C-x 4 a" to automatically create ChangeLog entries. ChangeLog.

5) Modules should follow the AOLserver Engineering Manual guidelines at as closely as possible.

6) CVS tags include the name of the module followed by the version. This is typically "nsmodulename3_0" or "nsmodulename_v3_0" (or even just "nsmodulename_v3"). Major and minor numbers are delimited by underscores since CVS doesn't allow the use of the period character. Tags should be done with care.

7) Try not to type cvs commands in your $TOP directory. Always work from the subdirectory. The only exception to this is "cvs update" and "cvs checkout".

Thanks for reading, and contribute away!

C Module Example