Welcome to libccgi, a library for writing CGI programs in C. The library decodes CGI variables and cookies and stores them in lookup tables. You can look up CGI data by name or you can traverse a lookup table iteratively. The library supports file uploads, provides various data conversion functions, simple cryptography support, and a pre forking SCGI server. For details, see the documentation. To download, go to sourceforge.
The C CGI library is primarily for processing CGI input. To generate the output, you may find the libctemplate C Template Library useful.