Diff for /parser3/src/include/pa_globals.h between versions 1.101.2.13 and 1.116

version 1.101.2.13, 2003/02/04 12:08:56 version 1.116, 2015/10/26 01:21:55
Line 1 Line 1
 /** @file  /** @file
         Parser: global decls.          Parser: global decls.
   
         Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com)          Copyright (c) 2001-2015 Art. Lebedev Studio (http://www.artlebedev.com)
         Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)          Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
 */  */
   
 #ifndef PA_GLOBALS_H  #ifndef PA_GLOBALS_H
 #define PA_GLOBALS_H  #define PA_GLOBALS_H
   
 static const char* IDENT_GLOBALS_H="$Date$";  #define IDENT_PA_GLOBALS_H "$Id$"
   
 #include "pa_pool.h"  #ifdef XML
 #include "pa_hash.h"  #       include "libxml/tree.h"
 #include "pa_string.h"  #endif
   
 class Dictionary;  class Request;
 class Charset;  
 class Table;  
   
 /// core func  /// initialize global variables
 void pa_globals_init();  void pa_globals_init();
   
 /// hex_value[c] = hex value of c  /// finalize global variables
 extern short hex_value[0x100];  void pa_globals_done();
   
 //@{  
 /// global string  
   
 extern StringPtr match_var_name;  
   
 extern StringPtr exception_var_name;  
 extern StringPtr exception_type_part_name;  
 extern StringPtr exception_source_part_name;  
 extern StringPtr exception_comment_part_name;  
 extern StringPtr exception_handled_part_name;  
   
 extern StringPtr content_disposition_name;  
 extern StringPtr content_disposition_value;  
 extern StringPtr content_disposition_filename_name;  
   
 extern StringPtr limits_name;  
   
 extern StringPtr switch_data_name;  /// for lt_dlinit to be called once
   void pa_dlinit();
 extern StringPtr cache_data_name;  
   
 extern StringPtr sql_limit_name;  
 extern StringPtr sql_offset_name;  
 extern StringPtr sql_default_name;  
 extern StringPtr sql_distinct_name;  
   
 extern StringPtr hash_default_element_name;  
   
 //@}  
   
   /// hex_value[c] = hex value of c
   extern short hex_value[0x100];
   
 #ifdef XML  #ifdef XML
 /// DOMImplementation  
 extern GdomeDOMImplementation *domimpl;  
   
 /// flag whether there were some xml generic errors on current thread  /// flag whether there were some xml generic errors on current thread
 bool xmlHaveGenericErrors();  bool xmlHaveGenericErrors();
 /// get xml generic error accumulated for current thread. WARNING: it is up to caller to free up  /// get xml generic error accumulated for current thread. WARNING: it is up to caller to free up
 const char* xmlGenericErrors();  const char* xmlGenericErrors();
 #endif  #endif
   
   /// register request for local thread to retrive later with pa_get_request()
   void pa_register_thread_request(Request&);
   /// retrives request set by pa_set_request function, useful in contextless places [slow]
   Request& pa_thread_request();
   
 #endif  #endif

Removed from v.1.101.2.13  
changed lines
  Added in v.1.116


E-mail: