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 
00049     AXIS2_EXTERN axiom_soap_fault_reason_t *AXIS2_CALL
00050 
00051     axiom_soap_fault_reason_create_with_parent(
00052         const axutil_env_t * env,
00053         axiom_soap_fault_t * fault);
00054 
00063     AXIS2_EXTERN void AXIS2_CALL
00064     axiom_soap_fault_reason_free(
00065         axiom_soap_fault_reason_t * fault_reason,
00066         const axutil_env_t * env);
00067 
00068     AXIS2_EXTERN struct axiom_soap_fault_text *AXIS2_CALL
00069 
00070                 axiom_soap_fault_reason_get_soap_fault_text(
00071                     axiom_soap_fault_reason_t * fault_reason,
00072                     const axutil_env_t * env,
00073                     axis2_char_t * lang);
00074 
00075     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
00076 
00077     axiom_soap_fault_reason_get_all_soap_fault_texts(
00078         axiom_soap_fault_reason_t * fault_reason,
00079         const axutil_env_t * env);
00080 
00081     AXIS2_EXTERN struct axiom_soap_fault_text *AXIS2_CALL
00082 
00083                 axiom_soap_fault_reason_get_first_soap_fault_text(
00084                     axiom_soap_fault_reason_t * fault_reason,
00085                     const axutil_env_t * env);
00086 
00087     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00088 
00089     axiom_soap_fault_reason_add_soap_fault_text(
00090         axiom_soap_fault_reason_t * fault_reason,
00091         const axutil_env_t * env,
00092         struct axiom_soap_fault_text *fault_text);
00093 
00094     AXIS2_EXTERN axiom_node_t *AXIS2_CALL
00095 
00096     axiom_soap_fault_reason_get_base_node(
00097         axiom_soap_fault_reason_t * fault_reason,
00098         const axutil_env_t * env);
00099 
00102 #ifdef __cplusplus
00103 }
00104 #endif
00105 
00106 #endif                          /* AXIOM_SOAP_FAULT_REASON_H */

Generated on Wed Feb 27 19:43:03 2008 for Axis2/C by  doxygen 1.5.5