Mark Radbourne / Mbed 2 deprecated iothub_client_sample_amqp

Dependencies:   EthernetInterface NTPClient iothub_amqp_transport iothub_client mbed-rtos mbed

Fork of iothub_client_sample_amqp 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* SU_OPTION_X509_CERT = "x509certificate";
00024     static const char* SU_OPTION_X509_PRIVATE_KEY = "x509privatekey";
00025 
00026     static const char* OPTION_CURL_LOW_SPEED_LIMIT = "CURLOPT_LOW_SPEED_LIMIT";
00027     static const char* OPTION_CURL_LOW_SPEED_TIME = "CURLOPT_LOW_SPEED_TIME";
00028     static const char* OPTION_CURL_FRESH_CONNECT = "CURLOPT_FRESH_CONNECT";
00029     static const char* OPTION_CURL_FORBID_REUSE = "CURLOPT_FORBID_REUSE";
00030     static const char* OPTION_CURL_VERBOSE = "CURLOPT_VERBOSE";
00031 
00032 #ifdef __cplusplus
00033 }
00034 #endif
00035 
00036 #endif /* SHARED_UTIL_OPTIONS_H */