axis2_core_utils.h

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

Generated on Wed Dec 20 20:14:09 2006 for Axis2/C by  doxygen 1.5.1