docs: consistent manpage SYNOPSIS
Make all libcurl related options use .nf (no fill) for the SYNOPSIS section - for consistent look. roffit then renders that section using <pre> (monospace font) in html for the website. Extended manpage-syntax (test 1173) with a basic check for it. Closes #8062
This commit is contained in:
Родитель
ff1c172e86
Коммит
230bb3e278
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_easy_cleanup - End a libcurl easy handle
|
curl_easy_cleanup - End a libcurl easy handle
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
|
#include <curl/curl.h>
|
||||||
|
|
||||||
.BI "void curl_easy_cleanup(CURL *" handle ");"
|
void curl_easy_cleanup(CURL *handle);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function must be the last function to call for an easy session. It is the
|
This function must be the last function to call for an easy session. It is the
|
||||||
opposite of the \fIcurl_easy_init(3)\fP function and must be called with the
|
opposite of the \fIcurl_easy_init(3)\fP function and must be called with the
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_easy_duphandle - Clone a libcurl session handle
|
curl_easy_duphandle - Clone a libcurl session handle
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
|
#include <curl/curl.h>
|
||||||
.BI "CURL *curl_easy_duphandle(CURL *"handle ");"
|
|
||||||
|
|
||||||
|
CURL *curl_easy_duphandle(CURL *handle);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function will return a new curl handle, a duplicate, using all the
|
This function will return a new curl handle, a duplicate, using all the
|
||||||
options previously set in the input curl \fIhandle\fP. Both handles can
|
options previously set in the input curl \fIhandle\fP. Both handles can
|
||||||
|
|
|
@ -24,11 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_easy_escape - URL encodes the given string
|
curl_easy_escape - URL encodes the given string
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "char *curl_easy_escape( CURL *" curl ", const char *" string
|
|
||||||
.BI ", int "length " );"
|
char *curl_easy_escape(CURL *curl, const char *string, int length);
|
||||||
.ad
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function converts the given input \fIstring\fP to a URL encoded string
|
This function converts the given input \fIstring\fP to a URL encoded string
|
||||||
and returns that as a new allocated string. All input characters that are not
|
and returns that as a new allocated string. All input characters that are not
|
||||||
|
|
|
@ -24,10 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_easy_getinfo - extract information from a curl handle
|
curl_easy_getinfo - extract information from a curl handle
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
|
#include <curl/curl.h>
|
||||||
.B "CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ... );"
|
|
||||||
|
|
||||||
|
CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ... );
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Request internal information from the curl session with this function. The
|
Request internal information from the curl session with this function. The
|
||||||
third argument \fBMUST\fP be a pointer to a long, a pointer to a char *, a
|
third argument \fBMUST\fP be a pointer to a long, a pointer to a char *, a
|
||||||
|
|
|
@ -23,9 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_easy_init - Start a libcurl easy session
|
curl_easy_init - Start a libcurl easy session
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
|
#include <curl/curl.h>
|
||||||
|
|
||||||
.BI "CURL *curl_easy_init( );"
|
CURL *curl_easy_init();
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function must be the first function to call, and it returns a CURL easy
|
This function must be the first function to call, and it returns a CURL easy
|
||||||
handle that you must use as input to other functions in the easy
|
handle that you must use as input to other functions in the easy
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_easy_perform - perform a blocking file transfer
|
curl_easy_perform - perform a blocking file transfer
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "CURLcode curl_easy_perform(CURL *" easy_handle ");"
|
|
||||||
.ad
|
CURLcode curl_easy_perform(CURL *easy_handle);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Invoke this function after \fIcurl_easy_init(3)\fP and all the
|
Invoke this function after \fIcurl_easy_init(3)\fP and all the
|
||||||
\fIcurl_easy_setopt(3)\fP calls are made, and it performs the transfer as
|
\fIcurl_easy_setopt(3)\fP calls are made, and it performs the transfer as
|
||||||
|
|
|
@ -24,11 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_easy_recv - receives raw data on an "easy" connection
|
curl_easy_recv - receives raw data on an "easy" connection
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/easy.h>
|
.nf
|
||||||
.sp
|
#include <curl/easy.h>
|
||||||
.BI "CURLcode curl_easy_recv( CURL *" curl ", void *" buffer ","
|
|
||||||
.BI "size_t " buflen ", size_t *" n ");"
|
CURLcode curl_easy_recv(CURL *curl, void *buffer, size_t buflen, size_t *n);
|
||||||
.ad
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function receives raw data from the established connection. You may use
|
This function receives raw data from the established connection. You may use
|
||||||
it together with \fIcurl_easy_send(3)\fP to implement custom protocols using
|
it together with \fIcurl_easy_send(3)\fP to implement custom protocols using
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_easy_reset - reset all options of a libcurl session handle
|
curl_easy_reset - reset all options of a libcurl session handle
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
|
#include <curl/curl.h>
|
||||||
.BI "void curl_easy_reset(CURL *"handle ");"
|
|
||||||
|
|
||||||
|
void curl_easy_reset(CURL *handle);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Re-initializes all options previously set on a specified CURL handle to the
|
Re-initializes all options previously set on a specified CURL handle to the
|
||||||
default values. This puts back the handle to the same state as it was in when
|
default values. This puts back the handle to the same state as it was in when
|
||||||
|
|
|
@ -24,11 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_easy_send - sends raw data over an "easy" connection
|
curl_easy_send - sends raw data over an "easy" connection
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/easy.h>
|
.nf
|
||||||
.sp
|
#include <curl/easy.h>
|
||||||
.BI "CURLcode curl_easy_send( CURL *" curl ", const void *" buffer ","
|
|
||||||
.BI " size_t " buflen ", size_t *" n ");"
|
CURLcode curl_easy_send(CURL *curl, const void *buffer,
|
||||||
.ad
|
size_t buflen, size_t *n);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function sends arbitrary data over the established connection. You may
|
This function sends arbitrary data over the established connection. You may
|
||||||
use it together with \fIcurl_easy_recv(3)\fP to implement custom protocols
|
use it together with \fIcurl_easy_recv(3)\fP to implement custom protocols
|
||||||
|
|
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_easy_setopt \- set options for a curl easy handle
|
curl_easy_setopt \- set options for a curl easy handle
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_setopt(CURL *handle, CURLoption option, parameter);
|
CURLcode curl_easy_setopt(CURL *handle, CURLoption option, parameter);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fIcurl_easy_setopt(3)\fP is used to tell libcurl how to behave. By setting
|
\fIcurl_easy_setopt(3)\fP is used to tell libcurl how to behave. By setting
|
||||||
the appropriate options, the application can change libcurl's behavior. All
|
the appropriate options, the application can change libcurl's behavior. All
|
||||||
|
|
|
@ -23,9 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_easy_strerror - return string describing error code
|
curl_easy_strerror - return string describing error code
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
const char *curl_easy_strerror(CURLcode errornum);
|
const char *curl_easy_strerror(CURLcode errornum);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The \fIcurl_easy_strerror(3)\fP function returns a string describing the
|
The \fIcurl_easy_strerror(3)\fP function returns a string describing the
|
||||||
CURLcode error code passed in the argument \fIerrornum\fP.
|
CURLcode error code passed in the argument \fIerrornum\fP.
|
||||||
|
|
|
@ -24,11 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_easy_unescape - URL decodes the given string
|
curl_easy_unescape - URL decodes the given string
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "char *curl_easy_unescape( CURL *" curl ", const char *" url
|
|
||||||
.BI ", int "inlength ", int *" outlength " );"
|
char *curl_easy_unescape(CURL *curl, const char *url,
|
||||||
.ad
|
int inlength, int *outlength);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function converts the given URL encoded input string to a "plain string"
|
This function converts the given URL encoded input string to a "plain string"
|
||||||
and returns that in an allocated memory area. All input characters that are
|
and returns that in an allocated memory area. All input characters that are
|
||||||
|
|
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_easy_upkeep - Perform any connection upkeep checks.
|
curl_easy_upkeep - Perform any connection upkeep checks.
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
|
#include <curl/curl.h>
|
||||||
|
|
||||||
.BI "CURLcode curl_easy_upkeep(CURL *" handle ");"
|
CURLcode curl_easy_upkeep(CURL *handle);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
||||||
Some protocols have "connection upkeep" mechanisms. These mechanisms usually
|
Some protocols have "connection upkeep" mechanisms. These mechanisms usually
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_escape - URL encodes the given string
|
curl_escape - URL encodes the given string
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "char *curl_escape( const char *" url ", int "length " );"
|
|
||||||
.ad
|
char *curl_escape(const char *url, int length);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Obsolete function. Use \fIcurl_easy_escape(3)\fP instead!
|
Obsolete function. Use \fIcurl_easy_escape(3)\fP instead!
|
||||||
|
|
||||||
|
|
|
@ -23,11 +23,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_formadd - add a section to a multipart/formdata HTTP POST
|
curl_formadd - add a section to a multipart/formdata HTTP POST
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "CURLFORMcode curl_formadd(struct curl_httppost ** " firstitem,
|
|
||||||
.BI "struct curl_httppost ** " lastitem, " ...);"
|
CURLFORMcode curl_formadd(struct curl_httppost **firstitem,
|
||||||
.ad
|
struct curl_httppost **lastitem, ...);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function is deprecated. Do not use. See \fIcurl_mime_init(3)\fP instead.
|
This function is deprecated. Do not use. See \fIcurl_mime_init(3)\fP instead.
|
||||||
|
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_formfree - free a previously build multipart/formdata HTTP POST chain
|
curl_formfree - free a previously build multipart/formdata HTTP POST chain
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "void curl_formfree(struct curl_httppost *" form);
|
|
||||||
.ad
|
void curl_formfree(struct curl_httppost *form);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function is deprecated. Do not use. See \fIcurl_mime_init(3)\fP instead!
|
This function is deprecated. Do not use. See \fIcurl_mime_init(3)\fP instead!
|
||||||
|
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_free - reclaim memory that has been obtained through a libcurl call
|
curl_free - reclaim memory that has been obtained through a libcurl call
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "void curl_free( char *" ptr " );"
|
|
||||||
.ad
|
void curl_free(char *ptr);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
curl_free reclaims memory that has been obtained through a libcurl call. Use
|
curl_free reclaims memory that has been obtained through a libcurl call. Use
|
||||||
\fIcurl_free(3)\fP instead of free() to avoid anomalies that can result from
|
\fIcurl_free(3)\fP instead of free() to avoid anomalies that can result from
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_getdate - Convert a date string to number of seconds
|
curl_getdate - Convert a date string to number of seconds
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "time_t curl_getdate(char *" datestring ", time_t *"now " );"
|
|
||||||
.ad
|
time_t curl_getdate(char *datestring, time_t *now);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fIcurl_getdate(3)\fP returns the number of seconds since the Epoch, January
|
\fIcurl_getdate(3)\fP returns the number of seconds since the Epoch, January
|
||||||
1st 1970 00:00:00 in the UTC time zone, for the date and time that the
|
1st 1970 00:00:00 in the UTC time zone, for the date and time that the
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_getenv - return value for environment name
|
curl_getenv - return value for environment name
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "char *curl_getenv(const char *" name ");"
|
|
||||||
.ad
|
char *curl_getenv(const char *name);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
curl_getenv() is a portable wrapper for the getenv() function, meant to
|
curl_getenv() is a portable wrapper for the getenv() function, meant to
|
||||||
emulate its behavior and provide an identical interface for all operating
|
emulate its behavior and provide an identical interface for all operating
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_global_cleanup - global libcurl cleanup
|
curl_global_cleanup - global libcurl cleanup
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "void curl_global_cleanup(void);"
|
|
||||||
.ad
|
void curl_global_cleanup(void);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function releases resources acquired by \fIcurl_global_init(3)\fP.
|
This function releases resources acquired by \fIcurl_global_init(3)\fP.
|
||||||
|
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_global_init - Global libcurl initialisation
|
curl_global_init - Global libcurl initialisation
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "CURLcode curl_global_init(long " flags ");"
|
|
||||||
.ad
|
CURLcode curl_global_init(long flags);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function sets up the program environment that libcurl needs. Think of it
|
This function sets up the program environment that libcurl needs. Think of it
|
||||||
as an extension of the library loader.
|
as an extension of the library loader.
|
||||||
|
|
|
@ -23,14 +23,16 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_global_init_mem - Global libcurl initialisation with memory callbacks
|
curl_global_init_mem - Global libcurl initialisation with memory callbacks
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
|
||||||
.nf
|
.nf
|
||||||
.B "CURLcode curl_global_init_mem(long " flags,
|
#include <curl/curl.h>
|
||||||
.B " curl_malloc_callback "m,
|
|
||||||
.B " curl_free_callback "f,
|
CURLcode curl_global_init_mem(long flags,
|
||||||
.B " curl_realloc_callback "r,
|
curl_malloc_callback m,
|
||||||
.B " curl_strdup_callback "s,
|
curl_free_callback f,
|
||||||
.B " curl_calloc_callback "c ");"
|
curl_realloc_callback r,
|
||||||
|
curl_strdup_callback s,
|
||||||
|
curl_calloc_callback c);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function works exactly as \fIcurl_global_init(3)\fP with one addition: it
|
This function works exactly as \fIcurl_global_init(3)\fP with one addition: it
|
||||||
allows the application to set callbacks to replace the otherwise used internal
|
allows the application to set callbacks to replace the otherwise used internal
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_global_sslset - Select SSL backend to use with libcurl
|
curl_global_sslset - Select SSL backend to use with libcurl
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
|
||||||
.nf
|
.nf
|
||||||
|
#include <curl/curl.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
curl_sslbackend id;
|
curl_sslbackend id;
|
||||||
|
@ -47,9 +47,9 @@ typedef enum {
|
||||||
CURLSSLBACKEND_BEARSSL = 13
|
CURLSSLBACKEND_BEARSSL = 13
|
||||||
} curl_sslbackend;
|
} curl_sslbackend;
|
||||||
|
|
||||||
.B "CURLsslset curl_global_sslset(curl_sslbackend " id,
|
CURLsslset curl_global_sslset(curl_sslbackend id,
|
||||||
.B " const char *" name,
|
const char *name,
|
||||||
.B " curl_ssl_backend ***" avail ");"
|
curl_ssl_backend ***avail);
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function configures at runtime which SSL backend to use with
|
This function configures at runtime which SSL backend to use with
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_mime_addpart - append a new empty part to a mime structure
|
curl_mime_addpart - append a new empty part to a mime structure
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "curl_mimepart * curl_mime_addpart(curl_mime * " mime ");"
|
|
||||||
.ad
|
curl_mimepart *curl_mime_addpart(curl_mime *mime);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fIcurl_mime_addpart(3)\fP creates and appends a new empty part to the given
|
\fIcurl_mime_addpart(3)\fP creates and appends a new empty part to the given
|
||||||
mime structure and returns a handle to it. The returned part handle can
|
mime structure and returns a handle to it. The returned part handle can
|
||||||
|
|
|
@ -23,11 +23,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_mime_data - set a mime part's body data from memory
|
curl_mime_data - set a mime part's body data from memory
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "CURLcode curl_mime_data(curl_mimepart * " part ", const char * " data
|
|
||||||
.BI ", size_t " datasize ");"
|
CURLcode curl_mime_data(curl_mimepart *part, const char *data,
|
||||||
.ad
|
size_t datasize);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fIcurl_mime_data(3)\fP sets a mime part's body content from memory data.
|
\fIcurl_mime_data(3)\fP sets a mime part's body content from memory data.
|
||||||
|
|
||||||
|
|
|
@ -23,20 +23,20 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_mime_data_cb - set a callback-based data source for a mime part's body
|
curl_mime_data_cb - set a callback-based data source for a mime part's body
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
|
|
||||||
size_t readfunc(char *buffer, size_t size, size_t nitems, void *arg);
|
size_t readfunc(char *buffer, size_t size, size_t nitems, void *arg);
|
||||||
.br
|
|
||||||
int seekfunc(void *arg, curl_off_t offset, int origin);
|
int seekfunc(void *arg, curl_off_t offset, int origin);
|
||||||
.br
|
|
||||||
void freefunc(void *arg);
|
void freefunc(void *arg);
|
||||||
.sp
|
|
||||||
.BI "CURLcode curl_mime_data_cb(curl_mimepart * " part ", curl_off_t " datasize ,
|
CURLcode curl_mime_data_cb(curl_mimepart *part, curl_off_t datasize,
|
||||||
.br
|
curl_read_callback readfunc,
|
||||||
.BI " curl_read_callback " readfunc ", curl_seek_callback " seekfunc ,
|
curl_seek_callback seekfunc,
|
||||||
.br
|
curl_free_callback freefunc, void *arg);
|
||||||
.BI " curl_free_callback " freefunc ", void * " arg ");"
|
.fi
|
||||||
.ad
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fIcurl_mime_data_cb(3)\fP sets the data source of a mime part's body content
|
\fIcurl_mime_data_cb(3)\fP sets the data source of a mime part's body content
|
||||||
from a data read callback function.
|
from a data read callback function.
|
||||||
|
|
|
@ -23,11 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_mime_encoder - set a mime part's encoder and content transfer encoding
|
curl_mime_encoder - set a mime part's encoder and content transfer encoding
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "CURLcode curl_mime_encoder(curl_mimepart * " part ,
|
|
||||||
.BI "const char * " encoding ");"
|
CURLcode curl_mime_encoder(curl_mimepart *part, const char *encoding);
|
||||||
.ad
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
curl_mime_encoder() requests a mime part's content to be encoded before being
|
curl_mime_encoder() requests a mime part's content to be encoded before being
|
||||||
transmitted.
|
transmitted.
|
||||||
|
|
|
@ -23,11 +23,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_mime_filedata - set a mime part's body data from a file contents
|
curl_mime_filedata - set a mime part's body data from a file contents
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "CURLcode curl_mime_filedata(curl_mimepart * " part ,
|
|
||||||
.BI " const char * " filename ");"
|
CURLcode curl_mime_filedata(curl_mimepart *part,
|
||||||
.ad
|
const char *filename);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fIcurl_mime_filedata(3)\fP sets a mime part's body content from the named
|
\fIcurl_mime_filedata(3)\fP sets a mime part's body content from the named
|
||||||
file's contents. This is an alternative to \fIcurl_mime_data(3)\fP for setting
|
file's contents. This is an alternative to \fIcurl_mime_data(3)\fP for setting
|
||||||
|
|
|
@ -23,11 +23,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_mime_filename - set a mime part's remote file name
|
curl_mime_filename - set a mime part's remote file name
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "CURLcode curl_mime_filename(curl_mimepart * " part ,
|
|
||||||
.BI "const char * " filename ");"
|
CURLcode curl_mime_filename(curl_mimepart *part,
|
||||||
.ad
|
const char *filename);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fIcurl_mime_filename(3)\fP sets a mime part's remote file name. When remote
|
\fIcurl_mime_filename(3)\fP sets a mime part's remote file name. When remote
|
||||||
file name is set, content data is processed as a file, whatever is the part's
|
file name is set, content data is processed as a file, whatever is the part's
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_mime_free - free a previously built mime structure
|
curl_mime_free - free a previously built mime structure
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "void curl_mime_free(curl_mime *" mime);
|
|
||||||
.ad
|
void curl_mime_free(curl_mime *mime);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fIcurl_mime_free(3)\fP is used to clean up data previously built/appended
|
\fIcurl_mime_free(3)\fP is used to clean up data previously built/appended
|
||||||
with \fIcurl_mime_addpart(3)\fP and other mime-handling functions. This must
|
with \fIcurl_mime_addpart(3)\fP and other mime-handling functions. This must
|
||||||
|
|
|
@ -23,11 +23,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_mime_headers - set a mime part's custom headers
|
curl_mime_headers - set a mime part's custom headers
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "CURLcode curl_mime_headers(curl_mimepart * " part ,
|
|
||||||
.BI "struct curl_slist * " headers ", int " take_ownership ");"
|
CURLcode curl_mime_headers(curl_mimepart *part,
|
||||||
.ad
|
struct curl_slist *headers, int take_ownership);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fIcurl_mime_headers(3)\fP sets a mime part's custom headers.
|
\fIcurl_mime_headers(3)\fP sets a mime part's custom headers.
|
||||||
|
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_mime_name - set a mime part's name
|
curl_mime_name - set a mime part's name
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "CURLcode curl_mime_name(curl_mimepart * " part ", const char * " name ");"
|
|
||||||
.ad
|
CURLcode curl_mime_name(curl_mimepart *part, const char *name);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fIcurl_mime_name(3)\fP sets a mime part's name. This is the way HTTP form
|
\fIcurl_mime_name(3)\fP sets a mime part's name. This is the way HTTP form
|
||||||
fields are named.
|
fields are named.
|
||||||
|
|
|
@ -23,11 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_mime_subparts - set subparts of a multipart mime part
|
curl_mime_subparts - set subparts of a multipart mime part
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "CURLcode curl_mime_subparts(curl_mimepart * " part ,
|
|
||||||
.BI "curl_mime * " subparts ");"
|
CURLcode curl_mime_subparts(curl_mimepart *part, curl_mime *subparts);
|
||||||
.ad
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fIcurl_mime_subparts(3)\fP sets a multipart mime part's content from a mime
|
\fIcurl_mime_subparts(3)\fP sets a multipart mime part's content from a mime
|
||||||
structure.
|
structure.
|
||||||
|
|
|
@ -23,11 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_mime_type - set a mime part's content type
|
curl_mime_type - set a mime part's content type
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "CURLcode curl_mime_type(curl_mimepart * " part ,
|
|
||||||
.BI "const char * " mimetype ");"
|
CURLcode curl_mime_type(curl_mimepart *part, const char *mimetype);
|
||||||
.ad
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fIcurl_mime_type(3)\fP sets a mime part's content type.
|
\fIcurl_mime_type(3)\fP sets a mime part's content type.
|
||||||
|
|
||||||
|
|
|
@ -25,27 +25,21 @@ curl_maprintf, curl_mfprintf, curl_mprintf, curl_msnprintf, curl_msprintf
|
||||||
curl_mvaprintf, curl_mvfprintf, curl_mvprintf, curl_mvsnprintf,
|
curl_mvaprintf, curl_mvfprintf, curl_mvprintf, curl_mvsnprintf,
|
||||||
curl_mvsprintf - formatted output conversion
|
curl_mvsprintf - formatted output conversion
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/mprintf.h>
|
.nf
|
||||||
.sp
|
#include <curl/mprintf.h>
|
||||||
.BI "int curl_mprintf(const char *" format ", ...);"
|
|
||||||
.br
|
int curl_mprintf(const char *format, ...);
|
||||||
.BI "int curl_mfprintf(FILE *" fd ", const char *" format ", ...);"
|
int curl_mfprintf(FILE *fd, const char *format, ...);
|
||||||
.br
|
int curl_msprintf(char *buffer, const char *format, ...);
|
||||||
.BI "int curl_msprintf(char *" buffer ", const char *" format ", ...);"
|
int curl_msnprintf(char *buffer, size_t maxlength, const char *format, ...);
|
||||||
.br
|
int curl_mvprintf(const char *format, va_list args);
|
||||||
.BI "int curl_msnprintf(char *" buffer ", size_t " maxlength ", const char *" format ", ...);"
|
int curl_mvfprintf(FILE *fd, const char *format, va_list args);
|
||||||
.br
|
int curl_mvsprintf(char *buffer, const char *format, va_list args);
|
||||||
.BI "int curl_mvprintf(const char *" format ", va_list " args ");"
|
int curl_mvsnprintf(char *buffer, size_t maxlength, const char *format,
|
||||||
.br
|
va_list args);
|
||||||
.BI "int curl_mvfprintf(FILE *" fd ", const char *" format ", va_list " args ");"
|
char *curl_maprintf(const char *format , ...);
|
||||||
.br
|
char *curl_mvaprintf(const char *format, va_list args);
|
||||||
.BI "int curl_mvsprintf(char *" buffer ", const char *" format ", va_list " args ");"
|
.fi
|
||||||
.br
|
|
||||||
.BI "int curl_mvsnprintf(char *" buffer ", size_t " maxlength ", const char *" format ", va_list " args ");"
|
|
||||||
.br
|
|
||||||
.BI "char *curl_maprintf(const char *" format ", ...);"
|
|
||||||
.br
|
|
||||||
.BI "char *curl_mvaprintf(const char *" format ", va_list " args ");"
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
These functions produce output according to the format string and given
|
These functions produce output according to the format string and given
|
||||||
arguments. They are mostly clones of the well-known C-style functions but
|
arguments. They are mostly clones of the well-known C-style functions but
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_multi_add_handle - add an easy handle to a multi session
|
curl_multi_add_handle - add an easy handle to a multi session
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLMcode curl_multi_add_handle(CURLM *multi_handle, CURL *easy_handle);
|
CURLMcode curl_multi_add_handle(CURLM *multi_handle, CURL *easy_handle);
|
||||||
.ad
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Adds a standard easy handle to the multi stack. This function call will make
|
Adds a standard easy handle to the multi stack. This function call will make
|
||||||
this \fImulti_handle\fP control the specified \fIeasy_handle\fP.
|
this \fImulti_handle\fP control the specified \fIeasy_handle\fP.
|
||||||
|
|
|
@ -23,10 +23,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_multi_assign \- set data to associate with an internal socket
|
curl_multi_assign \- set data to associate with an internal socket
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLMcode curl_multi_assign(CURLM *multi_handle, curl_socket_t sockfd,
|
CURLMcode curl_multi_assign(CURLM *multi_handle, curl_socket_t sockfd,
|
||||||
void *sockptr);
|
void *sockptr);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function creates an association in the multi handle between the given
|
This function creates an association in the multi handle between the given
|
||||||
socket and a private pointer of the application. This is designed for
|
socket and a private pointer of the application. This is designed for
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_multi_cleanup - close down a multi session
|
curl_multi_cleanup - close down a multi session
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "CURLMcode curl_multi_cleanup( CURLM *multi_handle );"
|
|
||||||
.ad
|
CURLMcode curl_multi_cleanup(CURLM *multi_handle);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Cleans up and removes a whole multi stack. It does not free or touch any
|
Cleans up and removes a whole multi stack. It does not free or touch any
|
||||||
individual easy handles in any way - they still need to be closed
|
individual easy handles in any way - they still need to be closed
|
||||||
|
|
|
@ -23,11 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_multi_info_read - read multi stack informationals
|
curl_multi_info_read - read multi stack informationals
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLMsg *curl_multi_info_read( CURLM *multi_handle,
|
CURLMsg *curl_multi_info_read(CURLM *multi_handle, int *msgs_in_queue);
|
||||||
int *msgs_in_queue);
|
.fi
|
||||||
.ad
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Ask the multi handle if there are any messages/informationals from the
|
Ask the multi handle if there are any messages/informationals from the
|
||||||
individual transfers. Messages may include informationals such as an error
|
individual transfers. Messages may include informationals such as an error
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_multi_init - create a multi handle
|
curl_multi_init - create a multi handle
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "CURLM *curl_multi_init( );"
|
|
||||||
.ad
|
CURLM *curl_multi_init();
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function returns a CURLM handle to be used as input to all the other
|
This function returns a CURLM handle to be used as input to all the other
|
||||||
multi-functions, sometimes referred to as a multi handle in some places in the
|
multi-functions, sometimes referred to as a multi handle in some places in the
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_multi_perform - reads/writes available data from each easy handle
|
curl_multi_perform - reads/writes available data from each easy handle
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles);
|
CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles);
|
||||||
.ad
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function performs transfers on all the added handles that need attention
|
This function performs transfers on all the added handles that need attention
|
||||||
in an non-blocking fashion. The easy handles have previously been added to the
|
in an non-blocking fashion. The easy handles have previously been added to the
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_multi_remove_handle - remove an easy handle from a multi session
|
curl_multi_remove_handle - remove an easy handle from a multi session
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLMcode curl_multi_remove_handle(CURLM *multi_handle, CURL *easy_handle);
|
CURLMcode curl_multi_remove_handle(CURLM *multi_handle, CURL *easy_handle);
|
||||||
.ad
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Removes a given \fIeasy_handle\fP from the \fImulti_handle\fP. This will make
|
Removes a given \fIeasy_handle\fP from the \fImulti_handle\fP. This will make
|
||||||
the specified easy handle be removed from this multi handle's control.
|
the specified easy handle be removed from this multi handle's control.
|
||||||
|
|
|
@ -23,9 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_multi_setopt \- set options for a curl multi handle
|
curl_multi_setopt \- set options for a curl multi handle
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLMcode curl_multi_setopt(CURLM *multi_handle, CURLMoption option, param);
|
CURLMcode curl_multi_setopt(CURLM *multi_handle, CURLMoption option, param);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fIcurl_multi_setopt(3)\fP is used to tell a libcurl multi handle how to
|
\fIcurl_multi_setopt(3)\fP is used to tell a libcurl multi handle how to
|
||||||
behave. By using the appropriate options to \fIcurl_multi_setopt(3)\fP, you
|
behave. By using the appropriate options to \fIcurl_multi_setopt(3)\fP, you
|
||||||
|
|
|
@ -23,9 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_multi_timeout \- how long to wait for action before proceeding
|
curl_multi_timeout \- how long to wait for action before proceeding
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLMcode curl_multi_timeout(CURLM *multi_handle, long *timeout);
|
CURLMcode curl_multi_timeout(CURLM *multi_handle, long *timeout);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
||||||
An application using the libcurl multi interface should call
|
An application using the libcurl multi interface should call
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_multi_wakeup - wakes up a sleeping curl_multi_poll call
|
curl_multi_wakeup - wakes up a sleeping curl_multi_poll call
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLMcode curl_multi_wakeup(CURLM *multi_handle);
|
CURLMcode curl_multi_wakeup(CURLM *multi_handle);
|
||||||
.ad
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function can be called from any thread and it wakes up a
|
This function can be called from any thread and it wakes up a
|
||||||
sleeping \fIcurl_multi_poll(3)\fP call that is currently (or will be)
|
sleeping \fIcurl_multi_poll(3)\fP call that is currently (or will be)
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_share_cleanup - Clean up a shared object
|
curl_share_cleanup - Clean up a shared object
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "CURLSHcode curl_share_cleanup(CURLSH *" share_handle ");"
|
|
||||||
.ad
|
CURLSHcode curl_share_cleanup(CURLSH *share_handle);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function deletes a shared object. The share handle cannot be used anymore
|
This function deletes a shared object. The share handle cannot be used anymore
|
||||||
when this function has been called.
|
when this function has been called.
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_share_init - Create a shared object
|
curl_share_init - Create a shared object
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "CURLSH *curl_share_init( );"
|
|
||||||
.ad
|
CURLSH *curl_share_init();
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function returns a CURLSH handle to be used as input to all the other
|
This function returns a CURLSH handle to be used as input to all the other
|
||||||
share-functions, sometimes referred to as a share handle in some places in the
|
share-functions, sometimes referred to as a share handle in some places in the
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_share_setopt - Set options for a shared object
|
curl_share_setopt - Set options for a shared object
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLSHcode curl_share_setopt(CURLSH *share, CURLSHoption option, parameter);
|
CURLSHcode curl_share_setopt(CURLSH *share, CURLSHoption option, parameter);
|
||||||
.ad
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Set the \fIoption\fP to \fIparameter\fP for the given \fIshare\fP.
|
Set the \fIoption\fP to \fIparameter\fP for the given \fIshare\fP.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
|
|
|
@ -23,11 +23,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_slist_append - add a string to an slist
|
curl_slist_append - add a string to an slist
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "struct curl_slist *curl_slist_append(struct curl_slist *" list,
|
|
||||||
.BI "const char * "string ");"
|
struct curl_slist *curl_slist_append(struct curl_slist *list,
|
||||||
.ad
|
const char *string);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fIcurl_slist_append(3)\fP appends a string to a linked list of strings. The
|
\fIcurl_slist_append(3)\fP appends a string to a linked list of strings. The
|
||||||
existing \fBlist\fP should be passed as the first argument and the new list is
|
existing \fBlist\fP should be passed as the first argument and the new list is
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_slist_free_all - free an entire curl_slist list
|
curl_slist_free_all - free an entire curl_slist list
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "void curl_slist_free_all(struct curl_slist *" list);
|
|
||||||
.ad
|
void curl_slist_free_all(struct curl_slist *list);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
curl_slist_free_all() removes all traces of a previously built curl_slist
|
curl_slist_free_all() removes all traces of a previously built curl_slist
|
||||||
linked list.
|
linked list.
|
||||||
|
|
|
@ -23,11 +23,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_strequal, curl_strnequal - case insensitive string comparisons
|
curl_strequal, curl_strnequal - case insensitive string comparisons
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "int curl_strequal(char *" str1 ", char *" str2 ");"
|
|
||||||
.sp
|
int curl_strequal(char *str1, char *str2);
|
||||||
.BI "int curl_strnequal(char *" str1 ", char *" str2 ", size_t " len ");"
|
int curl_strnequal(char *str1, char *str2, size_t length);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.B curl_strequal()
|
.B curl_strequal()
|
||||||
|
@ -36,7 +37,7 @@ of the characters. It returns a non-zero (TRUE) integer if the strings are
|
||||||
identical.
|
identical.
|
||||||
.sp
|
.sp
|
||||||
The \fBcurl_strnequal()\fP function is similar, except it only compares the
|
The \fBcurl_strnequal()\fP function is similar, except it only compares the
|
||||||
first \fIlen\fP characters of \fIstr1\fP.
|
first \fIlenght\fP characters of \fIstr1\fP.
|
||||||
.sp
|
.sp
|
||||||
These functions are provided by libcurl to enable applications to compare
|
These functions are provided by libcurl to enable applications to compare
|
||||||
strings in a truly portable manner. There are no standard portable case
|
strings in a truly portable manner. There are no standard portable case
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_unescape - URL decodes the given string
|
curl_unescape - URL decodes the given string
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "char *curl_unescape( const char *" url ", int "length " );"
|
|
||||||
.ad
|
char *curl_unescape( const char *url, int length);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Obsolete function. Use \fIcurl_easy_unescape(3)\fP instead!
|
Obsolete function. Use \fIcurl_easy_unescape(3)\fP instead!
|
||||||
|
|
||||||
|
|
|
@ -23,9 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_url - returns a new CURLU handle
|
curl_url - returns a new CURLU handle
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLU *curl_url();
|
CURLU *curl_url();
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function will allocates and returns a pointer to a fresh CURLU handle, to
|
This function will allocates and returns a pointer to a fresh CURLU handle, to
|
||||||
be used for further use of the URL API.
|
be used for further use of the URL API.
|
||||||
|
|
|
@ -23,7 +23,8 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_url_cleanup - free a CURLU handle
|
curl_url_cleanup - free a CURLU handle
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
|
#include <curl/curl.h>
|
||||||
|
|
||||||
void curl_url_cleanup(CURLU *handle);
|
void curl_url_cleanup(CURLU *handle);
|
||||||
.fi
|
.fi
|
||||||
|
|
|
@ -23,7 +23,8 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_url_dup - duplicate a CURLU handle
|
curl_url_dup - duplicate a CURLU handle
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLU *curl_url_dup(CURLU *inhandle);
|
CURLU *curl_url_dup(CURLU *inhandle);
|
||||||
.fi
|
.fi
|
||||||
|
|
|
@ -23,9 +23,9 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_url_get - extract a part from a URL
|
curl_url_get - extract a part from a URL
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLUcode curl_url_get(CURLU *url,
|
CURLUcode curl_url_get(CURLU *url,
|
||||||
CURLUPart what,
|
CURLUPart what,
|
||||||
char **part,
|
char **part,
|
||||||
|
|
|
@ -23,7 +23,8 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_url_set - set a URL part
|
curl_url_set - set a URL part
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLUcode curl_url_set(CURLU *url,
|
CURLUcode curl_url_set(CURLU *url,
|
||||||
CURLUPart part,
|
CURLUPart part,
|
||||||
|
|
|
@ -23,10 +23,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_version - returns the libcurl version string
|
curl_version - returns the libcurl version string
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "char *curl_version( );"
|
|
||||||
.ad
|
char *curl_version();
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Returns a human readable string with the version number of libcurl and some of
|
Returns a human readable string with the version number of libcurl and some of
|
||||||
its important components (like OpenSSL version).
|
its important components (like OpenSSL version).
|
||||||
|
|
|
@ -24,10 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_version_info - returns run-time libcurl version info
|
curl_version_info - returns run-time libcurl version info
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/curl.h>
|
.nf
|
||||||
.sp
|
#include <curl/curl.h>
|
||||||
.BI "curl_version_info_data *curl_version_info( CURLversion "age ");"
|
|
||||||
.ad
|
curl_version_info_data *curl_version_info( CURLversion age);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Returns a pointer to a filled in static struct with information about various
|
Returns a pointer to a filled in static struct with information about various
|
||||||
features in the running version of libcurl. \fIage\fP should be set to the
|
features in the running version of libcurl. \fIage\fP should be set to the
|
||||||
|
@ -36,9 +37,9 @@ libcurl will always return a proper struct that your program understands,
|
||||||
while programs in the future might get a different
|
while programs in the future might get a different
|
||||||
struct. \fBCURLVERSION_NOW\fP will be the most recent one for the library you
|
struct. \fBCURLVERSION_NOW\fP will be the most recent one for the library you
|
||||||
have installed:
|
have installed:
|
||||||
|
.nf
|
||||||
data = curl_version_info(CURLVERSION_NOW);
|
data = curl_version_info(CURLVERSION_NOW);
|
||||||
|
.fi
|
||||||
Applications should use this information to judge if things are possible to do
|
Applications should use this information to judge if things are possible to do
|
||||||
or not, instead of using compile-time checks, as dynamic/DLL libraries can be
|
or not, instead of using compile-time checks, as dynamic/DLL libraries can be
|
||||||
changed independent of applications.
|
changed independent of applications.
|
||||||
|
@ -56,7 +57,7 @@ typedef struct {
|
||||||
char *ssl_version; /* human readable string */
|
char *ssl_version; /* human readable string */
|
||||||
long ssl_version_num; /* not used, always zero */
|
long ssl_version_num; /* not used, always zero */
|
||||||
const char *libz_version; /* human readable string */
|
const char *libz_version; /* human readable string */
|
||||||
const char * const *protocols; /* protocols */
|
const char *const *protocols; /* protocols */
|
||||||
|
|
||||||
/* when 'age' is CURLVERSION_SECOND or higher, the members below exist */
|
/* when 'age' is CURLVERSION_SECOND or higher, the members below exist */
|
||||||
const char *ares; /* human readable string */
|
const char *ares; /* human readable string */
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,10 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_ACTIVESOCKET \- get the active socket
|
CURLINFO_ACTIVESOCKET \- get the active socket
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_ACTIVESOCKET,
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_ACTIVESOCKET,
|
||||||
curl_socket_t *socket);
|
curl_socket_t *socket);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a curl_socket_t to receive the most recently active socket
|
Pass a pointer to a curl_socket_t to receive the most recently active socket
|
||||||
used for the transfer connection by this curl session. If the socket is no
|
used for the transfer connection by this curl session. If the socket is no
|
||||||
|
|
|
@ -24,9 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_APPCONNECT_TIME \- get the time until the SSL/SSH handshake is completed
|
CURLINFO_APPCONNECT_TIME \- get the time until the SSL/SSH handshake is completed
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_APPCONNECT_TIME, double *timep);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_APPCONNECT_TIME,
|
||||||
|
double *timep);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a double to receive the time, in seconds, it took from the
|
Pass a pointer to a double to receive the time, in seconds, it took from the
|
||||||
start until the SSL/SSH connect/handshake to the remote host was completed.
|
start until the SSL/SSH connect/handshake to the remote host was completed.
|
||||||
|
|
|
@ -24,9 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_APPCONNECT_TIME_T \- get the time until the SSL/SSH handshake is completed
|
CURLINFO_APPCONNECT_TIME_T \- get the time until the SSL/SSH handshake is completed
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_APPCONNECT_TIME_T, curl_off_t *timep);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_APPCONNECT_TIME_T,
|
||||||
|
curl_off_t *timep);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a curl_off_t to receive the time, in microseconds, it took
|
Pass a pointer to a curl_off_t to receive the time, in microseconds, it took
|
||||||
from the start until the SSL/SSH connect/handshake to the remote host was
|
from the start until the SSL/SSH connect/handshake to the remote host was
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,10 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_CERTINFO \- get the TLS certificate chain
|
CURLINFO_CERTINFO \- get the TLS certificate chain
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CERTINFO,
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CERTINFO,
|
||||||
struct curl_certinfo **chainp);
|
struct curl_certinfo **chainp);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a 'struct curl_certinfo *' and you will get it set to point to
|
Pass a pointer to a 'struct curl_certinfo *' and you will get it set to point to
|
||||||
a struct that holds a number of linked lists with info about the certificate
|
a struct that holds a number of linked lists with info about the certificate
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_CONDITION_UNMET \- get info on unmet time conditional or 304 HTTP response.
|
CURLINFO_CONDITION_UNMET \- get info on unmet time conditional or 304 HTTP response.
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONDITION_UNMET, long *unmet);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONDITION_UNMET,
|
||||||
|
long *unmet);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a long to receive the number 1 if the condition provided in
|
Pass a pointer to a long to receive the number 1 if the condition provided in
|
||||||
the previous request did not match (see \fICURLOPT_TIMECONDITION(3)\fP). Alas,
|
the previous request did not match (see \fICURLOPT_TIMECONDITION(3)\fP). Alas,
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_CONNECT_TIME \- get the time until connect
|
CURLINFO_CONNECT_TIME \- get the time until connect
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONNECT_TIME, double *timep);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONNECT_TIME, double *timep);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a double to receive the total time in seconds from the start
|
Pass a pointer to a double to receive the total time in seconds from the start
|
||||||
until the connection to the remote host (or proxy) was completed.
|
until the connection to the remote host (or proxy) was completed.
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 2018 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 2018 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,12 +24,15 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_CONNECT_TIME_T \- get the time until connect
|
CURLINFO_CONNECT_TIME_T \- get the time until connect
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONNECT_TIME_T, curl_off_t *timep);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONNECT_TIME_T,
|
||||||
|
curl_off_t *timep);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a curl_off_t to receive the total time in microseconds
|
Pass a pointer to a curl_off_t to receive the total time in microseconds from
|
||||||
from the start until the connection to the remote host (or proxy) was completed.
|
the start until the connection to the remote host (or proxy) was completed.
|
||||||
|
|
||||||
When a redirect is followed, the time from each request is added together.
|
When a redirect is followed, the time from each request is added together.
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,10 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_CONTENT_LENGTH_DOWNLOAD \- get content-length of download
|
CURLINFO_CONTENT_LENGTH_DOWNLOAD \- get content-length of download
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONTENT_LENGTH_DOWNLOAD,
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONTENT_LENGTH_DOWNLOAD,
|
||||||
double *content_length);
|
double *content_length);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a double to receive the content-length of the download. This
|
Pass a pointer to a double to receive the content-length of the download. This
|
||||||
is the value read from the Content-Length: field. Since 7.19.4, this returns
|
is the value read from the Content-Length: field. Since 7.19.4, this returns
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,10 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_CONTENT_LENGTH_DOWNLOAD_T \- get content-length of download
|
CURLINFO_CONTENT_LENGTH_DOWNLOAD_T \- get content-length of download
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONTENT_LENGTH_DOWNLOAD_T,
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONTENT_LENGTH_DOWNLOAD_T,
|
||||||
curl_off_t *content_length);
|
curl_off_t *content_length);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a \fIcurl_off_t\fP to receive the content-length of the
|
Pass a pointer to a \fIcurl_off_t\fP to receive the content-length of the
|
||||||
download. This is the value read from the Content-Length: field. Stores -1 if
|
download. This is the value read from the Content-Length: field. Stores -1 if
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,10 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_CONTENT_LENGTH_UPLOAD \- get the specified size of the upload
|
CURLINFO_CONTENT_LENGTH_UPLOAD \- get the specified size of the upload
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONTENT_LENGTH_UPLOAD,
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONTENT_LENGTH_UPLOAD,
|
||||||
double *content_length);
|
double *content_length);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a double to receive the specified size of the upload. Since
|
Pass a pointer to a double to receive the specified size of the upload. Since
|
||||||
7.19.4, this returns -1 if the size is not known.
|
7.19.4, this returns -1 if the size is not known.
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,10 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_CONTENT_LENGTH_UPLOAD_T \- get the specified size of the upload
|
CURLINFO_CONTENT_LENGTH_UPLOAD_T \- get the specified size of the upload
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONTENT_LENGTH_UPLOAD_T,
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONTENT_LENGTH_UPLOAD_T,
|
||||||
curl_off_t *content_length);
|
curl_off_t *content_length);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a \fIcurl_off_t\fP to receive the specified size of the
|
Pass a pointer to a \fIcurl_off_t\fP to receive the specified size of the
|
||||||
upload. Stores -1 if the size is not known.
|
upload. Stores -1 if the size is not known.
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_CONTENT_TYPE \- get Content-Type
|
CURLINFO_CONTENT_TYPE \- get Content-Type
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONTENT_TYPE, char **ct);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONTENT_TYPE, char **ct);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a char pointer to receive the content-type of the downloaded
|
Pass a pointer to a char pointer to receive the content-type of the downloaded
|
||||||
object. This is the value read from the Content-Type: field. If you get NULL,
|
object. This is the value read from the Content-Type: field. If you get NULL,
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,10 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_COOKIELIST \- get all known cookies
|
CURLINFO_COOKIELIST \- get all known cookies
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_COOKIELIST,
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_COOKIELIST,
|
||||||
struct curl_slist **cookies);
|
struct curl_slist **cookies);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a 'struct curl_slist *' to receive a linked-list of all
|
Pass a pointer to a 'struct curl_slist *' to receive a linked-list of all
|
||||||
cookies curl knows (expired ones, too). do not forget to call
|
cookies curl knows (expired ones, too). do not forget to call
|
||||||
|
|
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_EFFECTIVE_URL \- get the last used URL
|
CURLINFO_EFFECTIVE_URL \- get the last used URL
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_EFFECTIVE_URL, char **urlp);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_EFFECTIVE_URL, char **urlp);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass in a pointer to a char pointer and get the last used effective URL.
|
Pass in a pointer to a char pointer and get the last used effective URL.
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_FILETIME \- get the remote time of the retrieved document
|
CURLINFO_FILETIME \- get the remote time of the retrieved document
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_FILETIME, long *timep);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_FILETIME, long *timep);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a long to receive the remote time of the retrieved document
|
Pass a pointer to a long to receive the remote time of the retrieved document
|
||||||
(in number of seconds since 1 jan 1970 in the GMT/UTC time zone). If you get
|
(in number of seconds since 1 jan 1970 in the GMT/UTC time zone). If you get
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_FILETIME_T \- get the remote time of the retrieved document
|
CURLINFO_FILETIME_T \- get the remote time of the retrieved document
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_FILETIME_T, curl_off_t *timep);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_FILETIME_T,
|
||||||
|
curl_off_t *timep);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a curl_off_t to receive the remote time of the retrieved
|
Pass a pointer to a curl_off_t to receive the remote time of the retrieved
|
||||||
document (in number of seconds since 1 jan 1970 in the GMT/UTC time zone). If
|
document (in number of seconds since 1 jan 1970 in the GMT/UTC time zone). If
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_FTP_ENTRY_PATH \- get entry path in FTP server
|
CURLINFO_FTP_ENTRY_PATH \- get entry path in FTP server
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_FTP_ENTRY_PATH, char **path);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_FTP_ENTRY_PATH, char **path);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a char pointer to receive a pointer to a string holding the
|
Pass a pointer to a char pointer to receive a pointer to a string holding the
|
||||||
path of the entry path. That is the initial path libcurl ended up in when
|
path of the entry path. That is the initial path libcurl ended up in when
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_HEADER_SIZE \- get size of retrieved headers
|
CURLINFO_HEADER_SIZE \- get size of retrieved headers
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_HEADER_SIZE, long *sizep);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_HEADER_SIZE, long *sizep);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a long to receive the total size of all the headers
|
Pass a pointer to a long to receive the total size of all the headers
|
||||||
received. Measured in number of bytes.
|
received. Measured in number of bytes.
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_HTTPAUTH_AVAIL \- get available HTTP authentication methods
|
CURLINFO_HTTPAUTH_AVAIL \- get available HTTP authentication methods
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_HTTPAUTH_AVAIL, long *authp);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_HTTPAUTH_AVAIL, long *authp);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a long to receive a bitmask indicating the authentication
|
Pass a pointer to a long to receive a bitmask indicating the authentication
|
||||||
method(s) available according to the previous response. The meaning of the
|
method(s) available according to the previous response. The meaning of the
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_HTTP_CONNECTCODE \- get the CONNECT response code
|
CURLINFO_HTTP_CONNECTCODE \- get the CONNECT response code
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_HTTP_CONNECTCODE, long *p);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_HTTP_CONNECTCODE, long *p);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a long to receive the last received HTTP proxy response code
|
Pass a pointer to a long to receive the last received HTTP proxy response code
|
||||||
to a CONNECT request. The returned value will be zero if no such response code
|
to a CONNECT request. The returned value will be zero if no such response code
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_HTTP_VERSION \- get the http version used in the connection
|
CURLINFO_HTTP_VERSION \- get the http version used in the connection
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_HTTP_VERSION, long *p);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_HTTP_VERSION, long *p);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a long to receive the version used in the last http
|
Pass a pointer to a long to receive the version used in the last http
|
||||||
connection. The returned value will be CURL_HTTP_VERSION_1_0,
|
connection. The returned value will be CURL_HTTP_VERSION_1_0,
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_LASTSOCKET \- get the last socket used
|
CURLINFO_LASTSOCKET \- get the last socket used
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_LASTSOCKET, long *socket);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_LASTSOCKET, long *socket);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Deprecated since 7.45.0. Use \fICURLINFO_ACTIVESOCKET(3)\fP instead.
|
Deprecated since 7.45.0. Use \fICURLINFO_ACTIVESOCKET(3)\fP instead.
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_LOCAL_IP \- get local IP address of last connection
|
CURLINFO_LOCAL_IP \- get local IP address of last connection
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_LOCAL_IP, char **ip);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_LOCAL_IP, char **ip);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a char pointer to receive the pointer to a null-terminated
|
Pass a pointer to a char pointer to receive the pointer to a null-terminated
|
||||||
string holding the IP address of the local end of most recent connection done
|
string holding the IP address of the local end of most recent connection done
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2015, 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_LOCAL_PORT \- get the latest local port number
|
CURLINFO_LOCAL_PORT \- get the latest local port number
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_LOCAL_PORT, long *portp);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_LOCAL_PORT, long *portp);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a long to receive the local port number of the most recent
|
Pass a pointer to a long to receive the local port number of the most recent
|
||||||
connection done with this \fBcurl\fP handle.
|
connection done with this \fBcurl\fP handle.
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_NAMELOOKUP_TIME \- get the name lookup time
|
CURLINFO_NAMELOOKUP_TIME \- get the name lookup time
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_NAMELOOKUP_TIME, double *timep);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_NAMELOOKUP_TIME,
|
||||||
|
double *timep);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a double to receive the total time in seconds from the start
|
Pass a pointer to a double to receive the total time in seconds from the start
|
||||||
until the name resolving was completed.
|
until the name resolving was completed.
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 2018 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 2018 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_NAMELOOKUP_TIME_T \- get the name lookup time in microseconds
|
CURLINFO_NAMELOOKUP_TIME_T \- get the name lookup time in microseconds
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_NAMELOOKUP_TIME_T, curl_off_t *timep);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_NAMELOOKUP_TIME_T,
|
||||||
|
curl_off_t *timep);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a curl_off_t to receive the total time in microseconds
|
Pass a pointer to a curl_off_t to receive the total time in microseconds
|
||||||
from the start until the name resolving was completed.
|
from the start until the name resolving was completed.
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_NUM_CONNECTS \- get number of created connections
|
CURLINFO_NUM_CONNECTS \- get number of created connections
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_NUM_CONNECTS, long *nump);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_NUM_CONNECTS, long *nump);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a long to receive how many new connections libcurl had to
|
Pass a pointer to a long to receive how many new connections libcurl had to
|
||||||
create to achieve the previous transfer (only the successful connects are
|
create to achieve the previous transfer (only the successful connects are
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_OS_ERRNO \- get errno number from last connect failure
|
CURLINFO_OS_ERRNO \- get errno number from last connect failure
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_OS_ERRNO, long *errnop);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_OS_ERRNO, long *errnop);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a long to receive the errno variable from a connect failure.
|
Pass a pointer to a long to receive the errno variable from a connect failure.
|
||||||
Note that the value is only set on failure, it is not reset upon a successful
|
Note that the value is only set on failure, it is not reset upon a successful
|
||||||
|
|
|
@ -24,9 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_PRETRANSFER_TIME \- get the time until the file transfer start
|
CURLINFO_PRETRANSFER_TIME \- get the time until the file transfer start
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PRETRANSFER_TIME, double *timep);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PRETRANSFER_TIME,
|
||||||
|
double *timep);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a double to receive the time, in seconds, it took from the
|
Pass a pointer to a double to receive the time, in seconds, it took from the
|
||||||
start until the file transfer is just about to begin.
|
start until the file transfer is just about to begin.
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 2018 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 2018 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_PRETRANSFER_TIME_T \- get the time until the file transfer start
|
CURLINFO_PRETRANSFER_TIME_T \- get the time until the file transfer start
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PRETRANSFER_TIME_T, curl_off_t *timep);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PRETRANSFER_TIME_T,
|
||||||
|
curl_off_t *timep);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a curl_off_t to receive the time, in microseconds,
|
Pass a pointer to a curl_off_t to receive the time, in microseconds,
|
||||||
it took from the
|
it took from the
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2015, 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_PRIMARY_IP \- get IP address of last connection
|
CURLINFO_PRIMARY_IP \- get IP address of last connection
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PRIMARY_IP, char **ip);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PRIMARY_IP, char **ip);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a char pointer to receive the pointer to a null-terminated
|
Pass a pointer to a char pointer to receive the pointer to a null-terminated
|
||||||
string holding the IP address of the most recent connection done with this
|
string holding the IP address of the most recent connection done with this
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_PRIMARY_PORT \- get the latest destination port number
|
CURLINFO_PRIMARY_PORT \- get the latest destination port number
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PRIMARY_PORT, long *portp);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PRIMARY_PORT, long *portp);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a long to receive the destination port of the most recent
|
Pass a pointer to a long to receive the destination port of the most recent
|
||||||
connection done with this \fBcurl\fP handle.
|
connection done with this \fBcurl\fP handle.
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_PRIVATE \- get the private pointer
|
CURLINFO_PRIVATE \- get the private pointer
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PRIVATE, char **private);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PRIVATE, char **private);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a char pointer to receive the pointer to the private data
|
Pass a pointer to a char pointer to receive the pointer to the private data
|
||||||
associated with the curl handle (set with the \fICURLOPT_PRIVATE(3)\fP).
|
associated with the curl handle (set with the \fICURLOPT_PRIVATE(3)\fP).
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_PROTOCOL \- get the protocol used in the connection
|
CURLINFO_PROTOCOL \- get the protocol used in the connection
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PROTOCOL, long *p);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PROTOCOL, long *p);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a long to receive the version used in the last http
|
Pass a pointer to a long to receive the version used in the last http
|
||||||
connection. The returned value will be exactly one of the CURLPROTO_* values:
|
connection. The returned value will be exactly one of the CURLPROTO_* values:
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_PROXYAUTH_AVAIL \- get available HTTP proxy authentication methods
|
CURLINFO_PROXYAUTH_AVAIL \- get available HTTP proxy authentication methods
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PROXYAUTH_AVAIL, long *authp);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PROXYAUTH_AVAIL,
|
||||||
|
long *authp);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a long to receive a bitmask indicating the authentication
|
Pass a pointer to a long to receive a bitmask indicating the authentication
|
||||||
method(s) available according to the previous response. The meaning of the
|
method(s) available according to the previous response. The meaning of the
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_PROXY_SSL_VERIFYRESULT \- get the result of the proxy certificate verification
|
CURLINFO_PROXY_SSL_VERIFYRESULT \- get the result of the proxy certificate verification
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PROXY_SSL_VERIFYRESULT, long *result);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PROXY_SSL_VERIFYRESULT,
|
||||||
|
long *result);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a long to receive the result of the certificate verification
|
Pass a pointer to a long to receive the result of the certificate verification
|
||||||
that was requested (using the \fICURLOPT_PROXY_SSL_VERIFYPEER(3)\fP
|
that was requested (using the \fICURLOPT_PROXY_SSL_VERIFYPEER(3)\fP
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_REDIRECT_COUNT \- get the number of redirects
|
CURLINFO_REDIRECT_COUNT \- get the number of redirects
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_REDIRECT_COUNT, long *countp);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_REDIRECT_COUNT,
|
||||||
|
long *countp);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a long to receive the total number of redirections that were
|
Pass a pointer to a long to receive the total number of redirections that were
|
||||||
actually followed.
|
actually followed.
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_REDIRECT_TIME \- get the time for all redirection steps
|
CURLINFO_REDIRECT_TIME \- get the time for all redirection steps
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_REDIRECT_TIME, double *timep);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_REDIRECT_TIME,
|
||||||
|
double *timep);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a double to receive the total time, in seconds, it took for
|
Pass a pointer to a double to receive the total time, in seconds, it took for
|
||||||
all redirection steps include name lookup, connect, pretransfer and transfer
|
all redirection steps include name lookup, connect, pretransfer and transfer
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 2018 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
|
@ -24,9 +24,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_REDIRECT_TIME_T \- get the time for all redirection steps
|
CURLINFO_REDIRECT_TIME_T \- get the time for all redirection steps
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_REDIRECT_TIME_T, curl_off_t *timep);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_REDIRECT_TIME_T,
|
||||||
|
curl_off_t *timep);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a curl_off_t to receive the total time, in microseconds,
|
Pass a pointer to a curl_off_t to receive the total time, in microseconds,
|
||||||
it took for
|
it took for
|
||||||
|
|
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_REDIRECT_URL \- get the URL a redirect would go to
|
CURLINFO_REDIRECT_URL \- get the URL a redirect would go to
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_REDIRECT_URL, char **urlp);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_REDIRECT_URL, char **urlp);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a pointer to a char pointer to receive the URL a redirect \fIwould\fP
|
Pass a pointer to a char pointer to receive the URL a redirect \fIwould\fP
|
||||||
take you to if you would enable \fICURLOPT_FOLLOWLOCATION(3)\fP. This can come
|
take you to if you would enable \fICURLOPT_FOLLOWLOCATION(3)\fP. This can come
|
||||||
|
|
|
@ -24,9 +24,11 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
CURLINFO_REFERER \- get the referrer header
|
CURLINFO_REFERER \- get the referrer header
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_REFERER, char **hdrp);
|
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_REFERER, char **hdrp);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass in a pointer to a char pointer and get the referrer header.
|
Pass in a pointer to a char pointer and get the referrer header.
|
||||||
|
|
||||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче