axis2_callback_recv.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_CALLBACK_RECV_H
00019 #define AXIS2_CALLBACK_RECV_H
00020 
00032 #include <axis2_defines.h>
00033 #include <axutil_env.h>
00034 #include <axis2_msg_recv.h>
00035 #include <axis2_callback.h>
00036 
00037 #ifdef __cplusplus
00038 extern "C"
00039 {
00040 #endif
00041 
00043     typedef struct axis2_callback_recv axis2_callback_recv_t;
00044 
00045 
00052     AXIS2_EXTERN axis2_msg_recv_t *AXIS2_CALL
00053     axis2_callback_recv_get_base(axis2_callback_recv_t *callback_recv,
00054         const axutil_env_t *env);
00055 
00062     AXIS2_EXTERN void AXIS2_CALL
00063     axis2_callback_recv_free(axis2_callback_recv_t *callback_recv,
00064         const axutil_env_t *env);
00065 
00077     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00078     axis2_callback_recv_add_callback(struct axis2_callback_recv *callback_recv,
00079         const axutil_env_t *env,
00080         const axis2_char_t *msg_id,
00081         axis2_callback_t *callback);
00082 
00089     AXIS2_EXTERN axis2_callback_recv_t *AXIS2_CALL
00090     axis2_callback_recv_create(const axutil_env_t *env);
00091 
00093 #define AXIS2_CALLBACK_RECV_GET_BASE(callback_recv, env) \
00094         axis2_callback_recv_get_base(callback_recv, env)
00095 
00097 #define AXIS2_CALLBACK_RECV_FREE(callback_recv, env) \
00098         axis2_callback_recv_free(callback_recv, env)
00099 
00101 #define AXIS2_CALLBACK_RECV_ADD_CALLBACK(callback_recv, env, msg_id, callback)\
00102         axis2_callback_recv_add_callback(callback_recv, env, msg_id, callback)
00103 
00104 
00106 #ifdef __cplusplus
00107 }
00108 #endif
00109 
00110 #endif                          /* AXIS2_CALLBACK_RECV_H */

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