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.121 2001/08/01 17:57:05 per Exp $ + // $Id: module.pike,v 1.122 2001/08/09 16:59:56 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:31:      string|array(string) module_creator;   string module_url;   RXML.TagSet module_tag_set;      /* These functions exists in here because otherwise the messages in    * the event log does not always end up in the correct    * module/configuration. And the reason for that is that if the    * messages are logged from subclasses in the module, the DWIM in    * roxenlib.pike cannot see that they are logged from a module. This -  * solution is not really all that beatiful, but it works. :-) +  * solution is not really all that beautiful, but it works. :-)    */   void report_fatal( mixed ... args ) { predef::report_fatal( @args ); }   void report_error( mixed ... args ) { predef::report_error( @args ); }   void report_notice( mixed ... args ) { predef::report_notice( @args ); }   void report_debug( mixed ... args ) { predef::report_debug( @args ); }         string module_identifier()   {   #if 1
Roxen.git/server/base_server/module.pike:60:    cname = cname[..sizeof (cname) - 2];    _module_identifier = sprintf ("%s,%s",    name||this_object()->module_name, cname);    }    return _module_identifier;   #endif   }      string _sprintf()   { -  return sprintf ("RoxenModule(%s)", _module_identifier); +  return sprintf ("RoxenModule(%s)", _module_identifier || "?");   }      array register_module()   {    return ({    this_object()->module_type,    this_object()->module_name,    this_object()->module_doc,    0,    module_unique,