Branch: Tag:

2004-05-14

2004-05-14 16:30:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

lock_file() now takes expiry_delta as a parameter.

Rev: server/base_server/configuration.pike:1.573

5:   // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.572 2004/05/10 17:16:06 grubba Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.573 2004/05/14 16:30:42 grubba Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>
1462:    int(0..1) recursive,    string lockscope,    string locktype, +  int(0..) expiry_delta,    array(Parser.XML.Tree.Node) owner,    RequestID id)   {
1490:       string locktoken = "opaquelocktoken:" + roxen->new_uuid_string();    DAVLock lock = DAVLock(locktoken, path, recursive, lockscope, locktype, -  owner); +  expiry_delta, owner);    foreach(location_module_cache||location_modules(),    [string loc, function func])    {
4138:    report_error("SNMPagent: something gets wrong! The main agent is disabled!\n"); }   #endif    -  +     definvisvar( "no_delayed_load", 0, TYPE_FLAG|VAR_PUBLIC );      // report_debug("[defvar: %.1fms] ", (gethrtime()-st)/1000.0 );