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_SVR_CALLBACK_H 00020 #define AXIS2_SVR_CALLBACK_H 00021 00032 #ifdef __cplusplus 00033 extern "C" 00034 { 00035 #endif 00036 00037 #include <axis2_defines.h> 00038 #include <axis2_const.h> 00039 #include <axis2_msg_ctx.h> 00040 00042 typedef struct axis2_svr_callback axis2_svr_callback_t; 00043 00050 AXIS2_EXTERN void AXIS2_CALL 00051 axis2_svr_callback_free( 00052 axis2_svr_callback_t * svr_callback, 00053 const axutil_env_t * env); 00054 00062 AXIS2_EXTERN axis2_status_t AXIS2_CALL 00063 axis2_svr_callback_handle_result( 00064 axis2_svr_callback_t * svr_callback, 00065 const axutil_env_t * env, 00066 axis2_msg_ctx_t * msg_ctx); 00067 00075 AXIS2_EXTERN axis2_status_t AXIS2_CALL 00076 axis2_svr_callback_handle_fault( 00077 axis2_svr_callback_t * svr_callback, 00078 const axutil_env_t * env, 00079 axis2_msg_ctx_t * msg_ctx); 00080 00086 AXIS2_EXTERN axis2_svr_callback_t *AXIS2_CALL 00087 axis2_svr_callback_create( 00088 const axutil_env_t * env); 00089 00091 #ifdef __cplusplus 00092 } 00093 #endif 00094 00095 #endif /* AXIS2_SVR_CALLBACK_H */