# savan_client.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
    00018 #ifndef SAVAN_CLIENT_H
    00019 #define SAVAN_CLIENT_H
    00020
    00021
    00032 #include <axis2_defines.h>
    00033 #include <axutil_env.h>
    00034 #include <axis2_conf_ctx.h>
    00035 #include <axis2_svc_client.h>
    00036 #include <axutil_hash.h>
    00037
    00038 #ifdef __cplusplus
    00039 extern "C"
    00040 {
    00041 #endif
    00042
    00043     typedef struct savan_client_t savan_client_t;
    00044
    00053     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00054     savan_client_subscribe(
    00055         savan_client_t *client,
    00056         const axutil_env_t *env,
    00057         axis2_svc_client_t *svc_client,
    00058         axutil_hash_t *options);
    00059
    00068     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00069     savan_client_renew(
    00070         savan_client_t *client,
    00071         const axutil_env_t *env,
    00072         axis2_svc_client_t *svc_client,
    00073         axutil_hash_t *options);
    00074
    00082     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00083     savan_client_unsubscribe(
    00084         savan_client_t *client,
    00085         const axutil_env_t *env,
    00086         axis2_svc_client_t *svc_client);
    00087
    00095     AXIS2_EXTERN axis2_char_t * AXIS2_CALL
    00096     savan_client_get_status(
    00097         savan_client_t *client,
    00098         const axutil_env_t *env,
    00099         axis2_svc_client_t *svc_client);
    00100
    00107     AXIS2_EXTERN axis2_char_t * AXIS2_CALL
    00108     savan_client_get_sub_id(
    00109         savan_client_t *client);
    00110
    00117     AXIS2_EXTERN axis2_char_t * AXIS2_CALL
    00118     savan_client_get_sub_url(
    00119         savan_client_t *client);
    00120
    00126     AXIS2_EXTERN savan_client_t * AXIS2_CALL
    00127     savan_client_create(
    00128         const axutil_env_t *env);
    00129
    00130
    00132 #ifdef __cplusplus
    00133 }
    00134 #endif
    00135
    00136 #endif /* SAVAN_CLIENT_H */