costin 02/03/23 08:52:18 Modified: jk/native2/include jk_config.h jk_endpoint.h jk_env.h Log: Add a 'settings' table in the jk_bean, to store the 'original' settings ( to be saved ) Add a section in jk_config, to init .ini extension. Make endpoint a 'manageable' entity - we'll display/get information about each active connection and maybe manipulate it. Revision Changes Path 1.2 +2 -0 jakarta-tomcat-connectors/jk/native2/include/jk_config.h Index: jk_config.h =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/include/jk_config.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- jk_config.h 18 Mar 2002 17:49:35 -0000 1.1 +++ jk_config.h 23 Mar 2002 16:52:18 -0000 1.2 @@ -149,6 +149,8 @@ void *_private; struct jk_workerEnv *workerEnv; struct jk_map *map; + + char *section; }; /** Util: Split a string in components. */ 1.11 +2 -2 jakarta-tomcat-connectors/jk/native2/include/jk_endpoint.h Index: jk_endpoint.h =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/include/jk_endpoint.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- jk_endpoint.h 26 Jan 2002 06:20:10 -0000 1.10 +++ jk_endpoint.h 23 Mar 2002 16:52:18 -0000 1.11 @@ -61,7 +61,7 @@ * Author: Gal Shachor <[EMAIL PROTECTED]> * Author: Dan Milstein <[EMAIL PROTECTED]> * Author: Henri Gomez <[EMAIL PROTECTED]> - * Version: $Revision: 1.10 $ + * Version: $Revision: 1.11 $ ***************************************************************************/ #ifndef JK_ENDPOINT_H @@ -116,7 +116,7 @@ * See jk_ajp13_worker.c/jk_ajp14_worker.c and jk_ajp12_worker.c for examples. */ struct jk_endpoint { - + struct jk_bean *mbean; /* * A 'this' pointer which is used by the subclasses of this class to * point to data/functions which are specific to a given protocol 1.8 +8 -0 jakarta-tomcat-connectors/jk/native2/include/jk_env.h Index: jk_env.h =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/include/jk_env.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- jk_env.h 18 Mar 2002 17:53:27 -0000 1.7 +++ jk_env.h 23 Mar 2002 16:52:18 -0000 1.8 @@ -140,6 +140,14 @@ */ void *object; + /** Unprocessed settings that are set on this bean by the config + apis ( i.e. with $() in it ). + + It'll be != NULL for each component that was created or set using + jk_config. + */ + struct jk_map *settings; + /** Set a jk property. This is similar with the mechanism * used by java side ( with individual setters for * various properties ), except we use a single method
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>