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

- Search for |

# axiom_soap_fault_reason.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_FAULT_REASON_H
    00020 #define AXIOM_SOAP_FAULT_REASON_H
    00021
    00026 #include <axutil_env.h>
    00027 #include <axiom_soap_fault.h>
    00028 #include <axutil_array_list.h>
    00029
    00030 #ifdef __cplusplus
    00031 extern "C"
    00032 {
    00033 #endif
    00034
    00035     typedef struct axiom_soap_fault_reason axiom_soap_fault_reason_t;
    00036     struct axiom_soap_fault_text;
    00037     struct axiom_soap_builder;
    00038
    00052     AXIS2_EXTERN axiom_soap_fault_reason_t *AXIS2_CALL
    00053     axiom_soap_fault_reason_create_with_parent(
    00054         const axutil_env_t * env,
    00055         axiom_soap_fault_t * fault);
    00056
    00064     AXIS2_EXTERN void AXIS2_CALL
    00065     axiom_soap_fault_reason_free(
    00066         axiom_soap_fault_reason_t * fault_reason,
    00067         const axutil_env_t * env);
    00068
    00077     AXIS2_EXTERN struct axiom_soap_fault_text *AXIS2_CALL
    00078     axiom_soap_fault_reason_get_soap_fault_text(
    00079         axiom_soap_fault_reason_t * fault_reason,
    00080         const axutil_env_t * env,
    00081         axis2_char_t * lang);
    00082
    00090     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    00091     axiom_soap_fault_reason_get_all_soap_fault_texts(
    00092         axiom_soap_fault_reason_t * fault_reason,
    00093         const axutil_env_t * env);
    00094
    00102     AXIS2_EXTERN struct axiom_soap_fault_text *AXIS2_CALL
    00103         axiom_soap_fault_reason_get_first_soap_fault_text(
    00104         axiom_soap_fault_reason_t * fault_reason,
    00105         const axutil_env_t * env);
    00106
    00116     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00117     axiom_soap_fault_reason_add_soap_fault_text(
    00118         axiom_soap_fault_reason_t * fault_reason,
    00119         const axutil_env_t * env,
    00120         struct axiom_soap_fault_text *fault_text);
    00121
    00128     AXIS2_EXTERN axiom_node_t *AXIS2_CALL
    00129     axiom_soap_fault_reason_get_base_node(
    00130         axiom_soap_fault_reason_t * fault_reason,
    00131         const axutil_env_t * env);
    00132
    00135 #ifdef __cplusplus
    00136 }
    00137 #endif
    00138
    00139 #endif                          /* AXIOM_SOAP_FAULT_REASON_H */