Guile Mailing List Archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

Guile Home | Main Index | Thread Index