Diff for /parser3/src/include/pa_sapi.h between versions 1.22.2.2 and 1.24

version 1.22.2.2, 2003/01/29 09:16:15 version 1.24, 2003/11/20 16:34:25
Line 1 Line 1
 /** @file  /** @file
         Parser: web server api interface object decl.          Parser: web server api interface object decl.
   
         Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com)          Copyright (c) 2001-2003 ArtLebedev Group (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_SAPI_H  #ifndef PA_SAPI_H
 #define PA_SAPI_H  #define PA_SAPI_H
   
 static const char* IDENT_SAPI_H="$Date$";  static const char * const IDENT_SAPI_H="$Date$";
   
 // includes  // includes
   
 #include "pa_pool.h"  
 #include "pa_types.h"  #include "pa_types.h"
   #include "pa_array.h"
   
 // forwards  // forwards
   
 class SAPI_Info;  class SAPI_Info;
   
 /// target web-Server API  /// target web-Server API
 struct SAPI {  struct SAPI {
         /// log error message          /// log error message
         static void log(SAPI_Info& info, const char *fmt, ...);          static void log(SAPI_Info& info, const char* fmt, ...);
         /// log error message & die          /// log error message & exit
         static void die(const char *fmt, ...);          static void die(const char* fmt, ...);
           /// log error message & abort[write core]
           static void abort(const char* fmt, ...);
         /// environment strings          /// environment strings
         static const char *const *environment(SAPI_Info& info);          static const char* const* environment(SAPI_Info& info);
         /// get environment string          /// get environment string
         static const char *get_env(SAPI_Info& info, const char *name);          static char* get_env(SAPI_Info& info, const char* name);
         /// read POST request bytes          /// read POST request bytes
         static size_t read_post(SAPI_Info& info, char *buf, size_t max_bytes);          static size_t read_post(SAPI_Info& info, char *buf, size_t max_bytes);
         /// add response header attribute [but do not send it to client]          /// add response header attribute [but do not send it to client]
         static void add_header_attribute(SAPI_Info& info, const char *key, const char *value);          static void add_header_attribute(SAPI_Info& info, 
                   const char* dont_store_key, const char* dont_store_value);
         /// send collected header attributes to client          /// send collected header attributes to client
         static void send_header(SAPI_Info& info);          static void send_header(SAPI_Info& info);
         /// output body bytes          /// output body bytes

Removed from v.1.22.2.2  
changed lines
  Added in v.1.24


E-mail: