mturk       2002/06/25 00:06:19

  Modified:    jk/native/common jk_util.h
  Log:
  Introduced socket and cache timeout.
  By Jan Singer, Henri Gomez and Mladen Turk.
  
  Revision  Changes    Path
  1.7       +21 -9     jakarta-tomcat-connectors/jk/native/common/jk_util.h
  
  Index: jk_util.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_util.h,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- jk_util.h 15 May 2002 21:00:29 -0000      1.6
  +++ jk_util.h 25 Jun 2002 07:06:18 -0000      1.7
  @@ -86,14 +86,14 @@
   
   /* [V] Two general purpose functions. Should ease the function bloat. */
   int jk_get_worker_str_prop(jk_map_t *m,
  -                        const char *wname,
  -                        const char *pname,
  -                        char **prop);
  +                           const char *wname,
  +                           const char *pname,
  +                           char **prop);
   
   int jk_get_worker_int_prop(jk_map_t *m,
  -                        const char *wname,
  -                        const char *pname,
  -                        int *prop);
  +                           const char *wname,
  +                           const char *pname,
  +                           int *prop);
   
   char *jk_get_worker_host(jk_map_t *m,
                            const char *wname,
  @@ -110,6 +110,18 @@
                                const char *wname,
                                int def);
   
  +int jk_get_worker_socket_timeout(jk_map_t *m,
  +                             const char *wname,
  +                             int def);
  +
  +int jk_get_worker_socket_keepalive(jk_map_t *m,
  +                             const char *wname,
  +                             int def);
  +
  +int jk_get_worker_cache_timeout(jk_map_t *m,
  +                             const char *wname,
  +                             int def);
  +
   char * jk_get_worker_secret_key(jk_map_t *m,
                                   const char *wname);
   
  @@ -123,10 +135,10 @@
                           const char *wname);
   
   int jk_get_is_local_worker(jk_map_t *m,
  -                        const char *wname);
  +                           const char *wname);
   
   int jk_get_is_local_worker_only_flag(jk_map_t *m,
  -                       const char *lb_wname);
  +                                     const char *lb_wname);
   
   int jk_get_lb_worker_list(jk_map_t *m, 
                             const char *lb_wname,
  
  
  

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

Reply via email to