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
00039 #include <axis2_defines.h>
00040 #include <axutil_hash.h>
00041 #include <axutil_env.h>
00042 #include <axutil_property.h>
00043
00044 #ifdef __cplusplus
00045 extern "C"
00046 {
00047 #endif
00048
00050 typedef struct axis2_ctx axis2_ctx_t;
00051
00057 AXIS2_EXTERN axis2_ctx_t *AXIS2_CALL
00058 axis2_ctx_create(
00059 const axutil_env_t * env);
00060
00073 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00074 axis2_ctx_set_property(
00075 struct axis2_ctx *ctx,
00076 const axutil_env_t * env,
00077 const axis2_char_t * key,
00078 axutil_property_t * value);
00079
00090 AXIS2_EXTERN axutil_property_t *AXIS2_CALL
00091 axis2_ctx_get_property(
00092 const axis2_ctx_t * ctx,
00093 const axutil_env_t * env,
00094 const axis2_char_t * key);
00095
00103 AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
00104 axis2_ctx_get_property_map(
00105 const axis2_ctx_t * ctx,
00106 const axutil_env_t * env);
00107
00114 AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
00115 axis2_ctx_get_all_properties(
00116 const axis2_ctx_t * ctx,
00117 const axutil_env_t * env);
00118
00125 AXIS2_EXTERN void AXIS2_CALL
00126 axis2_ctx_free(
00127 axis2_ctx_t * ctx,
00128 const axutil_env_t * env);
00129
00137 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00138 axis2_ctx_set_property_map(
00139 struct axis2_ctx *ctx,
00140 const axutil_env_t * env,
00141 axutil_hash_t * map);
00142
00143 #ifdef __cplusplus
00144 }
00145 #endif
00146
00147 #endif