This is the mail archive of the guile@cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: mod_guile design problems


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]