woden_soap_fault_subcodes.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 WODEN_SOAP_FAULT_SUBCODES_H
00019 #define WODEN_SOAP_FAULT_SUBCODES_H
00020 
00036 #include <axis2_allocator.h>
00037 #include <axis2_env.h>
00038 #include <axis2_error.h>
00039 #include <axis2_string.h>
00040 #include <axis2_utils.h>
00041 #include <axis2_hash.h>
00042 #include <axis2_qname.h>
00043 #include <woden.h>
00044 #include <axis2_array_list.h>
00045 
00046 #ifdef __cplusplus
00047 extern "C"
00048 {
00049 #endif
00050 
00051 typedef struct woden_soap_fault_subcodes woden_soap_fault_subcodes_t;
00052 typedef struct woden_soap_fault_subcodes_ops woden_soap_fault_subcodes_ops_t;
00053 struct woden_ext_element;
00054 
00060 struct woden_soap_fault_subcodes_ops
00061 {
00066     axis2_status_t (AXIS2_CALL *
00067     free) (
00068             void *soap_fault_subcodes,
00069             const axis2_env_t *env);
00070 
00071     axis2_bool_t (AXIS2_CALL *
00072     is_qnames) (
00073             void *soap_fault_subcodes,
00074             const axis2_env_t *env);
00075 
00076     axis2_bool_t (AXIS2_CALL *
00077     is_token) (
00078             void *soap_fault_subcodes,
00079             const axis2_env_t *env);
00080 
00081     axis2_array_list_t *(AXIS2_CALL *
00082     get_qnames) (
00083             void *soap_fault_subcodes,
00084             const axis2_env_t *env);
00085 
00086     axis2_char_t *(AXIS2_CALL *
00087     get_token) (
00088             void *soap_fault_subcodes,
00089             const axis2_env_t *env);
00090 
00091 
00092 };
00093 
00094 struct woden_soap_fault_subcodes
00095 {
00096     woden_soap_fault_subcodes_ops_t *ops;
00097     
00098 };
00099 
00100 AXIS2_EXTERN woden_soap_fault_subcodes_t * AXIS2_CALL
00101 woden_soap_fault_subcodes_create(
00102         const axis2_env_t *env,
00103         axis2_char_t *token,
00104         axis2_array_list_t *subcode_qns);
00105 
00106 AXIS2_EXTERN void * AXIS2_CALL
00107 woden_soap_fault_subcodes_get_soap_fault_subcodes_any(
00108         const axis2_env_t *env);
00109 
00110 #define WODEN_SOAP_FAULT_SUBCODES_FREE(soap_fault_subcodes, env) \
00111       (((woden_soap_fault_subcodes_t *) soap_fault_subcodes)->ops->\
00112          free (soap_fault_subcodes, env))
00113 
00114 #define WODEN_SOAP_FAULT_SUBCODES_IS_QNAMES(soap_fault_subcodes, env) \
00115       (((woden_soap_fault_subcodes_t *) soap_fault_subcodes)->ops->\
00116          is_qnames (soap_fault_subcodes, env))
00117 
00118 #define WODEN_SOAP_FAULT_SUBCODES_IS_TOKEN(soap_fault_subcodes, env) \
00119       (((woden_soap_fault_subcodes_t *) soap_fault_subcodes)->ops->\
00120          is_token (soap_fault_subcodes, env))
00121 
00122 #define WODEN_SOAP_FAULT_SUBCODES_GET_QNAMES(soap_fault_subcodes, env) \
00123       (((woden_soap_fault_subcodes_t *) soap_fault_subcodes)->ops->\
00124          get_qnames (soap_fault_subcodes, env))
00125 
00126 #define WODEN_SOAP_FAULT_SUBCODES_GET_TOKEN(soap_fault_subcodes, env) \
00127       (((woden_soap_fault_subcodes_t *) soap_fault_subcodes)->ops->\
00128          get_token (soap_fault_subcodes, env))
00129 
00130 
00132 #ifdef __cplusplus
00133 }
00134 #endif
00135 #endif /* WODEN_SOAP_FAULT_SUBCODES_H */

Generated on Wed Dec 20 20:34:50 2006 for Axis2/C by  doxygen 1.5.1