Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2004, Roxen IS.   //   // The Roxen WebServer main program.   //   // 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.958 2007/02/15 13:06:07 mast Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.959 2007/03/02 18:03:38 grubba Exp $";      //! @appears roxen   //!   //! The Roxen WebServer main program.      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN
Roxen.git/server/base_server/roxen.pike:22:   #include <module.h>   #include <variables.h>   #include <stat.h>   #include <timers.h>      // Inherits   inherit "global_variables";   #ifdef SNMP_AGENT   inherit "snmpagent";   #endif + #ifdef SMTP_RELAY + inherit "smtprelay"; + #endif   inherit "hosts";   inherit "disk_cache";   // inherit "language";   inherit "supports";   inherit "module_support";   inherit "config_userdb";      #ifdef THREADS   // Used when running threaded to find out which thread is the backend thread.   Thread.Thread backend_thread;
Roxen.git/server/base_server/roxen.pike:5005:    cache.init_session_cache();       protocols = build_protocols_mapping();       int t = gethrtime();    report_debug("Searching for pike-modules directories ... \b");    foreach( find_all_pike_module_directories( ), string d )    master()->add_module_path( d );    report_debug("\bDone [%dms]\n", (gethrtime()-t)/1000 );    + #ifdef SMTP_RELAY +  smtp_relay_start(); + #endif /* SMTP_RELAY */ +    #ifdef SNMP_AGENT    //SNMPagent start    report_debug("SNMPagent configuration checking ... \b");    if(query("snmp_agent")) {    // enabling SNMP agent    snmpagent = SNMPagent();    snmpagent->enable();    report_debug("\benabled.\n");    snmpagent->start_trap();