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_workerEnv.h
Date Wed, 12 Dec 2001 22:02:08 GMT
costin      01/12/12 14:02:08

  Modified:    jk/native2/include jk_workerEnv.h
  Log:
  Added the handler table and processCallback.
  
  Revision  Changes    Path
  1.5       +16 -1     jakarta-tomcat-connectors/jk/native2/include/jk_workerEnv.h
  
  Index: jk_workerEnv.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/include/jk_workerEnv.h,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- jk_workerEnv.h	2001/12/06 22:48:49	1.4
  +++ jk_workerEnv.h	2001/12/12 22:02:08	1.5
  @@ -58,7 +58,7 @@
   /***************************************************************************
    * Description: Workers controller header file                             *
    * Author:      Gal Shachor <shachor@il.ibm.com>                           * 
  - * Version:     $Revision: 1.4 $                                           *
  + * Version:     $Revision: 1.5 $                                           *
    ***************************************************************************/
   
   #ifndef JK_WORKERENV_H
  @@ -70,6 +70,8 @@
   #include "jk_map.h"
   #include "jk_uriMap.h"
   #include "jk_webapp.h"
  +#include "jk_handler.h"
  +#include "jk_service.h"
   
   #ifdef __cplusplus
   extern "C" {
  @@ -81,6 +83,8 @@
   struct jk_uriMap;
   struct jk_webapp;
   struct jk_map;
  +struct jk_handler;
  +struct jk_ws_service;
   
   /*
    * Jk configuration and global methods. 
  @@ -187,6 +191,13 @@
       int envvars_in_use;
       jk_map_t * envvars;
   
  +    /* Handlers. This is a dispatch table for messages, for
  +     * each message id we have an entry containing the jk_handler_t.
  +     * lastMessageId is the size of the table.
  +     */
  +    struct jk_handler **handlerTable;
  +    int lastMessageId;
  +    
       /** Private data, associated with the 'real' server
        *  server_rec * in apache
        */
  @@ -208,6 +219,10 @@
                                         const char *vhost,
                                         const char *name, 
                                         struct jk_map *init_data);
  +
  +    int (*processCallbacks)(struct jk_workerEnv *_this,
  +                            struct jk_endpoint *e,
  +                            struct jk_ws_service *r );
   
       /**
        *  Init the workers, prepare the worker environment.
  
  
  

--
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