Nigel Rantor / azure_c_shared_utility

Fork of azure_c_shared_utility by Azure IoT

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers shared_util_options.h Source File

shared_util_options.h

00001 // Copyright (c) Microsoft. All rights reserved.
00002 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
00003 
00004 #ifndef SHARED_UTIL_OPTIONS_H
00005 #define SHARED_UTIL_OPTIONS_H
00006 
00007 #ifdef __cplusplus
00008 extern "C"
00009 {
00010 #endif
00011 
00012     typedef struct HTTP_PROXY_OPTIONS_TAG
00013     {
00014         const char* host_address;
00015         int port;
00016         const char* username;
00017         const char* password;
00018     } HTTP_PROXY_OPTIONS;
00019 
00020     static const char* OPTION_HTTP_PROXY = "proxy_data";
00021     static const char* OPTION_HTTP_TIMEOUT = "timeout";
00022 
00023     static const char* OPTION_TRUSTED_CERT = "TrustedCerts";
00024 
00025     static const char* SU_OPTION_X509_CERT = "x509certificate";
00026     static const char* SU_OPTION_X509_PRIVATE_KEY = "x509privatekey";
00027 
00028     static const char* OPTION_X509_ECC_CERT = "x509EccCertificate";
00029     static const char* OPTION_X509_ECC_KEY = "x509EccAliasKey";
00030 
00031     static const char* OPTION_CURL_LOW_SPEED_LIMIT = "CURLOPT_LOW_SPEED_LIMIT";
00032     static const char* OPTION_CURL_LOW_SPEED_TIME = "CURLOPT_LOW_SPEED_TIME";
00033     static const char* OPTION_CURL_FRESH_CONNECT = "CURLOPT_FRESH_CONNECT";
00034     static const char* OPTION_CURL_FORBID_REUSE = "CURLOPT_FORBID_REUSE";
00035     static const char* OPTION_CURL_VERBOSE = "CURLOPT_VERBOSE";
00036 
00037     static const char* OPTION_NET_INT_MAC_ADDRESS = "net_interface_mac_address";
00038 #ifdef __cplusplus
00039 }
00040 #endif
00041 
00042 #endif /* SHARED_UTIL_OPTIONS_H */