Classes | Macros | Functions | Variables
tool_setopt.h File Reference
#include "tool_setup.h"
Include dependency graph for tool_setopt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  NameValue
 
struct  NameValueUnsigned
 

Macros

#define my_setopt(x, y, z)   SETOPT_CHECK(tool_setopt(x, FALSE, global, #y, y, z))
 
#define my_setopt_bitmask(x, y, z)   SETOPT_CHECK(tool_setopt_bitmask(x, global, #y, y, setopt_nv_ ## y, z))
 
#define my_setopt_enum(x, y, z)   SETOPT_CHECK(tool_setopt_enum(x, global, #y, y, setopt_nv_ ## y, z))
 
#define my_setopt_flags(x, y, z)   SETOPT_CHECK(tool_setopt_flags(x, global, #y, y, setopt_nv_ ## y, z))
 
#define my_setopt_mimepost(x, y, z)   SETOPT_CHECK(tool_setopt_mimepost(x, global, #y, y, z))
 
#define my_setopt_slist(x, y, z)   SETOPT_CHECK(tool_setopt_slist(x, global, #y, y, z))
 
#define my_setopt_str(x, y, z)   SETOPT_CHECK(tool_setopt(x, TRUE, global, #y, y, z))
 
#define res_setopt(x, y, z)   tool_setopt(x, FALSE, global, #y, y, z)
 
#define res_setopt_str(x, y, z)   tool_setopt(x, TRUE, global, #y, y, z)
 
#define SETOPT_CHECK(v)
 
#define setopt_nv_CURLOPT_FTP_SSL_CCC   setopt_nv_CURLFTPSSL_CCC
 
#define setopt_nv_CURLOPT_HTTP_VERSION   setopt_nv_CURL_HTTP_VERSION
 
#define setopt_nv_CURLOPT_HTTPAUTH   setopt_nv_CURLAUTH
 
#define setopt_nv_CURLOPT_NETRC   setopt_nv_CURL_NETRC
 
#define setopt_nv_CURLOPT_PROTOCOLS   setopt_nv_CURLPROTO
 
#define setopt_nv_CURLOPT_PROXY_SSLVERSION   setopt_nv_CURL_SSLVERSION
 
#define setopt_nv_CURLOPT_PROXYAUTH   setopt_nv_CURLAUTH
 
#define setopt_nv_CURLOPT_PROXYTYPE   setopt_nv_CURLPROXY
 
#define setopt_nv_CURLOPT_REDIR_PROTOCOLS   setopt_nv_CURLPROTO
 
#define setopt_nv_CURLOPT_SOCKS5_AUTH   setopt_nv_CURLAUTH
 
#define setopt_nv_CURLOPT_SSL_OPTIONS   setopt_nv_CURLSSLOPT
 
#define setopt_nv_CURLOPT_SSLVERSION   setopt_nv_CURL_SSLVERSION
 
#define setopt_nv_CURLOPT_TIMECONDITION   setopt_nv_CURL_TIMECOND
 
#define setopt_nv_CURLOPT_USE_SSL   setopt_nv_CURLUSESSL
 

Functions

CURLcode tool_setopt (CURL *curl, bool str, struct GlobalConfig *config, const char *name, CURLoption tag,...)
 
CURLcode tool_setopt_bitmask (CURL *curl, struct GlobalConfig *config, const char *name, CURLoption tag, const NameValueUnsigned *nv, long lval)
 
CURLcode tool_setopt_enum (CURL *curl, struct GlobalConfig *config, const char *name, CURLoption tag, const NameValue *nv, long lval)
 
CURLcode tool_setopt_flags (CURL *curl, struct GlobalConfig *config, const char *name, CURLoption tag, const NameValue *nv, long lval)
 
CURLcode tool_setopt_mimepost (CURL *curl, struct GlobalConfig *config, const char *name, CURLoption tag, curl_mime *mimepost)
 
CURLcode tool_setopt_slist (CURL *curl, struct GlobalConfig *config, const char *name, CURLoption tag, struct curl_slist *list)
 

Variables

const NameValue setopt_nv_CURL_HTTP_VERSION []
 
const NameValue setopt_nv_CURL_NETRC []
 
const NameValue setopt_nv_CURL_SOCKS_PROXY []
 
const NameValue setopt_nv_CURL_SSLVERSION []
 
const NameValue setopt_nv_CURL_TIMECOND []
 
const NameValueUnsigned setopt_nv_CURLAUTH []
 
const NameValue setopt_nv_CURLFTPSSL_CCC []
 
const NameValue setopt_nv_CURLPROTO []
 
const NameValue setopt_nv_CURLPROXY []
 
const NameValueUnsigned setopt_nv_CURLSSLOPT []
 
const NameValue setopt_nv_CURLUSESSL []
 

Macro Definition Documentation

#define my_setopt (   x,
  y,
  z 
)    SETOPT_CHECK(tool_setopt(x, FALSE, global, #y, y, z))

Definition at line 97 of file tool_setopt.h.

#define my_setopt_bitmask (   x,
  y,
  z 
)    SETOPT_CHECK(tool_setopt_bitmask(x, global, #y, y, setopt_nv_ ## y, z))

Definition at line 109 of file tool_setopt.h.

#define my_setopt_enum (   x,
  y,
  z 
)    SETOPT_CHECK(tool_setopt_enum(x, global, #y, y, setopt_nv_ ## y, z))

Definition at line 103 of file tool_setopt.h.

#define my_setopt_flags (   x,
  y,
  z 
)    SETOPT_CHECK(tool_setopt_flags(x, global, #y, y, setopt_nv_ ## y, z))

Definition at line 106 of file tool_setopt.h.

#define my_setopt_mimepost (   x,
  y,
  z 
)    SETOPT_CHECK(tool_setopt_mimepost(x, global, #y, y, z))

Definition at line 112 of file tool_setopt.h.

#define my_setopt_slist (   x,
  y,
  z 
)    SETOPT_CHECK(tool_setopt_slist(x, global, #y, y, z))

Definition at line 115 of file tool_setopt.h.

#define my_setopt_str (   x,
  y,
  z 
)    SETOPT_CHECK(tool_setopt(x, TRUE, global, #y, y, z))

Definition at line 100 of file tool_setopt.h.

#define res_setopt (   x,
  y,
  z 
)    tool_setopt(x, FALSE, global, #y, y, z)

Definition at line 118 of file tool_setopt.h.

#define res_setopt_str (   x,
  y,
  z 
)    tool_setopt(x, TRUE, global, #y, y, z)

Definition at line 120 of file tool_setopt.h.

#define SETOPT_CHECK (   v)
Value:
do { \
result = (v); \
goto show_error; \
if(strcmp(arg,"1305")!=0)
Definition: unit1305.c:127
UNITTEST_START int result
Definition: unit1304.c:49
#define WHILE_FALSE

Definition at line 30 of file tool_setopt.h.

#define setopt_nv_CURLOPT_FTP_SSL_CCC   setopt_nv_CURLFTPSSL_CCC

Definition at line 67 of file tool_setopt.h.

#define setopt_nv_CURLOPT_HTTP_VERSION   setopt_nv_CURL_HTTP_VERSION

Definition at line 62 of file tool_setopt.h.

#define setopt_nv_CURLOPT_HTTPAUTH   setopt_nv_CURLAUTH

Definition at line 63 of file tool_setopt.h.

#define setopt_nv_CURLOPT_NETRC   setopt_nv_CURL_NETRC

Definition at line 70 of file tool_setopt.h.

#define setopt_nv_CURLOPT_PROTOCOLS   setopt_nv_CURLPROTO

Definition at line 71 of file tool_setopt.h.

#define setopt_nv_CURLOPT_PROXY_SSLVERSION   setopt_nv_CURL_SSLVERSION

Definition at line 65 of file tool_setopt.h.

#define setopt_nv_CURLOPT_PROXYAUTH   setopt_nv_CURLAUTH

Definition at line 74 of file tool_setopt.h.

#define setopt_nv_CURLOPT_PROXYTYPE   setopt_nv_CURLPROXY

Definition at line 73 of file tool_setopt.h.

#define setopt_nv_CURLOPT_REDIR_PROTOCOLS   setopt_nv_CURLPROTO

Definition at line 72 of file tool_setopt.h.

#define setopt_nv_CURLOPT_SOCKS5_AUTH   setopt_nv_CURLAUTH

Definition at line 75 of file tool_setopt.h.

#define setopt_nv_CURLOPT_SSL_OPTIONS   setopt_nv_CURLSSLOPT

Definition at line 69 of file tool_setopt.h.

#define setopt_nv_CURLOPT_SSLVERSION   setopt_nv_CURL_SSLVERSION

Definition at line 64 of file tool_setopt.h.

#define setopt_nv_CURLOPT_TIMECONDITION   setopt_nv_CURL_TIMECOND

Definition at line 66 of file tool_setopt.h.

#define setopt_nv_CURLOPT_USE_SSL   setopt_nv_CURLUSESSL

Definition at line 68 of file tool_setopt.h.

Function Documentation

CURLcode tool_setopt ( CURL curl,
bool  str,
struct GlobalConfig config,
const char *  name,
CURLoption  tag,
  ... 
)

Definition at line 606 of file tool_setopt.c.

CURLcode tool_setopt_bitmask ( CURL curl,
struct GlobalConfig config,
const char *  name,
CURLoption  tag,
const NameValueUnsigned nv,
long  lval 
)

Definition at line 340 of file tool_setopt.c.

CURLcode tool_setopt_enum ( CURL curl,
struct GlobalConfig config,
const char *  name,
CURLoption  tag,
const NameValue nv,
long  lval 
)

Definition at line 265 of file tool_setopt.c.

CURLcode tool_setopt_flags ( CURL curl,
struct GlobalConfig config,
const char *  name,
CURLoption  tag,
const NameValue nv,
long  lval 
)

Definition at line 298 of file tool_setopt.c.

CURLcode tool_setopt_mimepost ( CURL curl,
struct GlobalConfig config,
const char *  name,
CURLoption  tag,
curl_mime mimepost 
)

Definition at line 562 of file tool_setopt.c.

CURLcode tool_setopt_slist ( CURL curl,
struct GlobalConfig config,
const char *  name,
CURLoption  tag,
struct curl_slist list 
)

Definition at line 584 of file tool_setopt.c.

Variable Documentation

const NameValue setopt_nv_CURL_HTTP_VERSION[]

Definition at line 80 of file tool_setopt.c.

const NameValue setopt_nv_CURL_NETRC[]

Definition at line 130 of file tool_setopt.c.

const NameValue setopt_nv_CURL_SOCKS_PROXY[]

Definition at line 58 of file tool_setopt.c.

const NameValue setopt_nv_CURL_SSLVERSION[]

Definition at line 89 of file tool_setopt.c.

const NameValue setopt_nv_CURL_TIMECOND[]

Definition at line 101 of file tool_setopt.c.

const NameValueUnsigned setopt_nv_CURLAUTH[]

Definition at line 66 of file tool_setopt.c.

const NameValue setopt_nv_CURLFTPSSL_CCC[]

Definition at line 109 of file tool_setopt.c.

const NameValue setopt_nv_CURLPROTO[]

Definition at line 139 of file tool_setopt.c.

const NameValue setopt_nv_CURLPROXY[]

Definition at line 47 of file tool_setopt.c.

const NameValueUnsigned setopt_nv_CURLSSLOPT[]

Definition at line 124 of file tool_setopt.c.

const NameValue setopt_nv_CURLUSESSL[]

Definition at line 116 of file tool_setopt.c.



rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:17