Branch: Tag:

2001-07-21

2001-07-21 10:55:00 by Martin Stjernholm <mast@lysator.liu.se>

Added Configuration.get_url, which mangles MyWorldLocation and URLs as
appropriately and caches the result.

Rev: server/base_server/configuration.pike:1.453
Rev: server/base_server/prototypes.pike:1.25

4:   #include <stat.h>   #include <config.h>   #include <module_constants.h> - constant cvs_version="$Id: prototypes.pike,v 1.24 2001/07/21 10:13:28 mast Exp $"; + constant cvs_version="$Id: prototypes.pike,v 1.25 2001/07/21 10:55:00 mast Exp $";      class Variable   {
209:    void stop(void|int asynch);    string type_from_filename( string file, int|void to, string|void myext );    +  string get_url(); +  //! Returns some URL for accessing the configuration. (Should be +  //! used instead of querying MyWorldLocation directly.) +     array (RoxenModule) get_providers(string provides);    RoxenModule get_provider(string provides);    array(mixed) map_providers(string provides, string fun, mixed ... args);