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
0aeb25ff
Commit
0aeb25ff
authored
22 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
James Cone added the new CURL_NETRC_OPTION enum
parent
a928f2c4
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
+17
-1
17 additions, 1 deletion
include/curl/curl.h
with
17 additions
and
1 deletion
include/curl/curl.h
+
17
−
1
View file @
0aeb25ff
...
...
@@ -379,7 +379,11 @@ typedef enum {
CINIT
(
FTPLISTONLY
,
LONG
,
48
),
/* Use NLST when listing ftp dir */
CINIT
(
FTPAPPEND
,
LONG
,
50
),
/* Append instead of overwrite on upload! */
CINIT
(
NETRC
,
LONG
,
51
),
/* read user+password from .netrc */
/* Specify whether to read the user+password from the .netrc or the URL.
* This must be one of the CURL_NETRC_* enums below. */
CINIT
(
NETRC
,
LONG
,
51
),
CINIT
(
FOLLOWLOCATION
,
LONG
,
52
),
/* use Location: Luke! */
/* This FTPASCII name is now obsolete, to be removed, use the TRANSFERTEXT
...
...
@@ -560,6 +564,18 @@ enum {
CURL_HTTP_VERSION_LAST
/* *ILLEGAL* http version */
};
/* These enums are for use with the CURLOPT_NETRC option. */
enum
CURL_NETRC_OPTION
{
CURL_NETRC_IGNORED
,
/* The .netrc will never be read.
* This is the default. */
CURL_NETRC_OPTIONAL
,
/* A user:password in the URL will be preferred
* to one in the .netrc. */
CURL_NETRC_REQUIRED
,
/* A user:password in the URL will be ignored.
* Unless one is set programmatically, the .netrc
* will be queried. */
CURL_NETRC_LAST
};
enum
{
CURL_SSLVERSION_DEFAULT
,
CURL_SSLVERSION_TLSv1
,
...
...
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