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 <axutil_error.h>
00024 #include <axutil_env.h>
00025 #include <axis2_msg_ctx.h>
00026 #include <axutil_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 axutil_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 axutil_env_t *env,
00045         axis2_msg_ctx_t *out_msg_ctx);
00046                                     
00047     AXIS2_EXTERN axutil_qname_t* AXIS2_CALL
00048     axis2_core_utils_get_module_qname(const axutil_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 axutil_env_t *env, 
00054         axutil_hash_t *modules_map, 
00055         struct axis2_conf *axis_conf);
00056     
00057     AXIS2_EXTERN axis2_char_t * AXIS2_CALL
00058     axis2_core_utils_get_module_name(const axutil_env_t *env, 
00059         axis2_char_t *module_name);
00060                                     
00061     AXIS2_EXTERN axis2_char_t * AXIS2_CALL
00062     axis2_core_utils_get_module_version(const axutil_env_t *env, 
00063         axis2_char_t *module_name);
00064                                         
00065     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00066     axis2_core_utils_is_latest_mod_ver(const axutil_env_t *env, 
00067         axis2_char_t *module_ver, 
00068         axis2_char_t *current_def_ver);
00069                                                                                 
00070                                     
00073 #ifdef __cplusplus
00074 }
00075 #endif
00076 
00077 #endif /* AXIS2_CORE_UTILS_H */

Generated on Thu May 3 12:31:01 2007 for Axis2/C by  doxygen 1.4.6