Branch: Tag:

1999-10-04

1999-10-04 15:11:55 by Per Hedbor <ph@opera.com>

First stab at new core methods

Rev: server/base_server/configuration.pike:1.209
Rev: server/base_server/global_variables.pike:1.4
Rev: server/base_server/language.pike:1.19
Rev: server/base_server/module.pike:1.47
Rev: server/base_server/module_support.pike:1.26
Rev: server/base_server/roxen.pike:1.327
Rev: server/base_server/roxenloader.pike:1.101
Rev: server/modules/filesystems/filesystem.pike:1.57
Rev: server/protocols/http.pike:1.156

8:   inherit "roxenlib";   inherit "socket";    - constant cvs_version= "$Id: filesystem.pike,v 1.56 1999/07/15 16:59:28 neotron Exp $"; + constant cvs_version= "$Id: filesystem.pike,v 1.57 1999/10/04 15:11:55 per Exp $";   constant thread_safe=1;         #include <module.h>   #include <roxen.h>   #include <stat.h> -  + #include <request_trace.h>      #if DEBUG_LEVEL > 20   # ifndef FILESYSTEM_DEBUG
22:   # endif   #endif    - // import Array; + constant module_type = MODULE_LOCATION; + constant module_name = "Filesystem"; + constant module_doc = + ("This is a virtual filesystem, use it to make files available to "+ +  "the users of your WWW-server. If you want to serve any 'normal' " +  "files from your server, you will have to have atleast one filesystem.") ; + constant module_unique = 0;    - #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) +          int redirects, accesses, errors, dirlists;
122:   }       - mixed *register_module() - { -  return ({ -  MODULE_LOCATION, -  "Filesystem", -  ("This is a virtual filesystem, use it to make files available to "+ -  "the users of your WWW-server. If you want to serve any 'normal' " -  "files from your server, you will have to have atleast one filesystem.") -  }); - } -  +    string path;   int stat_cache;