diff options
author | Alex Graveley <alex@ximian.com> | 2001-02-28 22:27:58 +0000 |
---|---|---|
committer | alex <alex> | 2001-02-28 22:27:58 +0000 |
commit | 5ea4f1603bf282a30a22fef77b4a486373b51ebf (patch) | |
tree | b0afb2f30bd779cabd37f88cceeadbdb37b71a57 /libsoup/soup-server.h | |
parent | f2016ef52170cedff0e8110e9150610357da764a (diff) | |
download | libsoup-5ea4f1603bf282a30a22fef77b4a486373b51ebf.tar.gz |
glib idle callback which calls waitpid (nonblockingously) on all the
2001-02-28 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-ssl.c (soup_ssl_idle_waitpid): glib idle
callback which calls waitpid (nonblockingously) on all the
soup-ssl-proxy children to make sure their resources are freed.
(soup_ssl_get_iochannel): execute soup-ssl-proxy, setting up STDIN
and STDOUT to point to the fd we will return a GIOChannel for,
also passing the security policy and the destination socket fd
number in the environments SECURITY_POLICY and SOCKFD,
respectively.
* src/soup-core/soup-ssl-proxy.c: Created. This is a small SSL
proxy executable, licensed GPL, which allows us to use OpenSSL and
NSS without requiring applications which link with libsoup to have
to comply with the licenses of those SSL libraries.
* src/soup-core/soup-server.c (soup_server_register): add handler
to list.
* src/soup-core/soup-queue.c (soup_queue_write_async): ignore
SIGPIPE and handle errno.
* src/soup-core/soup-misc.c (soup_set_security_policy): move from
soup-ssl.c.
(soup_get_security_policy): add.
* src/soup-core/soup-context.c (soup_connection_get_iochannel):
setup TCP socket before getting an SSL wrapper channel.
* src/soup-core/Makefile.am (INCLUDES): add -DBINDIR
(libsoup_la_SOURCES): remove ssl backends
(soup_ssl_proxy_SOURCES): create soup-ssl-proxy
* src/soup-core/.cvsignore: add soup-ssl-proxy
Diffstat (limited to 'libsoup/soup-server.h')
-rw-r--r-- | libsoup/soup-server.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libsoup/soup-server.h b/libsoup/soup-server.h index 8fb3ad79..fe2afb2e 100644 --- a/libsoup/soup-server.h +++ b/libsoup/soup-server.h @@ -27,8 +27,17 @@ void soup_server_unregister_by_cb (SoupServerCallbackFn cb); void soup_server_unregister_by_data (gpointer user_data); +/* CGI Server methods */ + void soup_server_main (void); void soup_server_main_quit (void); + +/* Apache module initializtion */ + +typedef void (*SoupServerInit) (void); + +/* Implement soup_server_init() in your library. */ + #endif /* SOUP_SERVER_H */ |