axis2_ctx.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_CTX_H
00019 #define AXIS2_CTX_H
00020 
00038 #include <axis2_defines.h>
00039 #include <axutil_hash.h>
00040 #include <axutil_env.h>
00041 #include <axutil_property.h>
00042 
00043 #ifdef __cplusplus
00044 extern "C"
00045 {
00046 #endif
00047 
00049     typedef struct axis2_ctx axis2_ctx_t;
00050 
00056     AXIS2_EXTERN axis2_ctx_t *AXIS2_CALL 
00057     axis2_ctx_create(const axutil_env_t *env);
00058 
00071     AXIS2_EXTERN axis2_status_t  AXIS2_CALL
00072     axis2_ctx_set_property(struct axis2_ctx *ctx,
00073         const axutil_env_t *env,
00074         const axis2_char_t *key,
00075         axutil_property_t *value);
00076 
00087     AXIS2_EXTERN axutil_property_t *AXIS2_CALL
00088     axis2_ctx_get_property(const axis2_ctx_t *ctx,
00089         const axutil_env_t *env,
00090         const axis2_char_t *key);
00091 
00099     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
00100     axis2_ctx_get_property_map(const axis2_ctx_t *ctx,
00101         const axutil_env_t *env);
00102 
00109     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
00110     axis2_ctx_get_all_properties(const axis2_ctx_t *ctx,
00111         const axutil_env_t *env);
00112 
00113 
00120     AXIS2_EXTERN void AXIS2_CALL
00121     axis2_ctx_free(axis2_ctx_t *ctx,
00122         const axutil_env_t *env);
00123 
00131     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00132     axis2_ctx_set_property_map(struct axis2_ctx *ctx,
00133         const axutil_env_t *env,
00134         axutil_hash_t *map);
00135 
00136 #ifdef __cplusplus
00137 }
00138 #endif
00139 
00140 #endif                          /* AXIS2_CTX_H */

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