# sandesha2_make_connection.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_MAKE_CONNECTION_H
    00018 #define SANDESHA2_MAKE_CONNECTION_H
    00019
    00025 #include <axiom_soap_envelope.h>
    00026 #include <sandesha2_identifier.h>
    00027 #include <sandesha2_mc_address.h>
    00028 #include <sandesha2_error.h>
    00029
    00030
    00031 #ifdef __cplusplus
    00032 extern "C"
    00033 {
    00034 #endif
    00035
    00041 typedef struct sandesha2_make_connection_t sandesha2_make_connection_t;
    00042
    00048 AXIS2_EXTERN sandesha2_make_connection_t* AXIS2_CALL
    00049 sandesha2_make_connection_create(
    00050     const axutil_env_t *env,
    00051         axis2_char_t *ns_value);
    00052
    00053 axis2_status_t AXIS2_CALL
    00054 sandesha2_make_connection_free_void_arg(
    00055     void *make_conn,
    00056     const axutil_env_t *env);
    00057
    00058 axis2_status_t AXIS2_CALL
    00059 sandesha2_make_connection_free(
    00060     sandesha2_make_connection_t *make_conn,
    00061         const axutil_env_t *env);
    00062
    00063 sandesha2_identifier_t * AXIS2_CALL
    00064 sandesha2_make_connection_get_identifier(
    00065     sandesha2_make_connection_t *make_conn,
    00066     const axutil_env_t *env);
    00067
    00068 axis2_status_t AXIS2_CALL
    00069 sandesha2_make_connection_set_identifier(
    00070     sandesha2_make_connection_t *make_conn,
    00071     const axutil_env_t *env,
    00072     sandesha2_identifier_t *identifier);
    00073
    00074 sandesha2_mc_address_t * AXIS2_CALL
    00075 sandesha2_make_connection_get_address(
    00076     sandesha2_make_connection_t *make_conn,
    00077     const axutil_env_t *env);
    00078
    00079 axis2_status_t AXIS2_CALL
    00080 sandesha2_make_connection_set_address(
    00081     sandesha2_make_connection_t *make_conn,
    00082     const axutil_env_t *env,
    00083     sandesha2_mc_address_t *address);
    00084
    00085 axis2_status_t AXIS2_CALL
    00086 sandesha2_make_connection_to_soap_envelope(
    00087     sandesha2_make_connection_t *make_conn,
    00088     const axutil_env_t *env,
    00089     axiom_soap_envelope_t *envelope);
    00090
    00091 axis2_char_t* AXIS2_CALL
    00092 sandesha2_make_connection_get_namespace_value (
    00093     sandesha2_make_connection_t *make_conn,
    00094         const axutil_env_t *env);
    00095
    00096 void* AXIS2_CALL
    00097 sandesha2_make_connection_from_om_node(
    00098     sandesha2_make_connection_t *make_conn,
    00099     const axutil_env_t *env,
    00100     axiom_node_t *om_node);
    00101
    00102 axiom_node_t* AXIS2_CALL
    00103 sandesha2_make_connection_to_om_node(
    00104     sandesha2_make_connection_t *make_conn,
    00105     const axutil_env_t *env,
    00106     void *om_node);
    00107
    00109 #ifdef __cplusplus
    00110 }
    00111 #endif
    00112
    00113 #endif                          /* SANDESHA2_MAKE_CONNECTION_H */
    00114