Date | Version Appeared | Change | Rationale |
1997/12/6 | 0.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/4 | 0.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/4 | 0.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/28 | 0.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/02 | 1.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.
|