# axis2_ctx.h

Go to the documentation of this file.

    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_CTX_H
    00020 #define AXIS2_CTX_H
    00021
    00043 #include <axis2_defines.h>
    00044 #include <axutil_hash.h>
    00045 #include <axutil_env.h>
    00046 #include <axutil_property.h>
    00047
    00048 #ifdef __cplusplus
    00049 extern "C"
    00050 {
    00051 #endif
    00052
    00054     typedef struct axis2_ctx axis2_ctx_t;
    00055
    00061     AXIS2_EXTERN axis2_ctx_t *AXIS2_CALL
    00062     axis2_ctx_create(
    00063         const axutil_env_t * env);
    00064
    00074     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00075     axis2_ctx_set_property(
    00076         struct axis2_ctx *ctx,
    00077         const axutil_env_t * env,
    00078         const axis2_char_t * key,
    00079         axutil_property_t * value);
    00080
    00088     AXIS2_EXTERN axutil_property_t *AXIS2_CALL
    00089     axis2_ctx_get_property(
    00090         const axis2_ctx_t * ctx,
    00091         const axutil_env_t * env,
    00092         const axis2_char_t * key);
    00093
    00101     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
    00102     axis2_ctx_get_property_map(
    00103         const axis2_ctx_t * ctx,
    00104         const axutil_env_t * env);
    00105
    00112     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
    00113     axis2_ctx_get_all_properties(
    00114         const axis2_ctx_t * ctx,
    00115         const axutil_env_t * env);
    00116
    00123     AXIS2_EXTERN void AXIS2_CALL
    00124     axis2_ctx_free(
    00125         axis2_ctx_t * ctx,
    00126         const axutil_env_t * env);
    00127
    00135     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00136     axis2_ctx_set_property_map(
    00137         struct axis2_ctx *ctx,
    00138         const axutil_env_t * env,
    00139         axutil_hash_t * map);
    00140
    00143 #ifdef __cplusplus
    00144 }
    00145 #endif
    00146
    00147 #endif                          /* AXIS2_CTX_H */