mturk       2004/07/29 23:27:09

  Modified:    ajp/ajplib/test ajp.h
  Log:
  Add prototypes for read_header and peek_byte.
  
  Revision  Changes    Path
  1.16      +21 -1     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.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- ajp.h     29 Jul 2004 08:04:49 -0000      1.15
  +++ ajp.h     30 Jul 2004 06:27:09 -0000      1.16
  @@ -250,6 +250,16 @@
   apr_status_t ajp_msg_get_byte(ajp_msg_t *msg, apr_byte_t *rvalue);
   
   /**
  + * Peek a 8bits unsigned value from AJP Message, position in message
  + * is not updated
  + *
  + * @param msg       AJP Message to get value from
  + * @param rvalue    Pointer where value will be returned
  + * @return          APR_SUCCESS or error
  + */
  +apr_status_t ajp_msg_peek_byte(ajp_msg_t *msg, apr_byte_t *rvalue);
  +
  +/**
    * Get a String value from AJP Message
    *
    * @param msg       AJP Message to get value from
  @@ -330,7 +340,7 @@
    */
   apr_status_t ajp_ilink_receive(apr_socket_t *sock, ajp_msg_t *msg);
   
  -/*&
  +/**
    * Build the ajp header message and send it
    * @param sock      backend socket
    * @param r         current request
  @@ -338,6 +348,16 @@
    */
   apr_status_t ajp_send_header(apr_socket_t *sock, request_rec  *r);
   
  +/**
  + * Read the ajp message and return the type of the message.
  + * @param sock      backend socket
  + * @param r         current request
  + * @param data      return data
  + * @return          APR_SUCCESS or error
  + */
  +apr_status_t ajp_read_header(apr_socket_t *sock,
  +                             request_rec  *r,
  +                             void **data);
   
   #endif /* AJP_H */
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to