axutil_param_container.h

Go to the documentation of this file.
00001 /*
00002  * Licensed to the Apache Software Foundation (ASF) under one or more
00003  * contributor license agreements.  See the NOTICE file distributed with
00004  * this work for additional information regarding copyright ownership.
00005  * The ASF licenses this file to You under the Apache License, Version 2.0
00006  * (the "License"); you may not use this file except in compliance with
00007  * the License.  You may obtain a copy of the License at
00008  *
00009  *      http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 #ifndef AXUTIL_PARAM_CONTAINER_H
00019 #define AXUTIL_PARAM_CONTAINER_H
00020 
00031 #include <axutil_utils.h>
00032 #include <axutil_error.h>
00033 #include <axutil_utils_defines.h>
00034 #include <axutil_env.h>
00035 #include <axutil_allocator.h>
00036 #include <axutil_string.h>
00037 #include <axutil_array_list.h>
00038 #include <axutil_hash.h>
00039 
00040 /*#include <axiom_element.h>*/
00041 #include <axutil_qname.h>
00042 #include <axutil_param.h>
00043 
00044 #ifdef __cplusplus
00045 extern "C"
00046 {
00047 #endif
00048 
00054     typedef void (AXIS2_CALL *
00055     AXIS2_PARAM_VALUE_FREE)(void *param, 
00056         const axutil_env_t *env);
00057 
00058     typedef struct axutil_param_container axutil_param_container_t;
00059 
00064     AXIS2_EXTERN axutil_param_container_t * AXIS2_CALL
00065     axutil_param_container_create(const axutil_env_t *env);
00066 
00072     AXIS2_EXTERN void AXIS2_CALL
00073     axutil_param_container_free_void_arg(void *param_container,
00074         const axutil_env_t *env);
00075 
00079     AXIS2_EXTERN void AXIS2_CALL
00080     axutil_param_container_free(axutil_param_container_t *param_container,
00081         const axutil_env_t *env);
00082 
00087     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00088     axutil_param_container_add_param(axutil_param_container_t *param_container,
00089         const axutil_env_t *env,
00090         axutil_param_t *param);
00091 
00096     AXIS2_EXTERN axutil_param_t * AXIS2_CALL
00097     axutil_param_container_get_param(axutil_param_container_t *param_container,
00098         const axutil_env_t *env,
00099         const axis2_char_t *name);
00100 
00101 
00105     AXIS2_EXTERN axutil_array_list_t * AXIS2_CALL
00106     axutil_param_container_get_params(axutil_param_container_t *param_container,
00107         const axutil_env_t *env);
00108 
00113     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00114     axutil_param_container_is_param_locked(axutil_param_container_t *param_container,
00115         const axutil_env_t *env,
00116         const axis2_char_t *param_name) ;
00117 
00118 
00121 #ifdef __cplusplus
00122 }
00123 #endif
00124 #endif  /* AXIS2_PARAM_CONTAINER_H */

Generated on Thu May 3 12:31:01 2007 for Axis2/C by  doxygen 1.4.6