Roxen.git
/
server
/
etc
/
modules
/
Roxen.pmod
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/etc/modules/Roxen.pmod:1:
// This is a roxen pike module. Copyright © 1999 - 2009, Roxen IS. //
-
// $Id: Roxen.pmod,v 1.
333
2012/08/15
11
:
49
:
09
grubba Exp $
+
// $Id: Roxen.pmod,v 1.
334
2012/08/15
12
:
41
:
05
grubba Exp $
#include <roxen.h> #include <config.h> #include <version.h> #include <module.h> #include <stat.h> #define roxen roxenp() #ifdef HTTP_DEBUG # define HTTP_WERR(X) report_debug("HTTP: "+X+"\n");
Roxen.git/server/etc/modules/Roxen.pmod:4231:
{ RXML.Context ctx = RXML.get_context( ); return ctx->get_var( what, scope ); } protected mixed `->( string what ) { // NB: This function may be called by eg master()->describe_object() // with symbols such as "is_resolv_dirnode", in contexts where // the scope doesn't exist. cf [bug 6451].
+
RXML.Context ctx = RXML.get_context( );
return ctx->scopes[scope || "_"] && `[]( what ); } protected mixed `[]=( string what, mixed nval ) { RXML.Context ctx = RXML.get_context( ); ctx->set_var( what, nval, scope ); return nval; }