source: azure_iot_hub_f767zi/trunk/azure_iot_sdk/c-utility/inc/azure_c_shared_utility/shared_util_options.h@ 464

Last change on this file since 464 was 464, checked in by coas-nagasima, 3 years ago

WolfSSLとAzure IoT SDKを更新

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr;charset=UTF-8
File size: 3.0 KB
Line 
1// Copyright (c) Microsoft. All rights reserved.
2// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
4#ifndef SHARED_UTIL_OPTIONS_H
5#define SHARED_UTIL_OPTIONS_H
6
7#include "azure_c_shared_utility/const_defines.h"
8
9#ifdef __cplusplus
10extern "C"
11{
12#endif
13
14 typedef struct HTTP_PROXY_OPTIONS_TAG
15 {
16 const char* host_address;
17 int port;
18 const char* username;
19 const char* password;
20 } HTTP_PROXY_OPTIONS;
21
22 static STATIC_VAR_UNUSED const char* const OPTION_HTTP_PROXY = "proxy_data";
23 static STATIC_VAR_UNUSED const char* const OPTION_HTTP_TIMEOUT = "timeout";
24
25 static STATIC_VAR_UNUSED const char* const OPTION_TRUSTED_CERT = "TrustedCerts";
26
27 // Clients should not use OPTION_OPENSSL_CIPHER_SUITE except for very specialized scenarios.
28 // They instead should rely on the underlying client TLS stack and service to negotiate an appropriate cipher.
29 static STATIC_VAR_UNUSED const char* const OPTION_OPENSSL_CIPHER_SUITE = "CipherSuite";
30
31 static STATIC_VAR_UNUSED const char* const OPTION_OPENSSL_ENGINE = "Engine";
32 static STATIC_VAR_UNUSED const char* const OPTION_OPENSSL_PRIVATE_KEY_TYPE = "x509PrivatekeyType";
33
34 typedef enum OPTION_OPENSSL_KEY_TYPE_TAG
35 {
36 KEY_TYPE_DEFAULT,
37 KEY_TYPE_ENGINE
38 } OPTION_OPENSSL_KEY_TYPE;
39
40 static STATIC_VAR_UNUSED const char* const SU_OPTION_X509_CERT = "x509certificate";
41 static STATIC_VAR_UNUSED const char* const SU_OPTION_X509_PRIVATE_KEY = "x509privatekey";
42
43 static STATIC_VAR_UNUSED const char* const OPTION_X509_ECC_CERT = "x509EccCertificate";
44 static STATIC_VAR_UNUSED const char* const OPTION_X509_ECC_KEY = "x509EccAliasKey";
45
46 static STATIC_VAR_UNUSED const char* const OPTION_CURL_LOW_SPEED_LIMIT = "CURLOPT_LOW_SPEED_LIMIT";
47 static STATIC_VAR_UNUSED const char* const OPTION_CURL_LOW_SPEED_TIME = "CURLOPT_LOW_SPEED_TIME";
48 static STATIC_VAR_UNUSED const char* const OPTION_CURL_FRESH_CONNECT = "CURLOPT_FRESH_CONNECT";
49 static STATIC_VAR_UNUSED const char* const OPTION_CURL_FORBID_REUSE = "CURLOPT_FORBID_REUSE";
50 static STATIC_VAR_UNUSED const char* const OPTION_CURL_VERBOSE = "CURLOPT_VERBOSE";
51
52 static STATIC_VAR_UNUSED const char* const OPTION_NET_INT_MAC_ADDRESS = "net_interface_mac_address";
53
54 static STATIC_VAR_UNUSED const char* const OPTION_SET_TLS_RENEGOTIATION = "tls_renegotiation";
55
56 // DEPRECATED: The underlying security library for your platform will use a secure TLS version
57 // that in general should not be overridden with OPTION_TLS_VERSION.
58 static STATIC_VAR_UNUSED const char* const OPTION_TLS_VERSION = "tls_version";
59
60 static STATIC_VAR_UNUSED const char* const OPTION_ADDRESS_TYPE = "ADDRESS_TYPE";
61 static STATIC_VAR_UNUSED const char* const OPTION_ADDRESS_TYPE_DOMAIN_SOCKET = "DOMAIN_SOCKET";
62 static STATIC_VAR_UNUSED const char* const OPTION_ADDRESS_TYPE_IP_SOCKET = "IP_SOCKET";
63
64#ifdef __cplusplus
65}
66#endif
67
68#endif /* SHARED_UTIL_OPTIONS_H */
Note: See TracBrowser for help on using the repository browser.