axiom_soap_fault_reason.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_FAULT_REASON_H
00019 #define AXIOM_SOAP_FAULT_REASON_H
00020 
00025 #include <axutil_env.h>
00026 #include <axiom_soap_fault.h>
00027 #include <axutil_array_list.h>
00028 
00029 #ifdef __cplusplus
00030 extern "C"
00031 {
00032 #endif
00033 
00034     typedef struct axiom_soap_fault_reason axiom_soap_fault_reason_t;
00035     struct axiom_soap_fault_text;
00036     struct axiom_soap_builder;
00047     AXIS2_EXTERN axiom_soap_fault_reason_t * AXIS2_CALL
00048     axiom_soap_fault_reason_create_with_parent(const axutil_env_t *env,
00049             axiom_soap_fault_t *fault);
00050 
00059     AXIS2_EXTERN void AXIS2_CALL
00060     axiom_soap_fault_reason_free(axiom_soap_fault_reason_t *fault_reason,
00061             const axutil_env_t *env);
00062 
00063     AXIS2_EXTERN struct axiom_soap_fault_text* AXIS2_CALL
00064     axiom_soap_fault_reason_get_soap_fault_text(axiom_soap_fault_reason_t *fault_reason,
00065             const axutil_env_t *env,
00066             axis2_char_t *lang);
00067 
00068     AXIS2_EXTERN axutil_array_list_t* AXIS2_CALL
00069     axiom_soap_fault_reason_get_all_soap_fault_texts(axiom_soap_fault_reason_t *fault_reason,
00070             const axutil_env_t *env);
00071 
00072     AXIS2_EXTERN struct axiom_soap_fault_text* AXIS2_CALL
00073     axiom_soap_fault_reason_get_first_soap_fault_text(axiom_soap_fault_reason_t *fault_reason,
00074             const axutil_env_t *env);
00075 
00076     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00077     axiom_soap_fault_reason_add_soap_fault_text(axiom_soap_fault_reason_t *fault_reason,
00078             const axutil_env_t *env,
00079             struct axiom_soap_fault_text *fault_text);
00080 
00081     AXIS2_EXTERN axiom_node_t* AXIS2_CALL
00082     axiom_soap_fault_reason_get_base_node(axiom_soap_fault_reason_t *fault_reason,
00083             const axutil_env_t *env);
00084 
00087 #ifdef __cplusplus
00088 }
00089 #endif
00090 
00091 #endif /* AXIOM_SOAP_FAULT_REASON_H */
00092 

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