Sponsored Content
Full Discussion: getoptlong
Top Forums Programming getoptlong Post 302214956 by nagalenoj on Tuesday 15th of July 2008 08:18:32 AM
Old 07-15-2008
Question getoptlong

Hi...,
I am using the getoptlong() function to handle the options.
For some options I am having the long option and for some other I don't want the long option.
So, what I have to specify in the place of long option field when declaring the longopt array.
 
CURLOPT_PROXY_SSL_OPTIONS(3)				     curl_easy_setopt options				      CURLOPT_PROXY_SSL_OPTIONS(3)

NAME
CURLOPT_PROXY_SSL_OPTIONS - set proxy SSL behavior options SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXY_SSL_OPTIONS, long bitmask); DESCRIPTION
Pass a long with a bitmask to tell libcurl about specific SSL behaviors. CURLSSLOPT_ALLOW_BEAST tells libcurl to not attempt to use any workarounds for a security flaw in the SSL3 and TLS1.0 protocols. If this option isn't used or this bit is set to 0, the SSL layer libcurl uses may use a work-around for this flaw although it might cause interop- erability problems with some (older) SSL implementations. WARNING: avoiding this work-around lessens the security, and by setting this option to 1 you ask for exactly that. This option is only supported for DarwinSSL, NSS and OpenSSL. CURLSSLOPT_NO_REVOKE tells libcurl to disable certificate revocation checks for those SSL backends where such behavior is present. Cur- rently this option is only supported for WinSSL (the native Windows SSL library), with an exception in the case of Windows' Untrusted Pub- lishers blacklist which it seems can't be bypassed. This option may have broader support to accommodate other SSL backends in the future. https://curl.haxx.se/docs/ssl-compared.html DEFAULT
0 PROTOCOLS
All AVAILABLE
Added in 7.52.0 EXAMPLE
TODO RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. SEE ALSO
CURLOPT_PROXY_SSLVERSION(3), CURLOPT_PROXY_SSL_CIPHER_LIST(3), CURLOPT_SSLVERSION(3), CURLOPT_SSL_CIPHER_LIST(3), libcurl 7.54.0 December 16, 2016 CURLOPT_PROXY_SSL_OPTIONS(3)
All times are GMT -4. The time now is 06:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy