0206c121a68a63559b2e843288e81bcf16093e46 155345 |
|
25-Feb-2005 |
jerenkrantz |
* modules/dav/main/mod_dav.h: Wrap all public functions in
DAV_DECLARE or DAV_DECLARE_NONSTD.
* modules/dav/main/liveprop.c, modules/dav/main/props.c,
modules/dav/main/util_lock.c, modules/dav/main/mod_dav.c,
modules/dav/main/std_liveprop.c, modules/dav/main/util.c:
Update function definitions.
Submitted by: Branko ÄŒibej <brane xbc.nu>
Reviewed by: Justin Erenkrantz |
0e8fe062a6ec71b4207d1a125ee6b44b7fd30857 87073 |
|
23-Nov-2000 |
gstein |
More revamping of live properties. Focused around the fact that a provider's
hooks are only called if that provider defines the prop (e.g. NOTME return
values are no longer needed). Also refactored some code to simplify liveprop
management for providers (assuming they don't have "funny" stuff).
*) enumerate all known DAV properties (DAV_PROPID_* in mod_dav.h)
- use these in fs/repos.c rather than DAV_PROPID_FS_*
- will use in SVN and a second-round whack on the "core" props in props.c
*) refactor dav_fs_liveprop_name to dav_liveprop_spec and add a writeable
flag
*) add dav_liveprop_group to hold a number of "top-level" items to pass to
the new liveprop utility functions
*) add dav_do_find_liveprop() as a util for the find_liveprop hook function
- toss repos.c::dav_fs_find_prop
- use the new function for repos.c::dav_fs_find_liveprop
*) rebuild dav_register_liveprop_namespace() as a full "group" registration
which will handle all the namespaces in a liveprop provider. The new func
is called dav_register_liveprop_group().
*) add dav_get_liveprop_info() to look up liveprop info given a provider's
propid. used in dav_fs_insert_prop() and dav_fs_is_writeable()
*) fold dav_fs_insert_all() directly into dav_fs_insert_all_liveprops()
since the former wasn't called by anything else
*) rename var in dav_fs_insert_prop() to "global_ns" to clarify its purpose.
torch a couple out-of-date comments in there.
*) toss dav_prop_rw type and simplify is_writeable hook. fix up calling of
hook in props.c::dav_rw_liveprop(). dav_rw_liveprop() should also call
the provider *first*, if one has stated it is handling the property.
*) toss DAV_PROP_INSERT_NOTME since we can't call a provider's insert_prop
with somebody else's liveprop
*) remove DAV_IS_CORE_PROP() in props.c. a core prop is not defined by its
propid, but by provider==NULL. add comments to clarify when that happens.
*) fix sub-request creation to include new next-filter arg |