Roxen.git/
server/
base_server/
roxen.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2000-08-15
2000-08-15 12:54:04 by Johan Sundström <oyasumi@gmail.com>
c09144e750e0f504b5bc506ff6ab609d23bee6fc (
17
lines) (+
9
/-
8
)
[
Show
|
Annotate
]
Branch:
5.2
Almost improved clarity somewhat.
Rev: server/base_server/roxen.pike:1.521
4:
// Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others. // ABS and suicide systems contributed freely by Francesco Chemolli
-
constant cvs_version="$Id: roxen.pike,v 1.
520
2000/08/
14
22
:
50
:
52
mast
Exp $";
+
constant cvs_version="$Id: roxen.pike,v 1.
521
2000/08/
15
12
:
54
:
04
jhs
Exp $";
// Used when running threaded to find out which thread is the backend thread, // for debug purposes only.
1595:
sort( map( map( sorted_urls, strlen ), `-), sorted_urls ); }
-
int register_url( string url, object conf )
+
int register_url( string url, object
/*(Configuration)*/
conf )
{ url = lower_case( url ); if (!sizeof (url - " " - "\t")) return 1;
1739:
}
-
object find_configuration( string name )
+
object
/*(Configuration)*/
find_configuration( string name )
{ name = replace( lower_case( replace(name,"-"," ") )-" ", "/", "-" );
-
foreach( configurations, object o )
+
foreach( configurations, object
/*(Configuration)*/
o )
{ if( (lower_case( replace( replace(o->name, "-"," ") - " " , "/", "-" ) ) == name) ||
3086:
return config_lookup[name]; }
-
object enable_configuration(string name)
+
object
/*(Configuration)*/
enable_configuration(string name)
{ #ifdef DEBUG if (get_configuration (name))