Roxen.git/
server/
etc/
modules/
Roxen.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2002-04-15
2002-04-15 12:16:49 by Marcus Wellhardh <wellhard@roxen.com>
461881e63bdec5c1aeb0eac56ce3045499ecef0b (
6
lines) (+
5
/-
1
)
[
Show
|
Annotate
]
Branch:
5.2
Added entity roxen.license-warnings.
Rev: server/etc/modules/Roxen.pmod:1.140
1:
// This is a roxen pike module. Copyright © 1999 - 2001, Roxen IS. //
-
// $Id: Roxen.pmod,v 1.
139
2002/04/
09
15:
26
:
57
wellhard Exp $
+
// $Id: Roxen.pmod,v 1.
140
2002/04/
15
12
:
16
:
49
wellhard Exp $
#include <roxen.h> #include <config.h>
2999:
case "license-type": object key = c->id->conf->getvar("license")->get_key(); return ENCODE_RXML_TEXT(key?key->type():"none", type);
+
case "license-warnings":
+
object key = c->id->conf->getvar("license")->get_key();
+
return ENCODE_RXML_TEXT(key?sizeof(key->get_warnings()):0, type);
} mixed val = c->misc->scope_roxen[var]; if (zero_type(val)) return RXML.nil;