Roxen.git / server / base_server / global_variables.pike

version» Context lines:

Roxen.git/server/base_server/global_variables.pike:1:   // This file is part of Internet Server.   // Copyright © 1996 - 2001, Roxen IS. - // $Id: global_variables.pike,v 1.93 2002/06/14 16:05:03 jhs Exp $ + // $Id: global_variables.pike,v 1.94 2002/06/15 21:03:54 nilsson Exp $      // NGSERVER: Move protocol settings to their own files.      // #pragma strict_types   #define DEFVAR mixed...:object   #define BDEFVAR mixed...:object      #define IN_ROXEN   inherit "read_config";   inherit "basic_defvar";
Roxen.git/server/base_server/global_variables.pike:40:   // The answer is that there is actually a reason for it, it's for   // performance reasons. This file is dumped to a .o file, roxen.pike   // is not.   void set_up_hilfe_variables( Protocol o )   {    function(DEFVAR) defvar = o->defvar;       defvar( "require_auth", 1,    "Require user with the 'hilfe' permission", TYPE_FLAG,    ("If yes, require a user with the hilfe permission " -  "set, otherwise, any configuration interface user will " +  "set, otherwise, any administration interface user will "    "be allowed, even one with only the view settings permission." ) );   }         void set_up_ftp_variables( Protocol o )   {    function(DEFVAR) defvar = o->defvar;          defvar( "FTPWelcome",
Roxen.git/server/base_server/global_variables.pike:593: Inside #if defined(SNMP_AGENT)
  /*    defvar("snmp_mode", "smart", "SNMP: Agent mode",    TYPE_STRING_LIST,    "Standard SNMP server mode, muxed SNMP mode, "    "proxy, agentx or automatic (smart) mode.",    ({"smart", "agent", "agentx", "smux", "proxy" }));   */    defvar("snmp_hostport", snmp_get_cif_domain(), "SNMP: IP address and port",    TYPE_STRING,    "Agent listening IP adress and port. Format: [[host]:port] " -  "If host isn't set then the IP address of the config interface " +  "If host isn't set then the IP address of the administration interface "    "will be used.",    0, snmp_disabled);       defvar("snmp_global_traphosts", ({}),"SNMP: Trap destinations",    TYPE_STRING_LIST,    "The SNMP traphost URL for sending common traps (like coldstart).",    0, snmp_disabled);       defvar("snmp_syscontact","","SNMP: System MIB - Contact",    TYPE_STRING,