Branch: Tag:

2000-02-12

2000-02-12 16:09:55 by Martin Nilsson <mani@lysator.liu.se>

Replaced register_module with constants.

Rev: server/modules/misc/randomtext.pike:1.2
Rev: server/modules/throttling/baseline_throttling.pike:1.4
Rev: server/modules/throttling/throttletags.pike:1.4
Rev: server/modules/throttling/throttling_bytype.pike:1.5

3:   inherit "roxenlib";      constant thread_safe=1; - constant cvs_version="$Id: throttletags.pike,v 1.3 1999/12/18 14:35:02 nilsson Exp $"; + constant cvs_version="$Id: throttletags.pike,v 1.4 2000/02/12 16:09:30 nilsson Exp $";      #ifdef THROTTLING_DEBUG   #undef THROTTLING_DEBUG
14:      #define THROW(X) throw( X+"\n" )    - array register_module() { -  return ({ -  MODULE_PARSER, -  "Throttling control tags", -  "This module provides a <tt>&lt;THROTTLE&gt;</tt> tag " -  "that you can use to determine a request's allocated bandwidth", -  0,1}); - } + constant module_type = MODULE_PARSER; + constant module_name = "Throttling control tags"; + constant module_doc = "This module provides a <tt>&lt;THROTTLE&gt;</tt> tag " +  "that you can use to determine a request's allocated bandwidth";      TAGDOCUMENTATION;   #ifdef manual