You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2002/01/12 05:43:46 UTC
cvs commit: jakarta-tomcat-connectors/jk/native2/include jk_map.h
costin 02/01/11 20:43:46
Modified: jk/native2/include jk_map.h
Log:
Small change in signature - the exact same code was duplicated in jni worker.
Revision Changes Path
1.8 +6 -5 jakarta-tomcat-connectors/jk/native2/include/jk_map.h
Index: jk_map.h
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/include/jk_map.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- jk_map.h 31 Dec 2001 19:15:12 -0000 1.7
+++ jk_map.h 12 Jan 2002 04:43:46 -0000 1.8
@@ -58,7 +58,7 @@
/***************************************************************************
* Description: Map object header file *
* Author: Gal Shachor <sh...@il.ibm.com> *
- * Version: $Revision: 1.7 $ *
+ * Version: $Revision: 1.8 $ *
***************************************************************************/
#ifndef JK_MAP_H
@@ -137,7 +137,8 @@
const char *prop, const char *def);
/** Get a string property, using the worker's style
- for properties.
+ for properties. If objType is null, then objName.pname
+ will be used.
Example worker.ajp13.host=localhost.
*/
char *jk_map_getStrProp(struct jk_env *env, jk_map_t *m,
@@ -157,7 +158,7 @@
/* ========== Manipulating values ========== */
-/** Extract a String[] property. It'll split the value on
+/** Extract a String[] property. If sep==NULL, it'll split the value on
* ' ', tab, ',', '*'.
*
* @param pool Pool on which the result will be allocated. Defaults
@@ -165,7 +166,7 @@
*/
char **jk_map_split(struct jk_env *env, jk_map_t *m,
struct jk_pool *pool, /* XXX will be removed */
- const char *listStr, unsigned *list_len );
+ const char *listStr, const char *sep,unsigned *list_len );
int jk_map_str2int(struct jk_env *env, char *value);
@@ -188,7 +189,7 @@
*/
char *jk_map_replaceProperties(struct jk_env *env, jk_map_t *m,
struct jk_pool *resultPool,
- const char *value);
+ char *value);
/** For multi-value properties, return the concatenation
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>