It seems that nobody are aware of to excellent (imo) Ada CGI
library by David A. Wheeler that has been around for a while
by now:

http://wuarchive.wustl.edu/languages/ada/swcomps/cgi/cgi.html

There is no need to play around with C code, if you use the
routines in this library.

Jacob

    ---------------------------------------------------
    --  E-mail:         [log in to unmask]           --
    --  Web...: <URL:http://hugin.ldraw.org/Jacob/>  --
    ---------------------------------------------------