00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef AXIS2_CTX_H
00020 #define AXIS2_CTX_H
00021
00043 #include <axis2_defines.h>
00044 #include <axutil_hash.h>
00045 #include <axutil_env.h>
00046 #include <axutil_property.h>
00047
00048 #ifdef __cplusplus
00049 extern "C"
00050 {
00051 #endif
00052
00054 typedef struct axis2_ctx axis2_ctx_t;
00055
00061 AXIS2_EXTERN axis2_ctx_t *AXIS2_CALL
00062 axis2_ctx_create(
00063 const axutil_env_t * env);
00064
00074 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00075 axis2_ctx_set_property(
00076 struct axis2_ctx *ctx,
00077 const axutil_env_t * env,
00078 const axis2_char_t * key,
00079 axutil_property_t * value);
00080
00088 AXIS2_EXTERN axutil_property_t *AXIS2_CALL
00089 axis2_ctx_get_property(
00090 const axis2_ctx_t * ctx,
00091 const axutil_env_t * env,
00092 const axis2_char_t * key);
00093
00101 AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
00102 axis2_ctx_get_property_map(
00103 const axis2_ctx_t * ctx,
00104 const axutil_env_t * env);
00105
00112 AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
00113 axis2_ctx_get_all_properties(
00114 const axis2_ctx_t * ctx,
00115 const axutil_env_t * env);
00116
00123 AXIS2_EXTERN void AXIS2_CALL
00124 axis2_ctx_free(
00125 axis2_ctx_t * ctx,
00126 const axutil_env_t * env);
00127
00135 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00136 axis2_ctx_set_property_map(
00137 struct axis2_ctx *ctx,
00138 const axutil_env_t * env,
00139 axutil_hash_t * map);
00140
00143 #ifdef __cplusplus
00144 }
00145 #endif
00146
00147 #endif