Axis2/C: axutil_property.h Source File

- Main Page
- Modules
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

# axutil_property.h

    00001
    00002 /*
    00003  * Licensed to the Apache Software Foundation (ASF) under one or more
    00004  * contributor license agreements.  See the NOTICE file distributed with
    00005  * this work for additional information regarding copyright ownership.
    00006  * The ASF licenses this file to You under the Apache License, Version 2.0
    00007  * (the "License"); you may not use this file except in compliance with
    00008  * the License.  You may obtain a copy of the License at
    00009  *
    00010  *      http://www.apache.org/licenses/LICENSE-2.0
    00011  *
    00012  * Unless required by applicable law or agreed to in writing, software
    00013  * distributed under the License is distributed on an "AS IS" BASIS,
    00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00015  * See the License for the specific language governing permissions and
    00016  * limitations under the License.
    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     /*************************** Function macros **********************************/
    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     /*************************** End of function macros ***************************/
    00117
    00120 #ifdef __cplusplus
    00121 }
    00122 #endif
    00123
    00124 #endif                          /* AXIS2_PROPERTY_H */