Guardtime KSI c SDK
net_uri.h
Go to the documentation of this file.
1 /*
2  * Copyright 2013-2015 Guardtime, Inc.
3  *
4  * This file is part of the Guardtime client SDK.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License").
7  * You may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  * http://www.apache.org/licenses/LICENSE-2.0
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES, CONDITIONS, OR OTHER LICENSES OF ANY KIND, either
13  * express or implied. See the License for the specific language governing
14  * permissions and limitations under the License.
15  * "Guardtime" and "KSI" are trademarks or registered trademarks of
16  * Guardtime, Inc., and no license to trademarks is granted; Guardtime
17  * reserves and retains all trademark rights.
18  */
19 
20 #ifndef KSI_NET_URI_H_
21 #define KSI_NET_URI_H_
22 
23 #include "net.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29  typedef struct KSI_UriClient_st KSI_UriClient;
30  typedef struct KSI_AsyncUriClient_st KSI_AsyncUriClient;
31 
38  int KSI_UriClient_new(KSI_CTX *ctx, KSI_NetworkClient **client);
39 
47  int KSI_UriClient_setPublicationUrl(KSI_NetworkClient *client, const char *val);
48 
49  int KSI_UriClient_setExtender(KSI_NetworkClient *client, const char *uri, const char *loginId, const char *key);
50  int KSI_UriClient_setAggregator(KSI_NetworkClient *client, const char *uri, const char *loginId, const char *key);
51 
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif /* KSI_NET_URI_H_ */
int KSI_UriClient_setTransferTimeoutSeconds(KSI_NetworkClient *client, int timeout)
int KSI_UriClient_new(KSI_CTX *ctx, KSI_NetworkClient **client)
int KSI_UriClient_setPublicationUrl(KSI_NetworkClient *client, const char *val)
struct KSI_AsyncUriClient_st KSI_AsyncUriClient
Definition: net_uri.h:30
int KSI_UriClient_setAggregator(KSI_NetworkClient *client, const char *uri, const char *loginId, const char *key)
struct KSI_CTX_st KSI_CTX
Definition: types_base.h:124
int KSI_UriClient_setExtender(KSI_NetworkClient *client, const char *uri, const char *loginId, const char *key)
struct KSI_UriClient_st KSI_UriClient
Definition: net_uri.h:29
int KSI_UriClient_setConnectionTimeoutSeconds(KSI_NetworkClient *client, int timeout)
struct KSI_NetworkClient_st KSI_NetworkClient
Definition: types.h:121