w2c_qname2name_maker.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 W2C_QNAME2NAME_MAKER_H
00018 #define W2C_QNAME2NAME_MAKER_H
00019 
00025 #include <axis2_utils.h>
00026 #include <axis2_qname.h>
00027 
00028 #ifdef __cplusplus
00029 extern "C"
00030 {
00031 #endif
00032 
00039 typedef struct w2c_qname2name_maker w2c_qname2name_maker_t;
00040 typedef struct w2c_qname2name_maker_ops w2c_qname2name_maker_ops_t;
00041 
00042 AXIS2_DECLARE_DATA  struct w2c_qname2name_maker_ops
00043 {
00051     axis2_status_t (AXIS2_CALL *
00052     free)(w2c_qname2name_maker_t *qname2name_maker,
00053          const axis2_env_t *env);
00054 
00062     axis2_char_t* (AXIS2_CALL *
00063     suggest_name)(w2c_qname2name_maker_t *qname2name_maker,
00064          const axis2_env_t *env,
00065          axis2_qname_t *qname);
00066 
00067 
00068 };
00069 
00070 AXIS2_DECLARE_DATA  struct w2c_qname2name_maker
00071 {
00072      struct w2c_qname2name_maker_ops *ops;
00073 };
00074 
00083 AXIS2_EXTERN w2c_qname2name_maker_t* AXIS2_CALL
00084 w2c_qname2name_maker_create( const axis2_env_t *env);
00085 
00086 /*************************** Function macros **********************************/
00087 
00088 #define W2C_QNAME2NAME_MAKER_FREE(qname2name_maker, env) \
00089       ((qname2name_maker)->ops->free(qname2name_maker, env)) 
00090 
00091 #define W2C_QNAME2NAME_MAKER_SUGGEST_NAME(qname2name_maker, env, qname) \
00092       ((qname2name_maker)->ops->suggest_name(qname2name_maker, env, qname)) 
00093 
00096 #ifdef __cplusplus
00097 }
00098 #endif
00099 
00100 #endif /* W2C_QNAME2NAME_MAKER_H */

Generated on Thu Oct 26 21:11:24 2006 for Axis2/C by  doxygen 1.4.7