00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef AXUTIL_PROPERTY_H
00020 #define AXUTIL_PROPERTY_H
00021
00022 #include <axutil_utils_defines.h>
00023 #include <axutil_error.h>
00024 #include <axutil_env.h>
00025 #include <axutil_utils.h>
00026
00027 #ifdef __cplusplus
00028 extern "C"
00029 {
00030 #endif
00031
00038 typedef struct axutil_property axutil_property_t;
00039
00044 AXIS2_EXTERN axutil_property_t *AXIS2_CALL
00045 axutil_property_create(
00046 const axutil_env_t * env);
00047
00061 AXIS2_EXTERN axutil_property_t *AXIS2_CALL
00062
00063 axutil_property_create_with_args(
00064 const axutil_env_t * env,
00065 axis2_scope_t scope,
00066 axis2_bool_t own_value,
00067 AXIS2_FREE_VOID_ARG free_func,
00068 void *value);
00069
00070 AXIS2_EXTERN void AXIS2_CALL
00071 axutil_property_free(
00072 axutil_property_t * property,
00073 const axutil_env_t * env);
00074
00078 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00079 axutil_property_set_scope(
00080 axutil_property_t * property,
00081 const axutil_env_t * env,
00082 axis2_scope_t scope);
00083
00084 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00085 axutil_property_set_free_func(
00086 axutil_property_t * property,
00087 const axutil_env_t * env,
00088 AXIS2_FREE_VOID_ARG free_func);
00089
00090
00091 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00092 axutil_property_set_value(
00093 axutil_property_t * property,
00094 const axutil_env_t * env,
00095 void *value);
00096
00097 AXIS2_EXTERN void *AXIS2_CALL
00098 axutil_property_get_value(
00099 axutil_property_t * property,
00100 const axutil_env_t * env);
00101
00102 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00103 axutil_property_set_own_value(
00104 axutil_property_t * property,
00105 const axutil_env_t * env,
00106 axis2_bool_t own_value);
00107
00108 AXIS2_EXTERN axutil_property_t *AXIS2_CALL
00109 axutil_property_clone(
00110 axutil_property_t * property,
00111 const axutil_env_t * env);
00112
00113
00114
00117 #ifdef __cplusplus
00118 }
00119 #endif
00120
00121 #endif