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 - 2004, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.670 2009/04/02 13:13:20 grubba Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.671 2009/04/03 19:47:40 grubba 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)      // Tell Pike.count_memory this is global.   constant pike_cycle_depth = 0;
Roxen.git/server/base_server/configuration.pike:551:   }      array(int) query_oid()   {    return SNMP.RIS_OID_WEBSERVER + ({ 2 });   }      //! @returns   //! Returns an array with two elements:   //! @array - //! @item array(int) oid - //! @item array(int) oid_suffix + //! @elem array(int) oid + //! + //! @elem array(int) oid_suffix   //! @endarray   array(int) generate_module_oid_segment(RoxenModule me)   {    string s = otomod[me];    array(string) a = s/"#";    return ({ sizeof(a[0]), @((array(int))a[0]), ((int)a[1]) + 1 });   }      ADT.Trie generate_module_mib(array(int) oid,    array(int) oid_suffix,
Roxen.git/server/base_server/configuration.pike:1280:    if (!zero_type (u = id->misc->authenticated_user))    return u;    foreach( auth_modules(), AuthModule method )    if( u = method->authenticate( id, database ) )    return id->misc->authenticated_user = u;   }      mapping authenticate_throw( RequestID id, string realm,    UserDB|void database)   //! Returns a reply mapping, similar to @[Roxen.http_rxml_reply] with - //! friends. If no @[database] is specified, all datbases in the + //! friends. If no @[database] is specified, all databases in the   //! current configuration are searched in priority order.   {    mapping m;    foreach( auth_modules(), AuthModule method )    if( m = method->authenticate_throw( id, realm, database ) )    return m;   }      User find_user( string user, RequestID|void id )   //! Tries to find the specified user in the currently available user