Branch: Tag:

2008-03-19

2008-03-19 14:08:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation fixes.
Backported support for module counters.

Rev: server/base_server/module.pike:1.228

1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2004, Roxen IS. - // $Id: module.pike,v 1.227 2006/10/13 18:20:38 mast Exp $ + // $Id: module.pike,v 1.228 2008/03/19 14:08:01 grubba Exp $      #include <module_constants.h>   #include <module.h>
93:    0,    module_unique,    this_object()->module_locked, +  this_object()->module_counter,    });   }   
332:   //! directories.   //!   //! The status is stored in the @[MultiStatus] object returned by - //! @[id->get_multi_status]. The server will use it to make a 207 + //! @[RequestID.get_multi_status]. The server will use it to make a 207   //! Multi-Status response iff the module returns an empty mapping as   //! response.   //!
354:   //! format @[args].   //!   //! @note - //! This function is just a wrapper for @[id->set_status_for_path] + //! This function is just a wrapper for @[RequestID.set_status_for_path]   //! that corrects for the filesystem location.   //!   //! @seealso
1334:   //! appropriate status mapping for any other error. That includes an   //! empty mapping in case some subparts couldn't be deleted, to   //! signify a 207 Multi-Status response using the info in - //! @[id->get_multi_status()]. + //! @[RequestID.get_multi_status()].   mapping(string:mixed) recurse_delete_files(string path,    RequestID id,    void|MultiStatus.Prefixed stat)
1502:   //! Returns an appropriate status mapping for any other error. That   //! includes an empty mapping in case there's a failure on some   //! subpart or at the destination, to signify a 207 Multi-Status - //! response using the info in @[id->get_multi_status()]. + //! response using the info in @[RequestID.get_multi_status()].   static mapping(string:mixed) copy_collection(string source,    string destination,    PropertyBehavior behavior,
1639:   //! Returns an appropriate status mapping for any other error. That   //! includes an empty mapping in case there's a failure on some   //! subpart or at the destination, to signify a 207 Multi-Status - //! response using the info in @[id->get_multi_status()]. + //! response using the info in @[RequestID.get_multi_status()].   mapping(string:mixed) recurse_copy_files(string source, string destination,    PropertyBehavior behavior,    Overwrite overwrite, RequestID id)
1734:   //! Returns an appropriate status mapping for any other error. That   //! includes an empty mapping in case there's a failure on some   //! subpart or at the destination, to signify a 207 Multi-Status - //! response using the info in @[id->get_multi_status()]. + //! response using the info in @[RequestID.get_multi_status()].   static mapping(string:mixed) move_file(string source, string destination,    PropertyBehavior behavior,    Overwrite overwrite, RequestID id)
1787:   //! Returns an appropriate status mapping for any other error. That   //! includes an empty mapping in case there's a failure on some   //! subpart or at the destination, to signify a 207 Multi-Status - //! response using the info in @[id->get_multi_status()]. + //! response using the info in @[RequestID.get_multi_status()].   //!   //! @note   //! The function must be prepared to recurse to check DAV locks
1857:   //! Returns an appropriate status mapping for any other error. That   //! includes an empty mapping in case there's a failure on some   //! subpart or at the destination, to signify a 207 Multi-Status - //! response using the info in @[id->get_multi_status()]. + //! response using the info in @[RequestID.get_multi_status()].   mapping(string:mixed) recurse_move_files(string source, string destination,    PropertyBehavior behavior,    Overwrite overwrite, RequestID id)