tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/ajp/ajplib/test ajp.h
Date Sun, 01 Aug 2004 14:04:17 GMT
mturk       2004/08/01 07:04:16

  Modified:    ajp/ajplib/test ajp.h
  Log:
  Added ajp_parse_ prototypes
  
  Revision  Changes    Path
  1.22      +26 -0     jakarta-tomcat-connectors/ajp/ajplib/test/ajp.h
  
  Index: ajp.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/ajp/ajplib/test/ajp.h,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- ajp.h	1 Aug 2004 13:29:40 -0000	1.21
  +++ ajp.h	1 Aug 2004 14:04:16 -0000	1.22
  @@ -397,5 +397,31 @@
   apr_status_t  ajp_send_data_msg(apr_socket_t *sock, request_rec  *r,
                                   ajp_msg_t *data, apr_size_t len);
   
  +/**
  + * Parse the message type 
  + * @param r         current request
  + * @param msg       AJP message
  + * @return          AJP message type.
  + */
  +int ajp_parse_type(request_rec  *r, ajp_msg_t *msg);
  +
  +/**
  + * Parse the headers 
  + * @param r         current request
  + * @param msg       AJP message
  + * @return          APR_SUCCESS or error
  + */
  +apr_status_t ajp_parse_headers(request_rec  *r, ajp_msg_t *msg);
  +
  +/** parse the header and return data address and length 
  + * @param r         current request
  + * @param msg       AJP message
  + * @param len       returned AJP message length 
  + * @param ptr       returned data
  + * @return          APR_SUCCESS or error
  + */
  +apr_status_t  ajp_parse_data(request_rec  *r, ajp_msg_t *msg,
  +                             apr_uint16_t *len, char **ptr);
  +
   #endif /* AJP_H */
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message