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_DETAIL_H 00020 #define AXIOM_SOAP_FAULT_DETAIL_H 00021 00027 #include <axutil_env.h> 00028 #include <axiom_soap_fault.h> 00029 #include <axiom_children_iterator.h> 00030 00031 #ifdef __cplusplus 00032 extern "C" 00033 { 00034 #endif 00035 00036 typedef struct axiom_soap_fault_detail axiom_soap_fault_detail_t; 00037 00051 AXIS2_EXTERN axiom_soap_fault_detail_t *AXIS2_CALL 00052 axiom_soap_fault_detail_create_with_parent( 00053 const axutil_env_t * env, 00054 axiom_soap_fault_t * fault); 00055 00063 AXIS2_EXTERN void AXIS2_CALL 00064 axiom_soap_fault_detail_free( 00065 axiom_soap_fault_detail_t * fault_detail, 00066 const axutil_env_t * env); 00067 00075 AXIS2_EXTERN axis2_status_t AXIS2_CALL 00076 axiom_soap_fault_detail_add_detail_entry( 00077 axiom_soap_fault_detail_t * fault_detail, 00078 const axutil_env_t * env, 00079 axiom_node_t * ele_node); 00080 00088 AXIS2_EXTERN axiom_children_iterator_t *AXIS2_CALL 00089 axiom_soap_fault_detail_get_all_detail_entries( 00090 axiom_soap_fault_detail_t * fault_detail, 00091 const axutil_env_t * env); 00092 00100 AXIS2_EXTERN axiom_node_t *AXIS2_CALL 00101 axiom_soap_fault_detail_get_base_node( 00102 axiom_soap_fault_detail_t * fault_code, 00103 const axutil_env_t * env); 00104 00107 #ifdef __cplusplus 00108 } 00109 #endif 00110 00111 #endif /* AXIOM_SOAP_FAULT_DETAIL_H */