--- parser3/src/include/pa_request.h 2001/03/12 09:08:47 1.40 +++ parser3/src/include/pa_request.h 2001/03/12 18:13:49 1.44 @@ -3,7 +3,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_request.h,v 1.40 2001/03/12 09:08:47 paf Exp $ + $Id: pa_request.h,v 1.44 2001/03/12 18:13:49 paf Exp $ */ #ifndef PA_REQUEST_H @@ -17,12 +17,15 @@ #include "pa_stack.h" #include "pa_vclass.h" +#define UNNAMED_NAME "unnamed" + #define MAIN_METHOD_NAME "main" #define AUTO_METHOD_NAME "auto" #define MAIN_CLASS_NAME "MAIN" #define ROOT_CLASS_NAME "ROOT" #define ENV_CLASS_NAME "ENV" +#define TABLE_CLASS_NAME "table" #ifndef NO_STRING_ORIGIN # define COMPILE_PARAMS \ @@ -85,6 +88,11 @@ public: wcontext->write(avalue, String::Untaint_lang::PASS_APPENDED); } + void fail_if_junction_(bool is, Value& value, const String& method_name, char *msg); + + char *relative(const char *path, const char *file); + char *absolute(const char *name); + public: // default base @@ -134,6 +142,11 @@ private: // lang manipulation flang=alang; } +private: // web + + const char *document_root; + const char *page_filespec; + }; class Temp_lang {