hgomez      2002/09/25 00:42:36

  Modified:    jk/native2/include jk_pool.h
  Log:
  More AS/400/BS2000 back ports, notably to help JNI on EBCDIC systems
  
  Revision  Changes    Path
  1.8       +7 -1      jakarta-tomcat-connectors/jk/native2/include/jk_pool.h
  
  Index: jk_pool.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/include/jk_pool.h,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- jk_pool.h 22 May 2002 23:42:32 -0000      1.7
  +++ jk_pool.h 25 Sep 2002 07:42:36 -0000      1.8
  @@ -105,6 +105,8 @@
       typedef long long   jk_pool_atom_t;
   #elif defined(IRIX)
       typedef long long   jk_pool_atom_t;
  +#elif defined(AS400)
  +    typedef void *           jk_pool_atom_t;
   #else
       typedef long long   jk_pool_atom_t;
   #endif
  @@ -148,6 +150,10 @@
       void *(*calloc)(struct jk_env *env, jk_pool_t *_this, size_t size);
   
       void *(*pstrdup)(struct jk_env *env, jk_pool_t *_this, const char *s);
  +
  +    void *(*pstrdup2ascii)(struct jk_env *env, jk_pool_t *_this, const char *s);
  +
  +    void *(*pstrdup2ebcdic)(struct jk_env *env, jk_pool_t *_this, const char *s);
   
       /** Points to the private data. In the case of APR,
           it's a apr_pool you can use directly */
  
  
  

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

Reply via email to