Author: John-Mark Gurney <gurney_j@efn.org>
Primary-site: http://resnet.uoregon.edu/~gurney_j/
Version: 0.5b

This is a library that will allow you to write very easy cgi scripts as this
will parse the query string for you.

To Use:

A)	Linked directly into your program

	1)	compile cgi.c into a .o file like:
		cc ${CFLAGS} cgi.c -o cgiparse.o
	2)	when compiling your own program add cgi.o to the object files
		such as:
		cc ${CFLAGS} foo.o bar.o cgiparse.o -o yourprog

B)	As a library (easiest with FreeBSD)

	1)	run: "make", this will make the libraries that you need

	2)	su to root and then "make install" to install the libraries

	3)	rerun ldconfig with all paths, make sure /usr/local/lib is
		included

	4)	link with your program, such as:
		cc ${CFLAGS} -L/usr/local/lib foo.o bar.o -lcgiparse -o foob


These should work, but don't hold me to 'em.

Fuctions you can call:

const char *cgigetvalue(char *)

	call this function with the name of your input field and it will return
the value of it.


void cgiclose()

	deallocate any memory used and return it to what it was before the
program started.


void cginewquerystr(char *)

	sets your own QUERY_STRING without having to use putenv().  Call it
without the preceeding "QUERY_STRING=".  This is useful for testing your
program with certain input.


Other Sources of Code
=====================

This product includes software developed by the Apache Group
for use in the Apache HTTP server project (http://www.apache.org/).
