CGIRef Change Log

This file contains a listing of all the changes made to CGIRef.
DateVersion AppearedChangeRationale
1997/12/60.02b Introduced cgiErr() function, and wrapped code in user-callable functions with call to check a readiness variable. Concern that lib routines may be called when library has not been initialized
1997/12/40.02b Consolidated cgiInitGET() and cgiInitPOST() into cgiInit() Simplify API by consolidating two functions into one. Also eliminated need to pass number of expected vars, as library calculates this number.
1997/12/40.02b Added cgiShutDown() function So that memory is freed when CGI app has ended, and API is flagged as unusable, such that errant calls will not reference invalid memory. NOTE: Most OS's free memory upon the exit of a program. This change may help with a future FastCGI implementation. It is still the programmer's choice to use it.
1997/11/280.02b Revamped parsing algorithm API wasting memory with too many allocs. On a single call, up to 1MB or more of memory could be allocated. Reduced to amount of memory necessary to hold full query string, plus variable tables. Converted all malloc()s to calloc()s, so that memory is cleared when allocated.
2002/05/021.00b Updated version, placed on sourceforge Renamed generated files to cgiref rather than cgi. Changed the main function to return an int. Redid file structure. Blech. Redid makefiles. Super-blech.