axis2_core_utils.h

00001 
00002 /*
00003  * Licensed to the Apache Software Foundation (ASF) under one or more
00004  * contributor license agreements.  See the NOTICE file distributed with
00005  * this work for additional information regarding copyright ownership.
00006  * The ASF licenses this file to You under the Apache License, Version 2.0
00007  * (the "License"); you may not use this file except in compliance with
00008  * the License.  You may obtain a copy of the License at
00009  *
00010  *      http://www.apache.org/licenses/LICENSE-2.0
00011  *
00012  * Unless required by applicable law or agreed to in writing, software
00013  * distributed under the License is distributed on an "AS IS" BASIS,
00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00015  * See the License for the specific language governing permissions and
00016  * limitations under the License.
00017  */
00018 
00019 #ifndef AXIS2_CORE_UTILS_H
00020 #define AXIS2_CORE_UTILS_H
00021 
00022 #include <axis2_const.h>
00023 #include <axis2_defines.h>
00024 #include <axutil_error.h>
00025 #include <axutil_env.h>
00026 #include <axis2_msg_ctx.h>
00027 #include <axutil_qname.h>
00028 #include <axis2_core_dll_desc.h>
00029 
00030 #ifdef __cplusplus
00031 extern "C"
00032 {
00033 #endif
00034 
00035     struct axis2_conf;
00036 
00042     AXIS2_EXTERN axis2_msg_ctx_t *AXIS2_CALL
00043 
00044     axis2_core_utils_create_out_msg_ctx(
00045         const axutil_env_t * env,
00046         axis2_msg_ctx_t * in_msg_ctx);
00047 
00048     AXIS2_EXTERN void AXIS2_CALL
00049     axis2_core_utils_reset_out_msg_ctx(
00050         const axutil_env_t * env,
00051         axis2_msg_ctx_t * out_msg_ctx);
00052 
00053     AXIS2_EXTERN axutil_qname_t *AXIS2_CALL
00054 
00055     axis2_core_utils_get_module_qname(
00056         const axutil_env_t * env,
00057         const axis2_char_t * name,
00058         const axis2_char_t * version);
00059 
00060     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00061 
00062     axis2_core_utils_calculate_default_module_version(
00063         const axutil_env_t * env,
00064         axutil_hash_t * modules_map,
00065         struct axis2_conf *axis_conf);
00066 
00067     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00068     axis2_core_utils_get_module_name(
00069         const axutil_env_t * env,
00070         axis2_char_t * module_name);
00071 
00072     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00073 
00074     axis2_core_utils_get_module_version(
00075         const axutil_env_t * env,
00076         axis2_char_t * module_name);
00077 
00078     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00079     axis2_core_utils_is_latest_mod_ver(
00080         const axutil_env_t * env,
00081         axis2_char_t * module_ver,
00082         axis2_char_t * current_def_ver);
00083 
00086 #ifdef __cplusplus
00087 }
00088 #endif
00089 
00090 #endif                          /* AXIS2_CORE_UTILS_H */

Generated on Sat May 3 10:44:33 2008 for Axis2/C by  doxygen 1.5.5