mod_jk Library General package

Classes
struct jk_pool
struct worker_record

Global Functions
int jk_b_copy(jk_msg_buf_t *smsg, jk_msg_buf_t *dmsg)
unsigned char jk_b_get_byte(jk_msg_buf_t *msg)
int jk_b_get_bytes(jk_msg_buf_t *msg, unsigned char *buf, int len)
unsigned short jk_b_get_int(jk_msg_buf_t *msg)
unsigned long jk_b_get_long(jk_msg_buf_t *msg)
unsigned char *jk_b_get_string(jk_msg_buf_t *msg)
jk_msg_buf_t *jk_b_new(jk_pool_t *p)
unsigned char jk_b_pget_byte(jk_msg_buf_t *msg, int pos)
unsigned short jk_b_pget_int(jk_msg_buf_t *msg, int pos)
unsigned long jk_b_pget_long(jk_msg_buf_t *msg, int pos)
int jk_b_set_buffer(jk_msg_buf_t *msg, unsigned char *data, int buffSize)
void jk_dump_buff(jk_logger_t *l, const char *file, int line, const char *funcname, int level, char *what, jk_msg_buf_t *msg)
char *jk_map_replace_properties(const char *value, jk_map_t *m)
char *jk_map_replace_properties(const char *value, jk_map_t *m)

Class "jk_pool" Detail:
jk_pool
struct jk_pool {
};

@file jk_pool.h @brief Jk memory allocation Similar with apr_pools, but completely unsynchronized. XXX use same names Alignment macros Default alignment jk pool structure

Class "worker_record" Detail:
worker_record
struct worker_record {
};

Worker record should be inside shared memory for correct behavior. Right now it operates on 'equal-load' presumption.

Global Functions Detail:
jk_b_copy
int jk_b_copy(jk_msg_buf_t *smsg, jk_msg_buf_t *dmsg);
Copy a msg buf into another one

jk_b_get_byte
unsigned char jk_b_get_byte(jk_msg_buf_t *msg);
Get a byte from the current position

jk_b_get_bytes
int jk_b_get_bytes(jk_msg_buf_t *msg, unsigned char *buf, int len);
Get Bytes from the current position

jk_b_get_int
unsigned short jk_b_get_int(jk_msg_buf_t *msg);
Get an int from the current position

jk_b_get_long
unsigned long jk_b_get_long(jk_msg_buf_t *msg);
Get a long from the current position

jk_b_get_string
unsigned char *jk_b_get_string(jk_msg_buf_t *msg);
Get a String from the current position

jk_b_new
jk_msg_buf_t *jk_b_new(jk_pool_t *p);
Allocate a buffer.

jk_b_pget_byte
unsigned char jk_b_pget_byte(jk_msg_buf_t *msg, int pos);
Get a byte from an arbitrary position

jk_b_pget_int
unsigned short jk_b_pget_int(jk_msg_buf_t *msg, int pos);
Get an int from an arbitrary position

jk_b_pget_long
unsigned long jk_b_pget_long(jk_msg_buf_t *msg, int pos);
Get a long from an arbitrary position

jk_b_set_buffer
int jk_b_set_buffer(jk_msg_buf_t *msg, unsigned char *data, int buffSize);
Set up a buffer with an existing buffer

jk_dump_buff
void jk_dump_buff(jk_logger_t *l, const char *file, int line, const char *funcname, int level, char *what, jk_msg_buf_t *msg);
Helpie dump function

jk_map_replace_properties
char *jk_map_replace_properties(const char *value, jk_map_t *m);
Replace $(property) in value.

jk_map_replace_properties
char *jk_map_replace_properties(const char *value, jk_map_t *m);
Replace $(property) in value.

Copyright © 2001, The Apache Software Foundation.
All Rights Reserved.
Generated with
ScanDoc 0.14 on Fri Feb 11 12:01:04 2005