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
00064 AXIS2_EXTERN axutil_property_t *AXIS2_CALL
00065
00066 axutil_property_create_with_args(
00067 const axutil_env_t * env,
00068 axis2_scope_t scope,
00069 axis2_bool_t own_value,
00070 AXIS2_FREE_VOID_ARG free_func,
00071 void *value);
00072
00073 AXIS2_EXTERN void AXIS2_CALL
00074 axutil_property_free(
00075 axutil_property_t * property,
00076 const axutil_env_t * env);
00077
00081 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00082 axutil_property_set_scope(
00083 axutil_property_t * property,
00084 const axutil_env_t * env,
00085 axis2_scope_t scope);
00086
00087 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00088 axutil_property_set_free_func(
00089 axutil_property_t * property,
00090 const axutil_env_t * env,
00091 AXIS2_FREE_VOID_ARG free_func);
00092
00093
00094 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00095 axutil_property_set_value(
00096 axutil_property_t * property,
00097 const axutil_env_t * env,
00098 void *value);
00099
00100 AXIS2_EXTERN void *AXIS2_CALL
00101 axutil_property_get_value(
00102 axutil_property_t * property,
00103 const axutil_env_t * env);
00104
00105 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00106 axutil_property_set_own_value(
00107 axutil_property_t * property,
00108 const axutil_env_t * env,
00109 axis2_bool_t own_value);
00110
00111 AXIS2_EXTERN axutil_property_t *AXIS2_CALL
00112 axutil_property_clone(
00113 axutil_property_t * property,
00114 const axutil_env_t * env);
00115
00116
00117
00120 #ifdef __cplusplus
00121 }
00122 #endif
00123
00124 #endif