Branch: Tag:

2000-02-10

2000-02-10 04:54:17 by Martin Nilsson <mani@lysator.liu.se>

Replaced register_module with constants.

Rev: server/modules/filesystems/cvsfs.pike:1.21
Rev: server/modules/filesystems/restrictedfs.pike:1.11
Rev: server/modules/filesystems/secure_fs.pike:1.14
Rev: server/modules/filesystems/userfs.pike:1.49
Rev: server/modules/filters/auto_gzip.pike:1.7
Rev: server/modules/filters/hostredirect.pike:1.19
Rev: server/modules/filters/htaccess.pike:1.55
Rev: server/modules/filters/tableborder.pike:1.3
Rev: server/modules/filters/url_rectifier.pike:1.7

3:   inherit "module";   #include <module.h>    - constant cvs_version="$Id: auto_gzip.pike,v 1.6 1999/12/14 01:58:28 nilsson Exp $"; - constant thread_safe=1; -  - array register_module() - { -  return ({ -  MODULE_FIRST, -  "Automatic sending of compressed files", -  "This module implements a suggestion by Francesco Chemolli:<br>\n" + constant cvs_version = "$Id: auto_gzip.pike,v 1.7 2000/02/10 04:54:17 nilsson Exp $"; + constant thread_safe = 1; + constant module_type = MODULE_FIRST; + constant module_name = "Automatic sending of compressed files"; + constant module_doc = "This module implements a suggestion by Francesco Chemolli:<br>\n"    "The modified filesystem should do\n"    "about this:<br>\n"    "-check if the browser supports on-the-fly decompression<br>\n"
23:    "to implement. Also, it would allow a site mantainer to "    "choose WHAT to precompress and what not to.<p>"    "This module acts as a filter, and it _will_ use one extra stat " -  "per access from browsers that support automatic decompression.", -  0,1 -  }); - } +  "per access from browsers that support automatic decompression.";    -  +    mapping first_try(RequestID id)   {    NOCACHE();