Re: ClearSilver.h or cs/cs.h? what do I compile with? lneo_cs lcs?a

Brandon Long <[email protected]> Sun, 20 Jan 2008 00:46:22 -0800
Newsgroups gmane.text.clearsilver.general
Organization Fiction L Networks
Message-ID <20080120084622.GA32414@bl1>
well, in general, cgi_*/html_* functions are in libneo_cgi, cs_* libneo_cs, and
neo* (and everything else) is in libneo_utl.

You can also tell by the directory layout.

But, it doesn't really matter. You can just include ClearSilver.h, and
then link against all three.  Unless you're only using the template, or
only using something in util, but that's unlikely.

For example CGI, see static.c and the Makefile in the cgi directory, or
look at the example image app in imd.

As for FastCGI, there's an example hello world app in cgi/fcgi_hello.c
that was contributed, I haven't used it myself, but it should point you
in the right direction.

Brandon

On 01/19/08 Bjorn uttered the following other thing:
> I've been searching half the morning for information about using
> ClearSilver with C. The clearsilver web page gives specific
> information about the C api, but not which function goes with what
> lib, or what I need to include when. Also I see some cgi specific
> functions, do these also work with fastcgi?
> 
> Thanks a bunch.
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 

-- 
 "A fool: anyone who thinks he sees what God is doing." 
            -- Kurt Vonnegut, Jr.
                                           http://www.fiction.net/blong/