--- parser3/src/include/pa_globals.h 2001/03/24 10:59:47 1.24 +++ parser3/src/include/pa_globals.h 2001/03/25 08:52:34 1.27 @@ -5,21 +5,25 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_globals.h,v 1.24 2001/03/24 10:59:47 paf Exp $ + $Id: pa_globals.h,v 1.27 2001/03/25 08:52:34 paf Exp $ */ #ifndef PA_GLOBALS_H #define PA_GLOBALS_H -#include "pa_string.h" -#include "pa_hash.h" +#include "pa_pool.h" + +class String; +class Hash; +class Table; //@{ /// constant string. class name, predefined method & co #define AUTO_FILE_NAME "auto.p" +#define HTML_TYPO_NAME "html-typo" + #define CONTENT_TYPE_NAME "content-type" -#define DEFAULT_CONTENT_TYPE_STRING "text/html" #define BODY_NAME "body" #define VALUE_NAME "value" #define EXPIRES_NAME "expires" @@ -59,8 +63,8 @@ extern short hex_value[0x100]; //@{ /// global string +extern String *html_typo_name; extern String *content_type_name; -extern String *default_content_type_string; extern String *body_name; extern String *value_name; extern String *expires_name; @@ -97,4 +101,7 @@ extern String *result_var_name; /// global hash extern Hash *untaint_lang_name2enum; +/// global table +extern Table *default_typo_table; + #endif