Axis2/C: axiom_soap_header_block.h Source File

- Main Page
- Modules
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

# axiom_soap_header_block.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 AXIOM_SOAP_HEADER_BLOCK_H
    00020 #define AXIOM_SOAP_HEADER_BLOCK_H
    00021
    00026 #include <axutil_env.h>
    00027 #include <axiom_node.h>
    00028 #include <axiom_element.h>
    00029 #include <axutil_array_list.h>
    00030 #include <axiom_soap_header.h>
    00031
    00032 #ifdef __cplusplus
    00033 extern "C"
    00034 {
    00035 #endif
    00036
    00037     typedef struct axiom_soap_header_block axiom_soap_header_block_t;
    00038
    00052     AXIS2_EXTERN axiom_soap_header_block_t *AXIS2_CALL
    00053     axiom_soap_header_block_create_with_parent(
    00054         const axutil_env_t * env,
    00055         const axis2_char_t * localname,
    00056         axiom_namespace_t * ns,
    00057         struct axiom_soap_header *parent);
    00058
    00066     AXIS2_EXTERN void AXIS2_CALL
    00067     axiom_soap_header_block_free(
    00068         axiom_soap_header_block_t * header_block,
    00069         const axutil_env_t * env);
    00070
    00079     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00080     axiom_soap_header_block_set_role(
    00081         axiom_soap_header_block_t * header_block,
    00082         const axutil_env_t * env,
    00083         axis2_char_t * uri);
    00084
    00094     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00095     axiom_soap_header_block_set_must_understand_with_bool(
    00096         axiom_soap_header_block_t * header_block,
    00097         const axutil_env_t * env,
    00098         axis2_bool_t must_understand);
    00099
    00108     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00109     axiom_soap_header_block_set_must_understand_with_string(
    00110         axiom_soap_header_block_t * header_block,
    00111         const axutil_env_t * env,
    00112         axis2_char_t * must_understand);
    00113
    00122     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00123     axiom_soap_header_block_get_must_understand(
    00124         axiom_soap_header_block_t * header_block,
    00125         const axutil_env_t * env);
    00126
    00134     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00135     axiom_soap_header_block_is_processed(
    00136         axiom_soap_header_block_t * header_block,
    00137         const axutil_env_t * env);
    00138
    00147     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00148     axiom_soap_header_block_set_processed(
    00149         axiom_soap_header_block_t * header_block,
    00150         const axutil_env_t * env);
    00151
    00159     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00160     axiom_soap_header_block_get_role(
    00161         axiom_soap_header_block_t * header_block,
    00162         const axutil_env_t * env);
    00163
    00175     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00176     axiom_soap_header_block_set_attribute(
    00177         axiom_soap_header_block_t * header_block,
    00178         const axutil_env_t * env,
    00179         const axis2_char_t * attr_name,
    00180         const axis2_char_t * attr_value,
    00181         const axis2_char_t * soap_envelope_namespace_uri);
    00182
    00192     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00193     axiom_soap_header_block_get_attribute(
    00194         axiom_soap_header_block_t * header_block,
    00195         const axutil_env_t * env,
    00196         const axis2_char_t * attr_name,
    00197         const axis2_char_t * soap_envelope_namespace_uri);
    00198
    00206     AXIS2_EXTERN axiom_node_t *AXIS2_CALL
    00207     axiom_soap_header_block_get_base_node(
    00208         axiom_soap_header_block_t * header_block,
    00209         const axutil_env_t * env);
    00210
    00218     AXIS2_EXTERN int AXIS2_CALL
    00219     axiom_soap_header_block_get_soap_version(
    00220         axiom_soap_header_block_t * header_block,
    00221         const axutil_env_t * env);
    00222
    00225 #ifdef __cplusplus
    00226 }
    00227 #endif
    00228 #endif                          /* AXIOM_SOAP_HEADER_BLOCK_H */