/httpd/modules/dav/main/ |
H A D | util_lock.c | 172 dav_lockdb *lockdb, 187 if ((err = (*lockdb->hooks->create_lock)(lockdb, resource, 270 if ((err = (*ctx->w.lockdb->hooks->append_locks)(ctx->w.lockdb, 298 dav_lockdb *lockdb, dav_lock *lock, 319 /* In all cases, first add direct entry in lockdb */ 326 if ((err = (*lockdb->hooks->append_locks)(lockdb, resource, 0, 342 ctx.w.lockdb 170 dav_lock_parse_lockinfo(request_rec *r, const dav_resource *resource, dav_lockdb *lockdb, const apr_xml_doc *doc, dav_lock **lock_request) argument 296 dav_add_lock(request_rec *r, const dav_resource *resource, dav_lockdb *lockdb, dav_lock *lock, dav_response **response) argument 369 dav_lock_query(dav_lockdb *lockdb, const dav_resource *resource, dav_lock **locks) argument 423 dav_get_direct_resource(apr_pool_t *p, dav_lockdb *lockdb, const dav_locktoken *locktoken, const dav_resource *resource, const dav_resource **direct_resource) argument 501 dav_lockdb *lockdb; local 588 dav_inherit_locks(request_rec *r, dav_lockdb *lockdb, const dav_resource *resource, int use_parent) argument 696 dav_lockdb *lockdb; local 745 dav_notify_created(request_rec *r, dav_lockdb *lockdb, const dav_resource *resource, int resource_state, int depth) argument [all...] |
H A D | util.c | 840 dav_lockdb *lockdb, 849 const dav_hooks_locks *locks_hooks = (lockdb ? lockdb->hooks : NULL); 893 if (lockdb == NULL) { 905 if ((err = dav_lock_query(lockdb, resource, &lock_list)) != NULL) { 1132 if (lockdb == NULL) { 1141 ** If no lockdb is provided, then validation fails for 1424 ctx->w.lockdb, 1500 dav_lockdb *lockdb) 1586 ** Otherwise, assume provided lockdb i 838 dav_validate_resource_state(apr_pool_t *p, const dav_resource *resource, dav_lockdb *lockdb, const dav_if_header *if_header, int flags, dav_buffer *pbuf, request_rec *r) argument 1494 dav_validate_request(request_rec *r, dav_resource *resource, int depth, dav_locktoken *locktoken, dav_response **response, int flags, dav_lockdb *lockdb) argument 1848 dav_can_auto_checkout( request_rec *r, dav_resource *resource, dav_auto_version auto_version, dav_lockdb **lockdb, int *auto_checkout) argument 1904 dav_lockdb *lockdb = NULL; local [all...] |
H A D | mod_dav.h | 202 #define DAV_ERR_PROP_BAD_LOCKDB 204 /* could not open lockdb */ 210 #define DAV_ERR_LOCK_OPENDB 400 /* could not open lockdb */ 1179 const dav_hooks_locks *hooks; /* the hooks used for this lockdb */ 1214 ** Note that the lockdb is free to marshal this structure in any form that 1250 dav_lock_private *info; /* private to the lockdb */ 1263 dav_lockdb *lockdb, 1271 dav_lockdb *lockdb, dav_lock *request, 1274 dav_lockdb *lockdb, 1279 DAV_DECLARE(dav_error*) dav_lock_query(dav_lockdb *lockdb, 1289 dav_lockdb *lockdb); 1665 dav_lockdb *lockdb; member in struct:__anon135 [all...] |
H A D | mod_dav.c | 752 static dav_error * dav_open_lockdb(request_rec *r, int ro, dav_lockdb **lockdb) argument 757 *lockdb = NULL; 762 return (*hooks->open_lockdb)(r, ro, 0, lockdb); 1098 dav_lockdb *lockdb; local 1100 if ((err = (*locks_hooks->open_lockdb)(r, 0, 0, &lockdb)) != NULL) { 1112 err = dav_notify_created(r, lockdb, resource, resource_state, 0); 1114 (*locks_hooks->close_lockdb)(lockdb); 1358 dav_lockdb *lockdb; local 1366 if ((err = dav_open_lockdb(r, 0, &lockdb)) != NULL) { 1375 if ((err = dav_open_propdb(r, lockdb, resourc 2582 dav_lockdb *lockdb; local 2633 dav_lockdb *lockdb; local 3036 dav_lockdb *lockdb; local 3446 dav_lockdb *lockdb; local [all...] |
H A D | props.c | 182 dav_lockdb *lockdb; /* the lock database */ member in struct:dav_propdb 352 if (propdb->lockdb != NULL) { 355 if ((err = dav_lock_query(propdb->lockdb, propdb->resource, 383 if (propdb->lockdb != NULL) { 384 value = (*propdb->lockdb->hooks->get_supportedlock)(propdb->resource); 521 DAV_DECLARE(dav_error *)dav_open_propdb(request_rec *r, dav_lockdb *lockdb, argument 546 propdb->lockdb = lockdb;
|
/httpd/modules/dav/lock/ |
H A D | locks.c | 155 * The lockdb structure. 162 * The delayed opening (determined by <opened>) makes creating a lockdb 165 * We export the notion of a lockdb, but hide the details of it. Most 231 static dav_lock *dav_generic_alloc_lock(dav_lockdb *lockdb, apr_datum_t key, argument 236 comb = apr_pcalloc(lockdb->info->pool, sizeof(*comb)); 312 static dav_error * dav_generic_really_open_lockdb(dav_lockdb *lockdb) argument 317 if (lockdb->info->opened) { 321 status = apr_dbm_open(&lockdb->info->db, lockdb->info->lockdb_path, 322 lockdb 349 dav_generic_open_lockdb(request_rec *r, int ro, int force, dav_lockdb **lockdb) argument 386 dav_generic_close_lockdb(dav_lockdb *lockdb) argument 433 dav_generic_save_lock_record(dav_lockdb *lockdb, apr_datum_t key, dav_lock_discovery *direct, dav_lock_indirect *indirect) argument 551 dav_generic_load_lock_record(dav_lockdb *lockdb, apr_datum_t key, int add_method, dav_lock_discovery **direct, dav_lock_indirect **indirect) argument 690 dav_generic_resolve(dav_lockdb *lockdb, dav_lock_indirect *indirect, dav_lock_discovery **direct, dav_lock_discovery **ref_dp, dav_lock_indirect **ref_ip) argument 761 dav_generic_remove_locknull_state(dav_lockdb *lockdb, const dav_resource *resource) argument 768 dav_generic_create_lock(dav_lockdb *lockdb, const dav_resource *resource, dav_lock **lock) argument 783 dav_generic_get_locks(dav_lockdb *lockdb, const dav_resource *resource, int calltype, dav_lock **locks) argument 861 dav_generic_find_lock(dav_lockdb *lockdb, const dav_resource *resource, const dav_locktoken *locktoken, int partial_ok, dav_lock **lock) argument 925 dav_generic_has_locks(dav_lockdb *lockdb, const dav_resource *resource, int *locks_present) argument 953 dav_generic_append_locks(dav_lockdb *lockdb, const dav_resource *resource, int make_indirect, const dav_lock *lock) argument 1031 dav_generic_remove_lock(dav_lockdb *lockdb, const dav_resource *resource, const dav_locktoken *locktoken) argument 1103 dav_generic_refresh_locks(dav_lockdb *lockdb, const dav_resource *resource, const dav_locktoken_list *ltl, time_t new_time, dav_lock **locks) argument [all...] |
/httpd/modules/dav/fs/ |
H A D | lock.c | 166 ** The lockdb structure. 173 ** The delayed opening (determined by <opened>) makes creating a lockdb 176 ** We export the notion of a lockdb, but hide the details of it. Most 216 static dav_lock *dav_fs_alloc_lock(dav_lockdb *lockdb, apr_datum_t key, argument 221 comb = apr_pcalloc(lockdb->info->pool, sizeof(*comb)); 300 static dav_error * dav_fs_really_open_lockdb(dav_lockdb *lockdb) argument 304 if (lockdb->info->opened) 307 err = dav_dbm_open_direct(lockdb->info->pool, 308 lockdb->info->lockdb_path, 309 lockdb 333 dav_fs_open_lockdb(request_rec *r, int ro, int force, dav_lockdb **lockdb) argument 370 dav_fs_close_lockdb(dav_lockdb *lockdb) argument 414 dav_fs_save_lock_record(dav_lockdb *lockdb, apr_datum_t key, dav_lock_discovery *direct, dav_lock_indirect *indirect) argument 521 dav_fs_load_lock_record(dav_lockdb *lockdb, apr_datum_t key, int add_method, dav_lock_discovery **direct, dav_lock_indirect **indirect) argument 664 dav_fs_resolve(dav_lockdb *lockdb, dav_lock_indirect *indirect, dav_lock_discovery **direct, dav_lock_discovery **ref_dp, dav_lock_indirect **ref_ip) argument 923 dav_fs_add_locknull_state( dav_lockdb *lockdb, const dav_resource *resource) argument 957 dav_fs_remove_locknull_state( dav_lockdb *lockdb, const dav_resource *resource) argument 974 dav_fs_create_lock(dav_lockdb *lockdb, const dav_resource *resource, dav_lock **lock) argument 991 dav_fs_get_locks(dav_lockdb *lockdb, const dav_resource *resource, int calltype, dav_lock **locks) argument 1068 dav_fs_find_lock(dav_lockdb *lockdb, const dav_resource *resource, const dav_locktoken *locktoken, int partial_ok, dav_lock **lock) argument 1132 dav_fs_has_locks(dav_lockdb *lockdb, const dav_resource *resource, int *locks_present) argument 1160 dav_fs_append_locks(dav_lockdb *lockdb, const dav_resource *resource, int make_indirect, const dav_lock *lock) argument 1244 dav_fs_remove_lock(dav_lockdb *lockdb, const dav_resource *resource, const dav_locktoken *locktoken) argument 1335 dav_fs_refresh_locks(dav_lockdb *lockdb, const dav_resource *resource, const dav_locktoken_list *ltl, time_t new_time, dav_lock **locks) argument [all...] |
H A D | repos.c | 1727 if ((err = dav_lock_query(params->lockdb, &fsctx->res1, 1776 && params->lockdb == NULL) { 1779 "resources, but a lockdb was not provided.");
|