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
6e169851
Commit
6e169851
authored
21 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
Added more docs for DEBUGFUNCTION as suggsted by Mohun Biswas
parent
50dacab3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/libcurl/curl_easy_setopt.3
+24
-7
24 additions, 7 deletions
docs/libcurl/curl_easy_setopt.3
with
24 additions
and
7 deletions
docs/libcurl/curl_easy_setopt.3
+
24
−
7
View file @
6e169851
.\" nroff -man [file]
.\" $Id$
.\"
.TH curl_easy_setopt 3 "
8 Aug
2003" "libcurl 7.10.
7
" "libcurl Manual"
.TH curl_easy_setopt 3 "
13 Sep
2003" "libcurl 7.10.
8
" "libcurl Manual"
.SH NAME
curl_easy_setopt - set options for a curl easy handle
.SH SYNOPSIS
...
...
@@ -171,13 +171,30 @@ set a custom get-all-headers callback.
.B CURLOPT_DEBUGFUNCTION
Function pointer that should match the following prototype: \fIint
curl_debug_callback (CURL *, curl_infotype, char *, size_t, void *);\fP
This function will receive debug information if CURLOPT_VERBOSE is
enabled. The curl_infotype argument specifies what kind of information it
is. This funtion must return 0.
CURLOPT_DEBUGFUNCTION replaces the standard debug function used when
CURLOPT_VERBOSE is in effect. This callback receives debug information, as
specified with the \fIcurl_infotype\fP argument. This funtion must return 0.
The data pointed to by the char * passed to this function WILL NOT be zero
terminated, but will be exactly of the size as told by the size_t argument.
NOTE: the data pointed to by the char * passed to this function WILL NOT be
zero terminated, but will be exactly of the size as told by the size_t
argument.
Available curl_infotype values:
.RS
.TP 5
.B CURLINFO_TEXT
The data is informational text.
.TP
.B CURLINFO_HEADER_IN
The data is header (or header-like) data received from the peer.
.TP
.B CURLINFO_HEADER_OUT
The data is header (or header-like) data sent to the peer.
.TP
.B CURLINFO_DATA_IN
The data is protocol data received from the peer.
.TP
.B CURLINFO_DATA_OUT
The data is protocol data sent to the peer.
.RE
.TP
.B CURLOPT_DEBUGDATA
Pass a pointer to whatever you want passed in to your CURLOPT_DEBUGFUNCTION in
...
...
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