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 00050 typedef struct axutil_param_container axutil_param_container_t; 00051 00056 AXIS2_EXTERN axutil_param_container_t *AXIS2_CALL 00057 00058 axutil_param_container_create( 00059 const axutil_env_t * env); 00060 00066 AXIS2_EXTERN void AXIS2_CALL 00067 axutil_param_container_free_void_arg( 00068 void *param_container, 00069 const axutil_env_t * env); 00070 00074 AXIS2_EXTERN void AXIS2_CALL 00075 axutil_param_container_free( 00076 axutil_param_container_t * param_container, 00077 const axutil_env_t * env); 00078 00083 AXIS2_EXTERN axis2_status_t AXIS2_CALL 00084 axutil_param_container_add_param( 00085 axutil_param_container_t * param_container, 00086 const axutil_env_t * env, 00087 axutil_param_t * param); 00088 00093 AXIS2_EXTERN axutil_param_t *AXIS2_CALL 00094 axutil_param_container_get_param( 00095 axutil_param_container_t * param_container, 00096 const axutil_env_t * env, 00097 const axis2_char_t * name); 00098 00102 AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL 00103 00104 axutil_param_container_get_params( 00105 axutil_param_container_t * param_container, 00106 const axutil_env_t * env); 00107 00112 AXIS2_EXTERN axis2_bool_t AXIS2_CALL 00113 00114 axutil_param_container_is_param_locked( 00115 axutil_param_container_t * param_container, 00116 const axutil_env_t * env, 00117 const axis2_char_t * param_name); 00118 00121 #ifdef __cplusplus 00122 } 00123 #endif 00124 #endif /* AXIS2_PARAM_CONTAINER_H */