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:
-
/* $Id: module.pike,v 1.
64
2000/01/
07
05
:05:
26
mast
Exp $ */
+
/* $Id: module.pike,v 1.
65
2000/01/
10
09
:05:
55
nilsson
Exp $ */
#include <module.h> #include <request_trace.h> mapping (string:mixed *) variables=([]); RoxenModule this = this_object(); mapping(string:array(int)) error_log=([]); constant is_module = 1;
-
constant module_type = MODULE_
PARSER
;
+
constant module_type = MODULE_
ZERO
;
constant module_name = "Unnamed module"; constant module_doc = "Undocumented"; constant module_unique = 1; private string _module_identifier; string module_identifier() { if (!_module_identifier) { string|mapping name = register_module()[1]; if (mappingp (name)) name = name->standard;
Roxen.git/server/base_server/module.pike:349:
{ if(!variables[var]) error( "Setting undefined variable.\n" ); variables[var][VAR_VALUE]=value; } int setvars( mapping (string:mixed) vars ) { string v; int err;
-
+
foreach( indices( vars ), v ) if(variables[v]) set( v, vars[v] ); return !err; } string comment() { return "";