--- parser3/src/include/pa_charsets.h 2003/03/18 15:14:16 1.8.2.8.2.1 +++ parser3/src/include/pa_charsets.h 2003/07/24 11:31:21 1.9 @@ -11,24 +11,24 @@ #ifndef PA_CHARSETS_H #define PA_CHARSETS_H -static const char* IDENT_CHARSETS_H="$Date: 2003/03/18 15:14:16 $"; +static const char* IDENT_CHARSETS_H="$Date: 2003/07/24 11:31:21 $"; #include "pa_hash.h" #include "pa_charset.h" -class Charsets: public Hash { - Pool charsets_pool; +/// convention: use UPPERCASE keys +class Charsets: public Hash { public: Charsets(); - Charset& get(const String& aname); + Charset& get(const StringBody ANAME); - void load_charset(const String& arequest_name, const String& arequest_file_spec); + void load_charset(Request_charsets& charsets, const StringBody ANAME, const String& afile_spec); }; //@{ globals -extern CharsetPtr UTF8_charset; +extern Charset UTF8_charset; extern Charsets charsets; //@}