Roxen.git/
server/
base_server/
roxen.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2000-01-07
2000-01-07 17:11:16 by Martin Nilsson <mani@lysator.liu.se>
b5595b1086a600f2ac78d90f390e8278c7d2f8b5 (
13
lines) (+
11
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
Adding function for addition of global priviliges.
Rev: server/base_server/roxen.pike:1.385
5:
*/ // ABS and suicide systems contributed freely by Francesco Chemolli
-
constant cvs_version="$Id: roxen.pike,v 1.
384
2000/01/
05
17:
45
:
28
mast
Exp $";
+
constant cvs_version="$Id: roxen.pike,v 1.
385
2000/01/
07
17:
11
:
16
nilsson
Exp $";
object backend_thread; ArgCache argcache;
3066:
int length = -1; #if constant(mktime)
-
string extra;
+
sscanf(lower_case(date), "%*s, %s; length=%d", date, length); if(!(t=since_cache[date])) {
3100:
#endif /* constant(mktime) */ return ({ t, length }); }
+
+
object configuration_auth;
+
mapping configuration_perm=([]);
+
void add_permission(string name, mapping desc) {
+
if(objectp(configuration_auth))
+
configuration_auth->add_permission(name, desc);
+
else
+
configuration_perm[name]=desc;
+
}