mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:01:41 +03:00
curl.h: convert CURLUSESSL* names to defines
So that we can use L suffix.
Follow-up to 2ec00372a1
Closes #16539
This commit is contained in:
parent
fb13923dd6
commit
7b0240c077
1 changed files with 6 additions and 5 deletions
|
|
@ -914,12 +914,13 @@ typedef int
|
|||
|
||||
|
||||
/* parameter for the CURLOPT_USE_SSL option */
|
||||
#define CURLUSESSL_NONE 0L /* do not attempt to use SSL */
|
||||
#define CURLUSESSL_TRY 1L /* try using SSL, proceed anyway otherwise */
|
||||
#define CURLUSESSL_CONTROL 2L /* SSL for the control connection or fail */
|
||||
#define CURLUSESSL_ALL 3L /* SSL for all communication or fail */
|
||||
|
||||
typedef enum {
|
||||
CURLUSESSL_NONE, /* do not attempt to use SSL */
|
||||
CURLUSESSL_TRY, /* try using SSL, proceed anyway otherwise */
|
||||
CURLUSESSL_CONTROL, /* SSL for the control connection or fail */
|
||||
CURLUSESSL_ALL, /* SSL for all communication or fail */
|
||||
CURLUSESSL_LAST /* not an option, never use */
|
||||
CURLUSESSL_LAST = 4 /* not an option, never use */
|
||||
} curl_usessl;
|
||||
|
||||
/* Definition of bits for the CURLOPT_SSL_OPTIONS argument: */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue