Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
78fb4766
Commit
78fb4766
authored
21 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
FTPSSL support options and defines added
parent
3fed12a2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/curl/curl.h
+16
-0
16 additions, 0 deletions
include/curl/curl.h
with
16 additions
and
0 deletions
include/curl/curl.h
+
16
−
0
View file @
78fb4766
...
...
@@ -218,6 +218,7 @@ typedef enum {
CURLE_BAD_CONTENT_ENCODING
,
/* 61 - Unrecognized transfer encoding */
CURLE_LDAP_INVALID_URL
,
/* 62 - Invalid LDAP URL */
CURLE_FILESIZE_EXCEEDED
,
/* 63 - Maximum file size exceeded */
CURLE_FTP_SSL_FAILED
,
/* 64 - Requested FTP SSL level failed */
CURL_LAST
/* never use! */
}
CURLcode
;
...
...
@@ -256,6 +257,14 @@ typedef enum {
#define CURL_ERROR_SIZE 256
typedef
enum
{
CURLFTPSSL_NONE
,
/* do not attempt to use SSL */
CURLFTPSSL_TRY
,
/* try using SSL, proceed anyway otherwise */
CURLFTPSSL_CONTROL
,
/* SSL for the control connection or fail */
CURLFTPSSL_ALL
,
/* SSL for all communication or fail */
CURLFTPSSL_LAST
/* not an option, never use */
}
curl_ftpssl
;
/* long may be 32 or 64 bits, but we should never depend on anything else
but 32 */
#define CURLOPTTYPE_LONG 0
...
...
@@ -699,6 +708,13 @@ typedef enum {
file in there. */
CINIT
(
NETRC_FILE
,
OBJECTPOINT
,
115
),
/* Enable SSL/TLS for FTP, pick one of:
CURLFTPSSL_TRY - try using SSL, proceed anyway otherwise
CURLFTPSSL_CONTROL - SSL for the control connection or fail
CURLFTPSSL_ALL - SSL for all communication or fail
*/
CINIT
(
FTP_SSL
,
LONG
,
116
),
CURLOPT_LASTENTRY
/* the last unused */
}
CURLoption
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment