[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Library for cgi progamming in C



On Thu, Feb 12, 1998 at 03:50:11PM +0100, Martin Schulze wrote:

> do you use any (_free_) Libraries that help you developing cgi-bin's
> written in C?  I have tested libcgic that has an inacceptable copyright
> and fastcgi that does some strange things but doesn't tell me how
> to use it.
> 
> I don't need much routines.  These come to my mind:
> 
>  . cgiHeader()
>    prints the Content-type header
> 
>  . cgiInit()
>    Initialises the library, prepares for later readings, needs
>    to work with both POST and GET queries.
> 
>  . cgiGetParam(const char *name)
>    Returns some read cgi variables.  This routine needs to
>    decode the %xx values.

   . cgiDebug()
     Sets the debug level.

As nobody could provide me with a library that I could use
I've written my own.  Of course it's GPL'ed and I wonder if/and
how I should package it.

The .o file is 4.7kB big, does it make sense to build .a and
.so files from it?  I've included some documentation so the
package will not be this small.

Regards,

	Joey

-- 
   / Martin Schulze  *  joey@infodrom.north.de  *  26129 Oldenburg /
  / linux: Unbekannter Terminaltyp                                /
 / Ich weiß nicht, auf was für einem Terminaltyp Sie arbeiten -  /
/ alles, was ich habe, ist 'linux'.              -- Solaris 2.5 /

Attachment: pgpcOrIpYuEmk.pgp
Description: PGP signature


Reply to: