[AOLSERVER] Thanks Was: [AOLSERVER] How to get request values with C API

2004-05-13 Thread Dave Kuhlman
On Wed, May 12, 2004 at 09:58:05AM +0100, Bas Scheffers wrote: Dave Kuhlman said: So, is there some documentation somewhere on how to get the value corresponding to the following CGI variables? I've put a note Basicaly, you have to go through the C API reference and scan through the names

Re: [AOLSERVER] How to get request values with C API

2004-05-12 Thread Bas Scheffers
Dave Kuhlman said: So, is there some documentation somewhere on how to get the value corresponding to the following CGI variables? I've put a note Basicaly, you have to go through the C API reference and scan through the names and what they do, just like the Tcl API. There isn't a real how-to

[AOLSERVER] How to get request values with C API

2004-05-11 Thread Dave Kuhlman
I'm writing a function to handle certain requests. I've registered this function with Ns_RegisterRequest(). My module loads and my function is called to process requests. So I'm doing good so far. But there is some information I can't get my hands on. I've looked lots of the AOLserver C API

Re: [AOLSERVER] How to get request values with C API

2004-05-11 Thread Dossy
On 2004.05.11, Dave Kuhlman [EMAIL PROTECTED] wrote: It'd be great if there were a document on how to convert a CGI application written in C into an AOLserver loadable module with a registered function. Write some thin wrapper functions that your C program currently calls to get the values

Re: [AOLSERVER] How to get request values with C API

2004-05-11 Thread Rob Crittenden
Well, these CGI variables are only set when you execute a CGI. Perhaps the easiest thing to do is look at the nscgi code and of these values that are set, mirror the way that they are set in nscgi. There are some better/worse ways to get them, such as using Ns_ConnGetQuery() instead of