tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hgo...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/src/native/common jk_msg_buff.c jk_msg_buff.h
Date Thu, 07 Jun 2001 14:38:55 GMT
hgomez      01/06/07 07:38:55

  Modified:    jk/src/native/common jk_msg_buff.c jk_msg_buff.h
  Log:
  New functions to handle #bytes get/put
  
  Revision  Changes    Path
  1.4       +3 -3      jakarta-tomcat-connectors/jk/src/native/common/jk_msg_buff.c
  
  Index: jk_msg_buff.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/src/native/common/jk_msg_buff.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- jk_msg_buff.c	2001/06/01 10:01:08	1.3
  +++ jk_msg_buff.c	2001/06/07 14:38:51	1.4
  @@ -58,7 +58,7 @@
    * Author:      Costin <costin@costin.dnt.ro>                              *
    * Author:      Gal Shachor <shachor@il.ibm.com>                           *
    * Author:      Henri Gomez <hgomez@slib.fr>                               *
  - * Version:     $Revision: 1.3 $                                           *
  + * Version:     $Revision: 1.4 $                                           *
    ***************************************************************************/
   
   #include "jk_pool.h"
  @@ -185,13 +185,13 @@
   }
   
   
  -void jk_b_end(jk_msg_buf_t *msg) 
  +void jk_b_end(jk_msg_buf_t *msg, int protoh) 
   {
       /* 
        * Ugly way to set the size in the right position 
        */
       jk_b_set_int(msg, 2, (unsigned short )(msg->len - 4)); /* see protocol */
  -    jk_b_set_int(msg, 0, 0x1234);
  +    jk_b_set_int(msg, 0, protoh);
   }
   
   
  
  
  
  1.4       +3 -2      jakarta-tomcat-connectors/jk/src/native/common/jk_msg_buff.h
  
  Index: jk_msg_buff.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/src/native/common/jk_msg_buff.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- jk_msg_buff.h	2001/06/01 10:01:09	1.3
  +++ jk_msg_buff.h	2001/06/07 14:38:52	1.4
  @@ -57,7 +57,7 @@
    * Description: Data marshaling. XDR like                                  *
    * Author:      Costin <costin@costin.dnt.ro>                              *
    * Author:      Gal Shachor <shachor@il.ibm.com>                           *
  - * Version:     $Revision: 1.3 $                                           *
  + * Version:     $Revision: 1.4 $                                           *
    ***************************************************************************/
   
   #ifndef JK_MSG_BUF_H
  @@ -109,7 +109,8 @@
   /*
    * Finalize the buffer before sending - set length fields, etc
    */
  -void jk_b_end(jk_msg_buf_t *msg);
  +void jk_b_end(jk_msg_buf_t *msg,
  +			  int protoh);
   
   /*
    * Recycle the buffer - z for a new invocation 
  
  
  

Mime
View raw message