Roxen.git / server / base_server / module.pike

version» Context lines:

Roxen.git/server/base_server/module.pike:1: - /* $Id: module.pike,v 1.38 1999/01/21 23:31:24 marcus Exp $ */ + /* $Id: module.pike,v 1.39 1999/04/24 17:55:02 grubba Exp $ */      #include <module.h>      #define TRACE_ENTER(A,B) do{if(id->misc->trace_enter)id->misc->trace_enter((A),(B));}while(0)   #define TRACE_LEAVE(A) do{if(id->misc->trace_leave)id->misc->trace_leave((A));}while(0)      mapping (string:mixed *) variables=([]);      object this = this_object();   int module_type;
Roxen.git/server/base_server/module.pike:299:   void deflocaledoc( string locale, string variable,    string name, string doc, mapping|void translate )   {    if(!Locale.Roxen[locale])    report_debug("Invalid locale: "+locale+". Ignoring.\n");    else    Locale.Roxen[locale]    ->register_module_doc( this_object(), variable, name, doc, translate );   }    - // Convenience function, define an invissible variable, this variable - // will be saved, but it won't be vissible in the configuration interface. + // Convenience function, define an invisible variable, this variable + // will be saved, but it won't be visible in the configuration interface.   void definvisvar(string name, int value, int type, array|void misc)   {    defvar(name, value, "", type, "", misc, 1);   }      string check_variable( string s, mixed value )   {    // Check if `value' is O.K. to store in the variable `s'. If so,    // return 0, otherwise return a string, describing the error.