axiom_soap_header.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 AXIOM_SOAP_HEADER_H
00019 #define AXIOM_SOAP_HEADER_H
00020 
00025 #include <axutil_env.h>
00026 #include <axiom_node.h>
00027 #include <axiom_element.h>
00028 #include <axutil_array_list.h>
00029 #include <axiom_children_qname_iterator.h>
00030 #include <axiom_children_with_specific_attribute_iterator.h>
00031 #include <axutil_hash.h>
00032 #include <axiom_soap_envelope.h>
00033 
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038 
00039     typedef struct axiom_soap_header  axiom_soap_header_t;
00040 
00041     struct axiom_soap_header_block;
00042     struct axiom_soap_builder;
00043 
00044 
00051     AXIS2_EXTERN axiom_soap_header_t * AXIS2_CALL
00052     axiom_soap_header_create_with_parent(const axutil_env_t *env,
00053             struct axiom_soap_envelope *envelope);
00054 
00062     AXIS2_EXTERN void AXIS2_CALL
00063     axiom_soap_header_free(axiom_soap_header_t *header,
00064             const axutil_env_t *env);
00065 
00074     AXIS2_EXTERN struct axiom_soap_header_block* AXIS2_CALL
00075     axiom_soap_header_add_header_block(axiom_soap_header_t* header,
00076             const axutil_env_t *env,
00077             const axis2_char_t *localname,
00078             axiom_namespace_t *ns);
00089     AXIS2_EXTERN axutil_hash_t* AXIS2_CALL
00090     axiom_soap_header_examine_header_blocks(axiom_soap_header_t* header,
00091             const axutil_env_t *env,
00092             axis2_char_t* param_role);
00102     AXIS2_EXTERN axutil_array_list_t* AXIS2_CALL
00103     axiom_soap_header_get_header_blocks_with_namespace_uri(axiom_soap_header_t* header,
00104             const axutil_env_t *env,
00105             const axis2_char_t *ns_uri);
00113     AXIS2_EXTERN axiom_children_qname_iterator_t* AXIS2_CALL
00114     axiom_soap_header_examine_all_header_blocks(axiom_soap_header_t* header,
00115             const axutil_env_t *env);
00125     AXIS2_EXTERN axiom_children_with_specific_attribute_iterator_t * AXIS2_CALL
00126     axiom_soap_header_extract_header_blocks(axiom_soap_header_t *header,
00127             const axutil_env_t *env,
00128             axis2_char_t *role);
00129 
00136     AXIS2_EXTERN axiom_node_t* AXIS2_CALL
00137     axiom_soap_header_get_base_node(axiom_soap_header_t *header,
00138             const axutil_env_t *env);
00145     AXIS2_EXTERN int AXIS2_CALL
00146     axiom_soap_header_get_soap_version(axiom_soap_header_t *header,
00147             const axutil_env_t *env);
00148 
00153     AXIS2_EXTERN axutil_hash_t* AXIS2_CALL
00154     axiom_soap_header_get_all_header_blocks(axiom_soap_header_t *header,
00155             const axutil_env_t *env);
00161     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00162     axiom_soap_header_remove_header_block(axiom_soap_header_t *header,
00163             const axutil_env_t *env,
00164             axutil_qname_t *qname);
00165 
00167 #ifdef __cplusplus
00168 }
00169 #endif
00170 #endif /* AXIOM_SOAP_HEADER_H */

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