Re: Library for cgi progamming in C

1998-02-16 Thread Martin Schulze
On Sun, Feb 15, 1998 at 03:39:40AM +0100, Martin Schulze wrote:

 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.

Ok, I've released the library yesterday, called it cgilib.  It's
already uploaded.  For now it does not contain a shared library
but only a static one.  Please feel free to use and improve it.

Regards,

Joey



pgpan7gakOI5v.pgp
Description: PGP signature


Re: Library for cgi progamming in C

1998-02-15 Thread Martin Schulze
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  *  [EMAIL PROTECTED]  *  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 /


pgpiRgJtVkmee.pgp
Description: PGP signature


Library for cgi progamming in C

1998-02-12 Thread Martin Schulze
Hi,

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.

It would be nice if the library would read from stdin just like
the CGI module for Perl but that's not required.

Is there any library I could use?

Regards... Joey

-- 
Individual Network e.V._/ OrgaTech
[EMAIL PROTECTED]_/  [EMAIL PROTECTED]
Geschaeftszeit: Di+Mi+Fr, 15-18 Uhr  _/Tel: (0441) 9834715


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Library for cgi progamming in C

1998-02-12 Thread Jens B. Jorgensen
Well, I'm going to recommend Cgicc. The only drawback (advantage, as far as
I'm concerned) is that it's a full-on C++ object library. It is 100% free,
as long as it's distributed with the library source. This library seems
pretty nice (I've just started using it) and is probably a good candidate
for inclusion into Debian. And yes, of course I'd volunteer to make it a
package (if I only had the time). In fact, the only thing that irks me is
that this library *doesn't* let you enter values from the command line if
run from there like the CGI module(s) do. This shouldn't be too hard to add
and I'll probably do it at some point. Anyway, look here:

http://www2.hmc.edu/~sbooth

Martin Schulze wrote:

 Hi,

 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.

 It would be nice if the library would read from stdin just like
 the CGI module for Perl but that's not required.

 Is there any library I could use?

--
Jens B. Jorgensen
[EMAIL PROTECTED]



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .