Re: ClearSilver for C CGI bindings
"David Jeske" <[email protected]> Wed, 12 Nov 2008 16:23:06 -0000
| Newsgroups | gmane.text.clearsilver.general |
|---|---|
| Message-ID | <[email protected]> |
You can see an example image-server CGI written in C in the "imd" directory. The API is mostly the same in each language, so the brief tutorial written for the Python API should be fairly easy to mentally translate into C. Make sure you've checked out these pages first... http://www.clearsilver.net/docs/template_basics.hdf http://www.clearsilver.net/docs/intro_clearsilver.hdf http://www.clearsilver.net/docs/c_api.hdf Then take a look at the code in imd/imd.c. It provides a basic layout for a c-CGI. -- Liran Tal wrote: > The website documentation doesn't cover in great detail the C > programming logic to create a CGI. > > I have looked at the examples in the the cgi/ directory provided with > the tar.gz package although these > > are the final product and there are no examples with documented usage on > how to utilize the provided > > C API. > > Are there any C-specific tutorials out there one can follow?