Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // A vitual server's main configuration   // Copyright © 1996 - 2000, Roxen IS.   //   // German translation by Kai Voigt    - constant cvs_version = "$Id: configuration.pike,v 1.321 2000/07/14 20:02:55 lange Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.322 2000/07/15 01:05:42 lange Exp $";   constant is_configuration = 1;   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>      inherit "basic_defvar";      mapping enabled_modules = ([]);   mapping(string:array(int)) error_log=([]);      #ifdef PROFILE   mapping profile_map = ([]);   #endif      #define CATCH(P,X) do{mixed e;if(e=catch{X;})report_error("While "+P+"\n"+describe_backtrace(e));}while(0)      // Locale support...   //<locale-token project="config_interface">LOCALE</locale-token> - #define LOCALE(X,Y) _STR_LOCALE(config_interface,X,Y) - LOCALE_PROJECT(config_interface); - #define DLOCALE(X,Y) _DEF_LOCALE(X,Y) + #define LOCALE(X,Y) _STR_LOCALE("config_interface",X,Y) + USE_DEFERRED_LOCALE; + #define DLOCALE(X,Y) _DEF_LOCALE("config_interface",X,Y)      #ifdef THROTTLING_DEBUG   #undef THROTTLING_DEBUG   #define THROTTLING_DEBUG(X) werror("Throttling: "+X+"\n")   #else   #define THROTTLING_DEBUG(X)   #endif      #ifdef REQUEST_DEBUG   # define REQUEST_WERR(X) werror("CONFIG: "+X+"\n")