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/common jk_registry.c
Date Wed, 12 Dec 2001 21:55:58 GMT
costin      01/12/12 13:55:58

  Modified:    jk/native2/common jk_registry.c
  Log:
  Added the new objects.
  
  Revision  Changes    Path
  1.5       +30 -7     jakarta-tomcat-connectors/jk/native2/common/jk_registry.c
  
  Index: jk_registry.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_registry.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- jk_registry.c	2001/12/06 23:04:46	1.4
  +++ jk_registry.c	2001/12/12 21:55:57	1.5
  @@ -62,7 +62,7 @@
   
   /***************************************************************************
    * Description: Worker list                                                *
  - * Version:     $Revision: 1.4 $                                           *
  + * Version:     $Revision: 1.5 $                                           *
    ***************************************************************************/
   
   /** Static declarations for all 'hardcoded' modules. This is a hack, 
  @@ -89,32 +89,51 @@
                                          const char *type, const char *name);
   
                                      
  -int JK_METHOD jk_worker_lb_factory(jk_env_t *env, jk_pool_t *pool, void **result,
  +int JK_METHOD jk_worker_lb_factory(jk_env_t *env, jk_pool_t *pool,
  +                                   void **result,
                                      const char *type, const char *name);
   
   
  -int JK_METHOD jk_worker_jni_factory(jk_env_t *env, jk_pool_t *pool, void **result,
  +int JK_METHOD jk_worker_jni_factory(jk_env_t *env, jk_pool_t *pool,
  +                                    void **result,
                                       const char *type, const char *name);
   
  -int JK_METHOD jk_worker_ajp12_factory(jk_env_t *env, jk_pool_t *pool, void **result,
  +int JK_METHOD jk_worker_ajp12_factory(jk_env_t *env, jk_pool_t *pool,
  +                                      void **result,
                                         const char *type, const char *name);
   
   /* Factories for 'new' types. We use the new factory interface,
    *  workers will be updated later 
    */
  -int JK_METHOD jk_channel_socket_factory(jk_env_t *env, jk_pool_t *pool, void **result,
  +int JK_METHOD jk_channel_socket_factory(jk_env_t *env, jk_pool_t *pool,
  +                                        void **result,
   					const char *type, const char *name);
   
  -int JK_METHOD jk_workerEnv_factory(jk_env_t *env, jk_pool_t *pool, void **result,
  +int JK_METHOD jk_workerEnv_factory(jk_env_t *env, jk_pool_t *pool,
  +                                   void **result,
                                      const char *type, const char *name);
   
   int JK_METHOD jk_uriMap_factory(jk_env_t *env, jk_pool_t *pool, void **result,
                                   const char *type, const char *name);
   
  -int JK_METHOD jk_logger_file_factory(jk_env_t *env, jk_pool_t *pool, void **result,
  +int JK_METHOD jk_logger_file_factory(jk_env_t *env, jk_pool_t *pool,
  +                                     void **result,
                                        const char *type, const char *name);
   
   
  +int JK_METHOD jk_handler_logon_factory( jk_env_t *env, jk_pool_t *pool,
  +                                        void **result,
  +                                        const char *type, const char *name);
  +
  +int JK_METHOD jk_handler_discovery_factory( jk_env_t *env, jk_pool_t *pool,
  +                                            void **result,
  +                                            const char *type, const char *name);
  +
  +int JK_METHOD jk_handler_response_factory( jk_env_t *env, jk_pool_t *pool,
  +                                           void **result,
  +                                           const char *type, const char *name);
  +
  +
   /**
    *   Init the components that we compile in by default. 
    *   In future we should have a more flexible mechanism that would allow 
  @@ -142,6 +161,10 @@
     env->registerFactory( env, "worker", "ajp14", jk_worker_ajp14_factory );
     env->registerFactory( env, "worker", "lb",    jk_worker_lb_factory );
     env->registerFactory( env, "channel", "socket", jk_channel_socket_factory );
  +  env->registerFactory( env, "handler", "response", jk_handler_response_factory );
  +  env->registerFactory( env, "handler", "logon",   jk_handler_logon_factory );
  +  env->registerFactory( env, "handler", "discovery",
  +                        jk_handler_discovery_factory );
   
     /* Optional objects */
   
  
  
  

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