diff options
author | Alessandro Ghedini <alessandro@ghedini.me> | 2019-09-14 19:47:34 +0100 |
---|---|---|
committer | Alessandro Ghedini <alessandro@ghedini.me> | 2019-09-15 12:25:02 +0100 |
commit | 5eb75d418657a734bfbe02e5aef69cc5fe28ebc6 (patch) | |
tree | 423f2a7e5819012d7adcbcdd4433a146aceabfa1 /docs/libcurl/opts | |
parent | 4a2d47e0b7c6a568f4d48df687c6488228b74891 (diff) |
docs: remove trailing ':' from section names in CURLOPT_TRAILER* man
Diffstat (limited to 'docs/libcurl/opts')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_TRAILERDATA.3 | 12 | ||||
-rw-r--r-- | docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3 | 14 |
2 files changed, 13 insertions, 13 deletions
diff --git a/docs/libcurl/opts/CURLOPT_TRAILERDATA.3 b/docs/libcurl/opts/CURLOPT_TRAILERDATA.3 index 8162340d4..a542f0123 100644 --- a/docs/libcurl/opts/CURLOPT_TRAILERDATA.3 +++ b/docs/libcurl/opts/CURLOPT_TRAILERDATA.3 @@ -21,19 +21,19 @@ .\" ************************************************************************** .\" .TH CURLOPT_TRAILERDATA 3 "14 Aug 2018" "libcurl 7.64.0" "curl_easy_setopt options" -.SH NAME: +.SH NAME CURLOPT_TRAILERDATA \- Custom pointer passed to the trailing headers callback -.SH SYNOPSIS: +.SH SYNOPSIS #include <curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TRAILERDATA, void *userdata); .SH DESCRIPTION: Data pointer to be passed to the HTTP trailer callback function. -.SH DEFAULT: +.SH DEFAULT NULL -.SH PROTOCOLS: +.SH PROTOCOLS HTTP -.SH EXAMPLE: +.SH EXAMPLE .nf /* Assuming we have a CURL handle in the hndl variable. */ @@ -43,7 +43,7 @@ curl_easy_setopt(hndl, CURLOPT_TRAILERDATA, &data); .fi A more complete example can be found in examples/http_trailers.html -.SH AVAILABILITY: +.SH AVAILABILITY This option was added in curl 7.64.0 and is present if HTTP support is enabled .SH "SEE ALSO" .BR CURLOPT_TRAILERFUNCTION "(3), " diff --git a/docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3 b/docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3 index 54974078c..03e75c62b 100644 --- a/docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.3 @@ -21,15 +21,15 @@ .\" ************************************************************************** .\" .TH CURLOPT_TRAILERFUNCTION 3 "14 Aug 2018" "libcurl 7.64.0" "curl_easy_setopt options" -.SH NAME: +.SH NAME CURLOPT_TRAILERFUNCTION \- Set callback for sending trailing headers -.SH SYNOPSIS: +.SH SYNOPSIS #include <curl.h> int curl_trailer_callback(struct curl_slist ** list, void *userdata); CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TRAILERFUNCTION, curl_trailer_callback *func); -.SH DESCRIPTION: +.SH DESCRIPTION Pass a pointer to a callback function. This callback function will be called once right before sending the final @@ -56,11 +56,11 @@ trailers or to abort the request. If you set this option to NULL, then the transfer proceeds as usual without any interruptions. -.SH DEFAULT: +.SH DEFAULT NULL -.SH PROTOCOLS: +.SH PROTOCOLS HTTP -.SH EXAMPLE: +.SH EXAMPLE #include <curl/curl.h> static int trailer_cb(struct curl_slist **tr, void *data) @@ -95,7 +95,7 @@ if(curl) { curl_slist_free_all(headers); } -.SH AVAILABILITY: +.SH AVAILABILITY This option was added in curl 7.64.0 and is present if HTTP support is enabled .SH "SEE ALSO" .BR CURLOPT_TRAILERDATA "(3), " |