Roxen.git/
server/
base_server/
configuration.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2000-08-08
2000-08-08 12:12:31 by Johan Sundström <oyasumi@gmail.com>
9fd809f7275f552a6a4e043e43787c4411a83d51 (
15
lines) (+
9
/-
6
)
[
Show
|
Annotate
]
Branch:
5.2
Minor refdoc addition.
Rev: server/base_server/configuration.pike:1.331
1:
// A vitual server's main configuration // Copyright © 1996 - 2000, Roxen IS.
-
constant cvs_version = "$Id: configuration.pike,v 1.
330
2000/08/
01
16
:
27:
12 jhs Exp $";
+
constant cvs_version = "$Id: configuration.pike,v 1.
331
2000/08/
08
12
:
12
:
31
jhs Exp $";
constant is_configuration = 1; #include <module.h> #include <module_constants.h>
2027:
return 0; }
-
// Return the _real_ filename of a virtual file, if any.
-
+
public string real_file(string file, RequestID id)
-
+
//! Return the _real_ filename of a virtual file, if any.
{ string loc; string s;
2158:
return res; }
-
// Is 'what' a file in our virtual filesystem?
-
int(0..1) is_file(string
what
, RequestID id)
+
int(0..1) is_file(string
virt_path
, RequestID id)
+
//! Is `virt_path' a file in our virtual filesystem?
{
-
return !!stat_file(
what
, id);
+
return !!stat_file(
virt_path
, id);
} array registered_urls = ({});
2779:
} RoxenModule|string find_module(string name)
+
//! Return the module corresponding to the name (eg "rxmlparse",
+
//! "rxmlparse#0" or "filesystem#1") or zero, if there was no such
+
//! module.
{ int id; sscanf(name, "%s#%d", name, id);