sandesha2_permanent_storage_mgr.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2004,2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *      http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016  
00017 #ifndef SANDESHA2_PERMANENT_STORAGE_MGR_H
00018 #define SANDESHA2_PERMANENT_STORAGE_MGR_H
00019 
00025 #include <axutil_utils_defines.h>
00026 #include <axutil_env.h>
00027 #include <axis2_conf_ctx.h>
00028 #include <sandesha2_storage_mgr.h>
00029 
00030 #ifdef __cplusplus
00031 extern "C"
00032 {
00033 #endif
00034 
00035 typedef struct sandesha2_response
00036 {
00037     int soap_version;
00038     axis2_char_t *response_str;
00039 } sandesha2_response_t;
00040 
00046 AXIS2_EXTERN sandesha2_storage_mgr_t* AXIS2_CALL
00047 sandesha2_permanent_storage_mgr_create(
00048     const axutil_env_t *env,
00049     axis2_char_t *dbname);
00050 
00051 void * AXIS2_CALL
00052 sandesha2_permanent_storage_mgr_get_dbconn(
00053     sandesha2_storage_mgr_t *storage_mgr,
00054     const axutil_env_t *env);
00055 
00056 axis2_status_t AXIS2_CALL
00057 sandesha2_permanent_storage_mgr_init(
00058     sandesha2_storage_mgr_t *storage_mgr,
00059     const axutil_env_t *env,
00060     axis2_conf_ctx_t *conf_ctx);
00061 
00062 axis2_status_t AXIS2_CALL
00063 sandesha2_permanent_storage_mgr_store_msg_ctx(
00064     sandesha2_storage_mgr_t *storage_mgr,
00065     const axutil_env_t *env,
00066     axis2_char_t *key,
00067     axis2_msg_ctx_t *msg_ctx);
00068                         
00069 axis2_status_t AXIS2_CALL
00070 sandesha2_permanent_storage_mgr_update_msg_ctx(
00071     sandesha2_storage_mgr_t *storage_mgr,
00072     const axutil_env_t *env,
00073     axis2_char_t *key,
00074     axis2_msg_ctx_t *msg_ctx);
00075 
00076 axis2_msg_ctx_t * AXIS2_CALL
00077 sandesha2_permanent_storage_mgr_retrieve_msg_ctx(
00078     sandesha2_storage_mgr_t *storage_mgr, 
00079     const axutil_env_t *env, 
00080     axis2_char_t *key,
00081     axis2_conf_ctx_t *conf_ctx,
00082     const axis2_bool_t persistent);
00083 
00084 axis2_status_t AXIS2_CALL
00085 sandesha2_permanent_storage_mgr_create_db(
00086     const axutil_env_t *env,
00087     axis2_conf_ctx_t *conf_ctx);
00088 
00090 #ifdef __cplusplus
00091 }
00092 #endif
00093 
00094 #endif /*SANDESHA2_PERMANENT_STORAGE_MGR_H*/

Generated on Fri May 23 15:50:26 2008 for Sandesha2/C by  doxygen 1.5.5