source: azure_iot_hub/trunk/azure_iothub/c-utility/inc/azure_c_shared_utility/shared_util_options.h@ 389

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

ビルドが通るよう更新

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr;charset=UTF-8
File size: 2.5 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 SU_OPTION_X509_CERT = "x509certificate";
32 static STATIC_VAR_UNUSED const char* const SU_OPTION_X509_PRIVATE_KEY = "x509privatekey";
33
34 static STATIC_VAR_UNUSED const char* const OPTION_X509_ECC_CERT = "x509EccCertificate";
35 static STATIC_VAR_UNUSED const char* const OPTION_X509_ECC_KEY = "x509EccAliasKey";
36
37 static STATIC_VAR_UNUSED const char* const OPTION_CURL_LOW_SPEED_LIMIT = "CURLOPT_LOW_SPEED_LIMIT";
38 static STATIC_VAR_UNUSED const char* const OPTION_CURL_LOW_SPEED_TIME = "CURLOPT_LOW_SPEED_TIME";
39 static STATIC_VAR_UNUSED const char* const OPTION_CURL_FRESH_CONNECT = "CURLOPT_FRESH_CONNECT";
40 static STATIC_VAR_UNUSED const char* const OPTION_CURL_FORBID_REUSE = "CURLOPT_FORBID_REUSE";
41 static STATIC_VAR_UNUSED const char* const OPTION_CURL_VERBOSE = "CURLOPT_VERBOSE";
42
43 static STATIC_VAR_UNUSED const char* const OPTION_NET_INT_MAC_ADDRESS = "net_interface_mac_address";
44
45 // DEPRECATED: The underlying security library for your platform will use a secure TLS version
46 // that in general should not be overridden with OPTION_TLS_VERSION.
47 static STATIC_VAR_UNUSED const char* const OPTION_TLS_VERSION = "tls_version";
48
49 static STATIC_VAR_UNUSED const char* const OPTION_ADDRESS_TYPE = "ADDRESS_TYPE";
50 static STATIC_VAR_UNUSED const char* const OPTION_ADDRESS_TYPE_DOMAIN_SOCKET = "DOMAIN_SOCKET";
51 static STATIC_VAR_UNUSED const char* const OPTION_ADDRESS_TYPE_IP_SOCKET = "IP_SOCKET";
52
53#ifdef __cplusplus
54}
55#endif
56
57#endif /* SHARED_UTIL_OPTIONS_H */
Note: See TracBrowser for help on using the repository browser.