axis2_core_utils.h

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 AXIS2_CORE_UTILS_H
00018 #define AXIS2_CORE_UTILS_H
00019 
00020 #include <axis2_const.h>
00021 #include <axis2_defines.h>
00022 #include <axis2_error.h>
00023 #include <axis2_env.h>
00024 #include <axis2_msg_ctx.h>
00025 #include <axis2_qname.h>
00026 
00027 #ifdef __cplusplus
00028 extern "C"
00029 {
00030 #endif
00031 
00032 struct axis2_conf;
00038     AXIS2_EXTERN axis2_msg_ctx_t * AXIS2_CALL
00039     axis2_core_utils_create_out_msg_ctx(const axis2_env_t *env,
00040                                 axis2_msg_ctx_t *in_msg_ctx);
00041 
00042     AXIS2_EXTERN void AXIS2_CALL
00043     axis2_core_utils_reset_out_msg_ctx(const axis2_env_t *env,
00044                                     axis2_msg_ctx_t *out_msg_ctx);
00045                                     
00046     AXIS2_EXTERN axis2_qname_t* AXIS2_CALL
00047     axis2_core_utils_get_module_qname(const axis2_env_t *env, 
00048         const axis2_char_t *name, 
00049         const axis2_char_t *version);
00050                                     
00051     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00052     axis2_core_utils_calculate_default_module_version(const axis2_env_t *env, 
00053                         axis2_hash_t *modules_map, struct axis2_conf *axis_conf);
00054     
00055     AXIS2_EXTERN axis2_char_t * AXIS2_CALL
00056     axis2_core_utils_get_module_name(const axis2_env_t *env, 
00057                                     axis2_char_t *module_name);
00058                                     
00059     AXIS2_EXTERN axis2_char_t * AXIS2_CALL
00060     axis2_core_utils_get_module_version(const axis2_env_t *env, 
00061                                         axis2_char_t *module_name);
00062                                         
00063     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00064     axis2_core_utils_is_latest_mod_ver(const axis2_env_t *env, 
00065                                         axis2_char_t *module_ver, 
00066                                         axis2_char_t *current_def_ver);
00067                                                                                 
00068                                     
00071 #ifdef __cplusplus
00072 }
00073 #endif
00074 
00075 #endif /* AXIS2_CORE_UTILS_H */

Generated on Tue Oct 3 22:35:47 2006 for Axis2/C by  doxygen 1.4.7