[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dav-dev
Subject:    [dav-dev] Access to server_conf struct from custom dav provider
From:       rm () fabula ! de
Date:       2002-04-29 15:41:56
[Download RAW message or body]

Hello erveryone,

i'm currently implementing a custom dav provider that has its own
set of propdb hooks. My provider needs to talk to a database and
since opening a database connection is rather expensive i'd like
to keep my connection open as long as possible, storing it as 'high
up' in the pools as possible (most likely in the per-child pool).
Now, even so i can define my own version of struct dav_db that
holds a pointer to a database connection and gets passed to all relevant
hook functions i can see no way to get hold of the request_rec structure
to be able to get hold of my module data/configuration/pools.
Any ideas on where to look?

 Ralf Mattes
_______________________________________________
dav-dev maillist  -  dav-dev@lyra.org
http://dav.lyra.org/mailman/listinfo/dav-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic