axis2_ctx.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_CTX_H
00020 #define AXIS2_CTX_H
00021 
00039 #include <axis2_defines.h>
00040 #include <axutil_hash.h>
00041 #include <axutil_env.h>
00042 #include <axutil_property.h>
00043 
00044 #ifdef __cplusplus
00045 extern "C"
00046 {
00047 #endif
00048 
00050     typedef struct axis2_ctx axis2_ctx_t;
00051 
00057     AXIS2_EXTERN axis2_ctx_t *AXIS2_CALL
00058     axis2_ctx_create(
00059         const axutil_env_t * env);
00060 
00073     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00074     axis2_ctx_set_property(
00075         struct axis2_ctx *ctx,
00076         const axutil_env_t * env,
00077         const axis2_char_t * key,
00078         axutil_property_t * value);
00079 
00090     AXIS2_EXTERN axutil_property_t *AXIS2_CALL
00091     axis2_ctx_get_property(
00092         const axis2_ctx_t * ctx,
00093         const axutil_env_t * env,
00094         const axis2_char_t * key);
00095 
00103     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
00104     axis2_ctx_get_property_map(
00105         const axis2_ctx_t * ctx,
00106         const axutil_env_t * env);
00107 
00114     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
00115     axis2_ctx_get_all_properties(
00116         const axis2_ctx_t * ctx,
00117         const axutil_env_t * env);
00118 
00125     AXIS2_EXTERN void AXIS2_CALL
00126     axis2_ctx_free(
00127         axis2_ctx_t * ctx,
00128         const axutil_env_t * env);
00129 
00137     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00138     axis2_ctx_set_property_map(
00139         struct axis2_ctx *ctx,
00140         const axutil_env_t * env,
00141         axutil_hash_t * map);
00142 
00143 #ifdef __cplusplus
00144 }
00145 #endif
00146 
00147 #endif                          /* AXIS2_CTX_H */

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