# rp_transport_binding.h

    00001
    00002 /*
    00003  * Copyright 2004,2005 The Apache Software Foundation.
    00004  *
    00005  * Licensed under the Apache License, Version 2.0 (the "License");
    00006  * you may not use this file except in compliance with the License.
    00007  * 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 RP_TRANSPORT_BINDING_H
    00019 #define RP_TRANSPORT_BINDING_H
    00020
    00026 #include <rp_includes.h>
    00027 #include <rp_binding_commons.h>
    00028 #include <rp_property.h>
    00029
    00030 #ifdef __cplusplus
    00031 extern "C"
    00032 {
    00033 #endif
    00034
    00035     typedef struct rp_transport_binding_t rp_transport_binding_t;
    00036
    00037     AXIS2_EXTERN rp_transport_binding_t *AXIS2_CALL
    00038     rp_transport_binding_create(
    00039         const axutil_env_t * env);
    00040
    00041     AXIS2_EXTERN void AXIS2_CALL
    00042     rp_transport_binding_free(
    00043         rp_transport_binding_t * transport_binding,
    00044         const axutil_env_t * env);
    00045
    00046     AXIS2_EXTERN rp_binding_commons_t *AXIS2_CALL
    00047     rp_transport_binding_get_binding_commons(
    00048         rp_transport_binding_t * transport_binding,
    00049         const axutil_env_t * env);
    00050
    00051     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00052     rp_transport_binding_set_binding_commons(
    00053         rp_transport_binding_t * transport_binding,
    00054         const axutil_env_t * env,
    00055         rp_binding_commons_t * binding_commons);
    00056
    00057     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00058     rp_transport_binding_set_transport_token(
    00059         rp_transport_binding_t * transport_binding,
    00060         const axutil_env_t * env,
    00061         rp_property_t * transport_token);
    00062
    00063     AXIS2_EXTERN rp_property_t *AXIS2_CALL
    00064     rp_transport_binding_get_transport_token(
    00065         rp_transport_binding_t * transport_binding,
    00066         const axutil_env_t * env);
    00067
    00068     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00069     rp_transport_binding_increment_ref(
    00070         rp_transport_binding_t * tansport_binding,
    00071         const axutil_env_t * env);
    00072
    00073 #ifdef __cplusplus
    00074 }
    00075 #endif
    00076 #endif