sandesha2_fault_data.h

Go to the documentation of this file.
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_FAULT_DATA_H
00018 #define SANDESHA2_FAULT_DATA_H
00019 
00025 #include <axutil_utils_defines.h>
00026 #include <axutil_env.h>
00027 #include <axis2_conf_ctx.h>
00028 #include <axiom_node.h>
00029 
00030 
00031 #ifdef __cplusplus
00032 extern "C"
00033 {
00034 #endif
00035 
00041 typedef struct sandesha2_fault_data_t sandesha2_fault_data_t;
00042 
00043 AXIS2_EXTERN sandesha2_fault_data_t* AXIS2_CALL
00044 sandesha2_fault_data_create(
00045         const axutil_env_t *env);
00046   
00047 axiom_node_t *AXIS2_CALL 
00048 sandesha2_fault_data_get_detail(
00049     sandesha2_fault_data_t *data,
00050     const axutil_env_t *env);
00051             
00052 axis2_status_t AXIS2_CALL 
00053 sandesha2_fault_data_set_detail(
00054     sandesha2_fault_data_t *data,
00055     const axutil_env_t *env,
00056     axiom_node_t *detail);
00057             
00058 axis2_char_t *AXIS2_CALL 
00059 sandesha2_fault_data_get_reason(
00060     sandesha2_fault_data_t *data,
00061     const axutil_env_t *env);
00062             
00063 axis2_status_t AXIS2_CALL 
00064 sandesha2_fault_data_set_reason(
00065     sandesha2_fault_data_t *data,
00066     const axutil_env_t *env,
00067     axis2_char_t *reason);
00068 
00069 axis2_char_t *AXIS2_CALL 
00070 sandesha2_fault_data_get_sub_code(
00071     sandesha2_fault_data_t *data,
00072     const axutil_env_t *env);
00073             
00074 axis2_status_t AXIS2_CALL 
00075 sandesha2_fault_data_set_sub_code(
00076     sandesha2_fault_data_t *data,
00077     const axutil_env_t *env,
00078     axis2_char_t *sub_code);
00079             
00080 axis2_char_t *AXIS2_CALL 
00081 sandesha2_fault_data_get_code(
00082     sandesha2_fault_data_t *data,
00083     const axutil_env_t *env);
00084             
00085 axis2_status_t AXIS2_CALL 
00086 sandesha2_fault_data_set_code(
00087     sandesha2_fault_data_t *data,
00088     const axutil_env_t *env,
00089     axis2_char_t *code);
00090             
00091 int AXIS2_CALL 
00092 sandesha2_fault_data_get_type(
00093     sandesha2_fault_data_t *data,
00094     const axutil_env_t *env);
00095             
00096 axis2_status_t AXIS2_CALL 
00097 sandesha2_fault_data_set_type(
00098     sandesha2_fault_data_t *data,
00099     const axutil_env_t *env,
00100     int type);
00101             
00102 axis2_char_t *AXIS2_CALL 
00103 sandesha2_fault_data_get_seq_id(
00104     sandesha2_fault_data_t *data,
00105     const axutil_env_t *env);
00106             
00107 axis2_status_t AXIS2_CALL 
00108 sandesha2_fault_data_set_seq_id(
00109     sandesha2_fault_data_t *data,
00110     const axutil_env_t *env,
00111     axis2_char_t *seq_id);
00112     
00113 axis2_status_t AXIS2_CALL 
00114 sandesha2_fault_data_free(
00115     sandesha2_fault_data_t *data, 
00116     const axutil_env_t *env);                                                           
00117 
00119 #ifdef __cplusplus
00120 }
00121 #endif
00122 
00123 #endif /*SANDESHA2_FAULT_DATA_H*/

Generated on Wed Oct 14 01:02:17 2009 for Sandesha2/C by  doxygen 1.5.7.1