Roxen.git
/
server
/
base_server
/
module.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/base_server/module.pike:1:
// This file is part of Roxen WebServer. // Copyright © 1996 - 2009, Roxen IS.
-
// $Id: module.pike,v 1.
239
2009/
10
/
31
13
:
37
:
34
mast Exp $
+
// $Id: module.pike,v 1.
240
2009/
11
/
01
21
:
35
:
55
mast Exp $
#include <module_constants.h> #include <module.h> #include <request_trace.h> constant __pragma_save_parent__ = 1; // Tell Pike.count_memory this is global. constant pike_cycle_depth = 0;
Roxen.git/server/base_server/module.pike:23:
private Configuration _my_configuration; private string _module_local_identifier; private string _module_identifier = lambda() { mixed init_info = roxen->bootstrap_info->get(); if (arrayp (init_info)) { [_my_configuration, _module_local_identifier] = init_info; return _my_configuration->name + "/" + _module_local_identifier; }
+
#ifdef DEBUG
+
else
+
error ("Got invalid bootstrap info for module: %O\n", init_info);
+
#endif
}(); protected mapping _api_functions = ([]); string|array(string) module_creator; string module_url; RXML.TagSet module_tag_set; /* These functions exist in here because otherwise the messages in the * event log do not always end up in the correct module/configuration. * And the reason for that is that if the messages are logged from