Wasabi ExpressPlay SDK for Desktop Systems  1.23.0
WsbProxyManager.h
Go to the documentation of this file.
1 /*****************************************************************
2  |
3  | Wasabi - Proxy Manager
4  |
5  | $Id: WsbProxyManager.h 12436 2016-05-03 20:25:41Z ehodzic $
6  | Original author: Laurent Grandhomme
7  |
8  | This software is provided to you pursuant to your agreement
9  | with Intertrust Technologies Corporation ("Intertrust").
10  | This software may be used only in accordance with the terms
11  | of the agreement.
12  |
13  | Copyright (c) 2008-2014 by Intertrust. All rights reserved.
14  |
15  ****************************************************************/
21 #ifndef _WSB_PROXY_MANAGER_H_
22 #define _WSB_PROXY_MANAGER_H_
23 
24 /*----------------------------------------------------------------------
25  | includes
26  +---------------------------------------------------------------------*/
27 #include "WsbTypes.h"
28 #include "WsbResults.h"
29 
30 #if defined(__cplusplus)
31 extern "C" {
32 #endif
33 
49 WSB_EXPORT WSB_Result
50 WSB_ProxyManager_SetHttpProxy(const char* hostname,
51  WSB_UInt16 port);
52 
53 
63 WSB_EXPORT WSB_Result
64 WSB_ProxyManager_SetHttpsProxy(const char* hostname,
65  WSB_UInt16 port);
66 
67 
80 WSB_EXPORT WSB_Result
82  const char* username,
83  const char* password);
84 
85 
86 
99 WSB_EXPORT WSB_Result
101  const char* username,
102  const char* password);
103 
106 #if defined(__cplusplus)
107 }
108 #endif
109 
110 #endif /* _WSB_PROXY_MANAGER_H_ */
WSB_EXPORT WSB_Result WSB_ProxyManager_SetHttpProxy(const char *hostname, WSB_UInt16 port)
Sets the http proxy to be used for all http transactions within Wasabi.
WSB_Boolean
Boolean type used for variables that can be true (WSB_TRUE) or false (WSB_FALSE). ...
Definition: WsbTypes.h:71
WSB_EXPORT WSB_Result WSB_ProxyManager_SetHttpsProxyAuthentication(WSB_Boolean is_auth, const char *username, const char *password)
Set the https proxy authentication to be used for all https transactions.
WSB_EXPORT WSB_Result WSB_ProxyManager_SetHttpsProxy(const char *hostname, WSB_UInt16 port)
Set the https proxy to be used for all https transactions within Wasabi If 'hostname' is an empty str...
int WSB_Result
Signed integer value representing a function or method result (return value).
Definition: WsbTypes.h:83
unsigned short WSB_UInt16
16-bit unsigned integer
Definition: WsbTypes.h:38
Result codes.
WSB_EXPORT WSB_Result WSB_ProxyManager_SetHttpProxyAuthentication(WSB_Boolean is_auth, const char *username, const char *password)
Set the http proxy authentication to be used for all http transactions.
Wasabi Result.