Diff for /parser3/src/include/pa_globals.h between versions 1.20 and 1.23

version 1.20, 2001/03/22 11:19:10 version 1.23, 2001/03/23 10:27:30
Line 16 Line 16
   
 //@{  //@{
 /// constant string. class name, predefined method & co  /// constant string. class name, predefined method & co
 #define AUTO_FILE_NAME "/auto.p"  #define AUTO_FILE_NAME "auto.p"
   
 #define CONTENT_TYPE_NAME "content-type"  #define CONTENT_TYPE_NAME "content-type"
 #define BODY_NAME "body"  #define BODY_NAME "body"
Line 50 Line 50
 #define RESULT_VAR_NAME "result"  #define RESULT_VAR_NAME "result"
 //@}  //@}
   
 /// target-specific service functions  
 struct Service_funcs {  
         /// get env  
         const char *(*get_env)(Pool& pool, const char *name);  
         /// read POST request bytes  
         uint (*read_post)(Pool& pool, char *buf, uint max_bytes);  
         /// add response header attribute  
         void (*add_header_attribute)(Pool& pool, const char *key, const char *value);  
         /// add response header attribute  
         void (*send_header)(Pool& pool);  
         /// output body bytes  
         void (*send_body)(Pool& pool, const char *buf, size_t size);  
 };  
   
   
 /// core func  /// core func
 void globals_init(Pool& pool);  void pa_globals_init(Pool& pool);
   
 /// hex_value[c] = hex value of c  /// hex_value[c] = hex value of c
 extern short hex_value[0x100];  extern short hex_value[0x100];
   
 /// target-specific service functions  
 extern Service_funcs service_funcs;  
   
 //@{  //@{
 /// global string  /// global string
 extern String *content_type_name;  extern String *content_type_name;

Removed from v.1.20  
changed lines
  Added in v.1.23


E-mail: