Axis2/C: axis2_core_utils.h Source File

- Main Page
- Modules
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

# 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 <axis2_op.h>
    00028 #include <axutil_qname.h>
    00029 #include <axis2_core_dll_desc.h>
    00030
    00031 #ifdef __cplusplus
    00032 extern "C"
    00033 {
    00034 #endif
    00035
    00036     struct axis2_conf;
    00037
    00043     AXIS2_EXTERN axis2_msg_ctx_t *AXIS2_CALL
    00044
    00045     axis2_core_utils_create_out_msg_ctx(
    00046         const axutil_env_t * env,
    00047         axis2_msg_ctx_t * in_msg_ctx);
    00048
    00049     AXIS2_EXTERN void AXIS2_CALL
    00050     axis2_core_utils_reset_out_msg_ctx(
    00051         const axutil_env_t * env,
    00052         axis2_msg_ctx_t * out_msg_ctx);
    00053
    00054     AXIS2_EXTERN axutil_qname_t *AXIS2_CALL
    00055
    00056     axis2_core_utils_get_module_qname(
    00057         const axutil_env_t * env,
    00058         const axis2_char_t * name,
    00059         const axis2_char_t * version);
    00060
    00061     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00062
    00063     axis2_core_utils_calculate_default_module_version(
    00064         const axutil_env_t * env,
    00065         axutil_hash_t * modules_map,
    00066         struct axis2_conf *axis_conf);
    00067
    00068     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00069     axis2_core_utils_get_module_name(
    00070         const axutil_env_t * env,
    00071         axis2_char_t * module_name);
    00072
    00073     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00074
    00075     axis2_core_utils_get_module_version(
    00076         const axutil_env_t * env,
    00077         axis2_char_t * module_name);
    00078
    00079     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00080     axis2_core_utils_is_latest_mod_ver(
    00081         const axutil_env_t * env,
    00082         axis2_char_t * module_ver,
    00083         axis2_char_t * current_def_ver);
    00084
    00085     AXIS2_EXTERN axis2_op_t *AXIS2_CALL
    00086     axis2_core_utils_get_rest_op_with_method_and_location(axis2_svc_t *svc,
    00087         const axutil_env_t *env,
    00088         const axis2_char_t *method,
    00089         const axis2_char_t *location,
    00090         axutil_array_list_t *param_keys,
    00091         axutil_array_list_t *param_values);
    00092
    00093     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00094     axis2_core_utils_prepare_rest_mapping (
    00095         const axutil_env_t * env,
    00096         axis2_char_t * url,
    00097         axutil_hash_t *rest_map,
    00098         axis2_op_t *op_desc);
    00099
    00100     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00101     axis2_core_utils_free_rest_map (
    00102         const axutil_env_t * env,
    00103         axutil_hash_t *rest_map);
    00104
    00105
    00106
    00109 #ifdef __cplusplus
    00110 }
    00111 #endif
    00112
    00113 #endif                          /* AXIS2_CORE_UTILS_H */