using libsilchttp
Pekka Riikonen
priikone at iki.fi
Tue Aug 14 07:38:32 CEST 2007
:
: Is there a way to easily pull out the http library from the toolkit for
: separate use?
: I want just the http api, but it looks like it includes silc.h
: everywhere which includes tons of stuff from all over the toolkit.
: Surely most of it isn't necessary.
:
Currently this is not very easy from the official distribution. In 1.2
Toolkit we are actually going to make a split so that the runtime part is
going to be a separate toolkit, crypto part is going to be separate
toolkit and the SILC protocol stuff is going to be separate toolkit.
In 1.2 the HTTP library will be part of the SILC protocol toolkit, but if
people want I have no trouble releasing the HTTP also as an entirely
separate, non-related, optional, HTTP server library. Of course, that
library would still have a dependecy of the SILC Runtime Toolkit (ie. it
must be installed in the system). The SILC Runtime Toolkit will be a
package like glib or Apache APR, except way better. ;)
Of course if you don't want to wait and don't mind playing with the CVS
and Autodist, you could create yourself a new http library distribution in
your local SILC CVS tree (install autodist from silcnet.org and read
manuals, and see distdir/ directory in SILC CVS tree) and pull the HTTP
library out that way, but that would mean you'd have to play around quite
a lot with the configure scripts and Makefiles.
Another change in the trunk development is that every big feature and
library will have their own distribution define, so that, they can be
pulled out easily, included easily or excluded easily from distributions.
I think HTTP library has SILC_DIST_HTTP defined for it in distdir/ already
but using it alone to create a separate package won't work me thinks.
Pekka
________________________________________________________________________
Pekka Riikonen priikone at silcnet.org
Secure Internet Live Conferencing (SILC) http://silcnet.org/
More information about the silc-devel
mailing list