axis2_desc.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 AXIS2_DESC_H
00020 #define AXIS2_DESC_H
00021 
00034 #include <axutil_param_container.h>
00035 #include <axutil_hash.h>
00036 #include <axis2_description.h>
00037 
00038 #ifdef __cplusplus
00039 extern "C"
00040 {
00041 #endif
00042 
00044     typedef struct axis2_desc axis2_desc_t;
00045 
00046     struct axis2_policy_include;
00047 
00053     AXIS2_EXTERN axis2_desc_t *AXIS2_CALL
00054     axis2_desc_create(
00055         const axutil_env_t * env);
00056 
00063     AXIS2_EXTERN void AXIS2_CALL
00064     axis2_desc_free(
00065         axis2_desc_t * desc,
00066         const axutil_env_t * env);
00067 
00075     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00076     axis2_desc_add_param(
00077         axis2_desc_t * desc,
00078         const axutil_env_t * env,
00079         axutil_param_t * param);
00080 
00088     AXIS2_EXTERN axutil_param_t *AXIS2_CALL
00089     axis2_desc_get_param(
00090         const axis2_desc_t * desc,
00091         const axutil_env_t * env,
00092         const axis2_char_t * param_name);
00093 
00100     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
00101     axis2_desc_get_all_params(
00102         const axis2_desc_t * desc,
00103         const axutil_env_t * env);
00104 
00112     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00113     axis2_desc_is_param_locked(
00114         const axis2_desc_t * desc,
00115         const axutil_env_t * env,
00116         const axis2_char_t * param_name);
00117 
00129     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00130     axis2_desc_add_child(
00131         const axis2_desc_t * desc,
00132         const axutil_env_t * env,
00133         const axis2_char_t * key,
00134         const void *child);
00135 
00142     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
00143     axis2_desc_get_all_children(
00144         const axis2_desc_t * desc,
00145         const axutil_env_t * env);
00146 
00155     AXIS2_EXTERN void *AXIS2_CALL
00156     axis2_desc_get_child(
00157         const axis2_desc_t * desc,
00158         const axutil_env_t * env,
00159         const axis2_char_t * key);
00160 
00168     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00169     axis2_desc_remove_child(
00170         const axis2_desc_t * desc,
00171         const axutil_env_t * env,
00172         const axis2_char_t * key);
00173 
00181     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00182     axis2_desc_set_parent(
00183         axis2_desc_t * desc,
00184         const axutil_env_t * env,
00185         axis2_desc_t * parent);
00186 
00193     AXIS2_EXTERN axis2_desc_t *AXIS2_CALL
00194     axis2_desc_get_parent(
00195         const axis2_desc_t * desc,
00196         const axutil_env_t * env);
00197 
00205     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00206     axis2_desc_set_policy_include(
00207         axis2_desc_t * desc,
00208         const axutil_env_t * env,
00209         struct axis2_policy_include *policy_include);
00210 
00218     AXIS2_EXTERN struct axis2_policy_include *AXIS2_CALL
00219     axis2_desc_get_policy_include(
00220         axis2_desc_t * desc,
00221         const axutil_env_t * env);
00222 
00224 #ifdef __cplusplus
00225 }
00226 #endif
00227 #endif                          /* AXIS2_DESC_H */

Generated on Sat May 3 10:44:33 2008 for Axis2/C by  doxygen 1.5.5