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 
00029 #ifdef __cplusplus
00030 extern "C"
00031 {
00032 #endif
00033 
00034     struct axis2_conf;
00035 
00041     AXIS2_EXTERN axis2_msg_ctx_t *AXIS2_CALL
00042 
00043     axis2_core_utils_create_out_msg_ctx(
00044         const axutil_env_t * env,
00045         axis2_msg_ctx_t * in_msg_ctx);
00046 
00047     AXIS2_EXTERN void AXIS2_CALL
00048     axis2_core_utils_reset_out_msg_ctx(
00049         const axutil_env_t * env,
00050         axis2_msg_ctx_t * out_msg_ctx);
00051 
00052     AXIS2_EXTERN axutil_qname_t *AXIS2_CALL
00053 
00054     axis2_core_utils_get_module_qname(
00055         const axutil_env_t * env,
00056         const axis2_char_t * name,
00057         const axis2_char_t * version);
00058 
00059     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00060 
00061     axis2_core_utils_calculate_default_module_version(
00062         const axutil_env_t * env,
00063         axutil_hash_t * modules_map,
00064         struct axis2_conf *axis_conf);
00065 
00066     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00067     axis2_core_utils_get_module_name(
00068         const axutil_env_t * env,
00069         axis2_char_t * module_name);
00070 
00071     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00072 
00073     axis2_core_utils_get_module_version(
00074         const axutil_env_t * env,
00075         axis2_char_t * module_name);
00076 
00077     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00078     axis2_core_utils_is_latest_mod_ver(
00079         const axutil_env_t * env,
00080         axis2_char_t * module_ver,
00081         axis2_char_t * current_def_ver);
00082 
00085 #ifdef __cplusplus
00086 }
00087 #endif
00088 
00089 #endif                          /* AXIS2_CORE_UTILS_H */

Generated on Tue Jan 8 01:23:15 2008 for Axis2/C by  doxygen 1.5.1