This is the mail archive of the
guile@cygnus.com
mailing list for the Guile project.
Re: mod_guile design problems
- To: guile@cygnus.com
- Subject: Re: mod_guile design problems
- From: Chris Bitmead <cbitmead@ozemail.com.au>
- Date: Tue, 29 Jun 1999 16:00:24 +1000
- References: <199906281541.RAA24930@forcix.roof.lan>
forcer wrote:
> - I want to make smob's for the request_rec, server_rec
> and conn_rec structures. Those are actually automagically
> destroyed by apache when it's done with it. I have no idea
> how to handle this - mod_guile modules can of course store
> the smob's wherever they like, and access them even after
> the real ones have vanished. sadly, apache does *not*
> provide a clean way to register "cleanup"-functions for
> these structures.
Maybe you need to work with the Apache people to add the extra hooks.
> - Apache uses it's own type of FILE pointers, BUFF's.
> There seems no way to wrap a BUFF into a guile port and
> lateron
> retrieve the BUFF from the port.
It would be nice if guile ports were abstracted so you could make a
source or sink of data out of anything. I don't know anything about this
though.
Good luck with it. It will be eagerly anticipated by me.