Lines Matching defs:hooks
20 * This module is repository-independent. It depends on hooks provided by a
754 const dav_hooks_locks *hooks = DAV_GET_HOOKS_LOCKS(r);
756 if (hooks == NULL) {
762 return (*hooks->open_lockdb)(r, ro, 0, lockdb);
838 if ((err = (*resource->hooks->set_headers)(r, resource)) != NULL) {
856 if ((err = (*resource->hooks->deliver)(resource,
972 if ((err = (*resource->hooks->open_stream)(resource, mode,
989 err = (*resource->hooks->seek_stream)(stream, range_start);
1052 err = (*resource->hooks->write_stream)(stream, data, len);
1061 err2 = (*resource->hooks->close_stream)(stream,
1254 err = (*resource->hooks->remove_resource)(resource, &multi_response);
1378 (*lockdb->hooks->close_lockdb)(lockdb);
1436 (*lockdb->hooks->close_lockdb)(lockdb);
1562 if ((err = (*resource->hooks->set_headers)(r, resource)) != NULL) {
2130 err = (*resource->hooks->walk)(&ctx.w, depth, &multi_status);
2133 (*ctx.w.lockdb->hooks->close_lockdb)(ctx.w.lockdb);
2561 err = (*resource->hooks->create_collection)(resource);
2710 if (resource->hooks != resnew->hooks) {
2735 if ((*resource->hooks->is_same_resource)(resource, resnew)) {
2820 && (*resource->hooks->is_parent_resource)(resource, resnew)) {
2828 && (*resnew->hooks->is_parent_resource)(resnew, resource)) {
2873 (*lockdb->hooks->close_lockdb)(lockdb);
2918 (*lockdb->hooks->close_lockdb)(lockdb);
2932 && (*src_av_info.parent_resource->hooks->is_same_resource)
2942 err = (*resnew->hooks->remove_resource)(resnew, &multi_response);
2946 err = (*resource->hooks->move_resource)(resource, resnew,
2949 err = (*resource->hooks->copy_resource)(resource, resnew, depth,
2967 (*lockdb->hooks->close_lockdb)(lockdb);
3003 (*lockdb->hooks->close_lockdb)(lockdb);
3061 if ((err = resource->hooks->get_parent_resource(resource, &parent)) != NULL) {
3928 /* version provider hooks */
4061 err = (*resource->hooks->walk)(&ctx.w, depth, &multi_status);
4382 ### which can be passed to the checkout() and merge() hooks. */
4507 if (resource->hooks != binding->hooks) {
4530 if ((*resource->hooks->is_same_resource)(resource, binding)) {
4561 && (*resource->hooks->is_parent_resource)(resource, binding)) {
4566 && (*resource->hooks->is_parent_resource)(binding, resource)) {
4589 err = (*resource->hooks->remove_resource)(binding, &multi_response);
4910 register_hooks, /* register hooks */
4926 const dav_hooks_liveprop **hooks),
4927 (resource, ns_uri, name, hooks), 0)