Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.504 2002/03/27 17:48:40 per-bash Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.505 2002/04/09 11:08:58 wellhard Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>   #include <timers.h>      #define CATCH(P,X) do{mixed e;if(e=catch{X;})report_error("While "+P+"\n"+describe_backtrace(e));}while(0)      // --- Locale defines ---   //<locale-token project="roxen_start"> LOC_S </locale-token>
Roxen.git/server/base_server/configuration.pike:2553:   #define MODULE_LOCK(TYPE) \    Thread.MutexKey enable_modules_lock = enable_modules_mutex->lock (TYPE)   #else   #define MODULE_LOCK(TYPE)   #endif      static int enable_module_batch_msgs;      RoxenModule enable_module( string modname, RoxenModule|void me,    ModuleInfo|void moduleinfo, -  int|void nostart ) +  int|void nostart, int|void nosave )   {    MODULE_LOCK (2);    int id;    ModuleCopies module;    int pr;    mixed err;    int module_type;       if( forcibly_added[modname] == 2 )    return search(otomod, modname);
Roxen.git/server/base_server/configuration.pike:2782:       if(!nostart) call_start_callbacks( me, moduleinfo, module );      #ifdef MODULE_DEBUG    if (enable_module_batch_msgs)    report_debug("\bOK %6.1fms\n", (gethrtime()-start_time)/1000.0);   #endif    if( !enabled_modules[modname+"#"+id] )    {    enabled_modules[modname+"#"+id] = 1; +  if(!nosave)    store( "EnabledModules", enabled_modules, 1, this_object());    }    -  if (!has_stored_vars) +  if (!has_stored_vars && !nosave)    store (modname + "#" + id, me->query(), 0, this_object());       if( me->no_delayed_load && got_no_delayed_load >= 0 )    got_no_delayed_load = 1;       roxen->bootstrap_info->set (0);    return me;   }      void call_start_callbacks( RoxenModule me,