axutil_param_container.h

Go to the documentation of this file.
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_PARAM_CONTAINER_H
00020 #define AXUTIL_PARAM_CONTAINER_H
00021 
00032 #include <axutil_utils.h>
00033 #include <axutil_error.h>
00034 #include <axutil_utils_defines.h>
00035 #include <axutil_env.h>
00036 #include <axutil_allocator.h>
00037 #include <axutil_string.h>
00038 #include <axutil_array_list.h>
00039 #include <axutil_hash.h>
00040 
00041 /*#include <axiom_element.h>*/
00042 #include <axutil_qname.h>
00043 #include <axutil_param.h>
00044 
00045 #ifdef __cplusplus
00046 extern "C"
00047 {
00048 #endif
00049 
00055     typedef void(
00056         AXIS2_CALL
00057         * AXIS2_PARAM_VALUE_FREE)(
00058             void *param,
00059             const axutil_env_t * env);
00060 
00061     typedef struct axutil_param_container axutil_param_container_t;
00062 
00067     AXIS2_EXTERN axutil_param_container_t *AXIS2_CALL
00068 
00069     axutil_param_container_create(
00070         const axutil_env_t * env);
00071 
00077     AXIS2_EXTERN void AXIS2_CALL
00078     axutil_param_container_free_void_arg(
00079         void *param_container,
00080         const axutil_env_t * env);
00081 
00085     AXIS2_EXTERN void AXIS2_CALL
00086     axutil_param_container_free(
00087         axutil_param_container_t * param_container,
00088         const axutil_env_t * env);
00089 
00094     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00095     axutil_param_container_add_param(
00096         axutil_param_container_t * param_container,
00097         const axutil_env_t * env,
00098         axutil_param_t * param);
00099 
00104     AXIS2_EXTERN axutil_param_t *AXIS2_CALL
00105     axutil_param_container_get_param(
00106         axutil_param_container_t * param_container,
00107         const axutil_env_t * env,
00108         const axis2_char_t * name);
00109 
00113     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
00114 
00115     axutil_param_container_get_params(
00116         axutil_param_container_t * param_container,
00117         const axutil_env_t * env);
00118 
00123     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00124 
00125     axutil_param_container_is_param_locked(
00126         axutil_param_container_t * param_container,
00127         const axutil_env_t * env,
00128         const axis2_char_t * param_name);
00129 
00132 #ifdef __cplusplus
00133 }
00134 #endif
00135 #endif                          /* AXIS2_PARAM_CONTAINER_H */

Generated on Tue Jan 8 01:28:17 2008 for Axis2/C by  doxygen 1.5.1