Roxen.git / server / base_server / module.pike

version» Context lines:

Roxen.git/server/base_server/module.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS. - // $Id: module.pike,v 1.208 2004/05/13 16:09:36 grubba Exp $ + // $Id: module.pike,v 1.209 2004/05/13 17:45:20 mast Exp $      #include <module_constants.h>   #include <module.h>   #include <request_trace.h>      constant __pragma_save_parent__ = 1;      inherit "basic_defvar";   mapping(string:array(int)) error_log=([]);   
Roxen.git/server/base_server/module.pike:1248:   mapping(string:mixed) make_collection(string path, RequestID id)   {    // Fall back to find_file().    RequestID tmp_id = id->clone_me();    tmp_id->not_query = query_location() + path;    tmp_id->method = "MKCOL";    // FIXME: Logging?    return find_file(path, tmp_id);   }    - //! Copy all properties at @[source] to @[destination]. + //! Used by the default @[copy_collection] implementation to copy all + //! properties at @[source] to @[destination].   //!   //! @param source   //! Source path below the filesystem location.   //!   //! @param destination   //! Destination path below the filesystem location.   //!   //! @param behavior   //! Specifies how to copy properties. See the @[PropertyBehavior]   //! type for details.   //!   //! @returns   //! @expr{0@} (zero) in success or an appropriate status mapping for   //! any error. - mapping(string:mixed) copy_properties(string source, string destination, + static mapping(string:mixed) copy_properties(string source, string destination,    PropertyBehavior behavior, RequestID id)   {    SIMPLE_TRACE_ENTER(this, "copy_properties(%O, %O, %O, %O)",    source, destination, behavior, id);    PropertySet source_properties = query_property_set(source, id);    PropertySet destination_properties = query_property_set(destination, id);       multiset(string) property_set = source_properties->query_all_properties();    mapping(string:mixed) res;    foreach(property_set; string property_name;) {