tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/include jk_global.h jk_shm.h
Date Wed, 17 Apr 2002 22:46:35 GMT
costin      02/04/17 15:46:35

  Modified:    jk/native2/include jk_global.h jk_shm.h
  Log:
  Add a JK_OK constant - JK_TRUE is the reverse of APR_SUCCESS.
  
  I'll eventually to a regexp replacement - things are working, but
  in future we may run into problems with this.
  
  Revision  Changes    Path
  1.6       +3 -1      jakarta-tomcat-connectors/jk/native2/include/jk_global.h
  
  Index: jk_global.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/include/jk_global.h,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- jk_global.h	12 Apr 2002 21:49:03 -0000	1.5
  +++ jk_global.h	17 Apr 2002 22:46:35 -0000	1.6
  @@ -59,7 +59,7 @@
    * Description: Global definitions and include files that should exist     *
    *              anywhere                                                   *
    * Author:      Gal Shachor <shachor@il.ibm.com>                           *
  - * Version:     $Revision: 1.5 $                                               *
  + * Version:     $Revision: 1.6 $                                               *
    ***************************************************************************/
   
   #ifndef JK_GLOBAL_H
  @@ -156,6 +156,8 @@
   #define JK_WORKER_FILE_DEF  ("workers.properties")
   #define JK_LOG_LEVEL_DEF    ("emerg")
   
  +#define JK_OK (0)
  +    
   #define JK_TRUE  (1)
   #define JK_FALSE (0)
   
  
  
  
  1.2       +4 -0      jakarta-tomcat-connectors/jk/native2/include/jk_shm.h
  
  Index: jk_shm.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/include/jk_shm.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- jk_shm.h	10 Apr 2002 23:44:56 -0000	1.1
  +++ jk_shm.h	17 Apr 2002 22:46:35 -0000	1.2
  @@ -117,6 +117,10 @@
        */
       int (*init)(struct jk_env *env, struct jk_shm *shm);
   
  +    /** Detach from the shared memory segment
  +     */
  +    int (*destroy)(struct jk_env *env, struct jk_shm *shm);
  +
       /** Get a shm slot. Each slot has different rules for synchronization, based on type.

        */
       struct jk_shm_slot *(*getSlot)(struct jk_env *env, struct jk_shm *shm, char *name,
int size);
  
  
  

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


Mime
View raw message