00001 /* 00002 * Copyright 2004,2005 The Apache Software Foundation. 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 00017 #ifndef SANDESHA2_SEQ_FAULT_H 00018 #define SANDESHA2_SEQ_FAULT_H 00019 00025 #include <axutil_utils_defines.h> 00026 #include <axutil_env.h> 00027 #include <sandesha2_iom_rm_element.h> 00028 #include <sandesha2_error.h> 00029 #include <sandesha2_fault_code.h> 00030 00031 00032 #ifdef __cplusplus 00033 extern "C" 00034 { 00035 #endif 00036 00042 typedef struct sandesha2_seq_fault sandesha2_seq_fault_t; 00043 00048 AXIS2_DECLARE_DATA struct sandesha2_seq_fault 00049 { 00050 sandesha2_iom_rm_element_t element; 00051 }; 00052 00053 AXIS2_EXTERN sandesha2_seq_fault_t* AXIS2_CALL 00054 sandesha2_seq_fault_create( 00055 const axutil_env_t *env, 00056 axis2_char_t *ns_value); 00057 00058 sandesha2_fault_code_t * AXIS2_CALL 00059 sandesha2_seq_fault_get_fault_code( 00060 sandesha2_seq_fault_t *seq_fault, 00061 const axutil_env_t *env); 00062 00063 axis2_status_t AXIS2_CALL 00064 sandesha2_seq_fault_set_fault_code( 00065 sandesha2_seq_fault_t *seq_fault, 00066 const axutil_env_t *env, 00067 sandesha2_fault_code_t *fault_code); 00068 00069 00070 00072 #ifdef __cplusplus 00073 } 00074 #endif 00075 00076 #endif /* SANDESHA2_SEQ_FAULT_H */ 00077