Classes | Defines | 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

Defines

#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_httppost(x, y, z)   SETOPT_CHECK(tool_setopt_httppost(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_SOCKS_PROXYTYPE   setopt_nv_CURL_SOCKS_PROXY
#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_httppost (CURL *curl, struct GlobalConfig *config, const char *name, CURLoption tag, struct curl_httppost *httppost)
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 []

Define 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_httppost (   x,
  y,
  z 
)    SETOPT_CHECK(tool_setopt_httppost(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); \
  if(result) \
    goto show_error; \
} WHILE_FALSE

Definition at line 30 of file tool_setopt.h.

Definition at line 67 of file tool_setopt.h.

Definition at line 62 of file tool_setopt.h.

Definition at line 63 of file tool_setopt.h.

Definition at line 70 of file tool_setopt.h.

Definition at line 71 of file tool_setopt.h.

Definition at line 65 of file tool_setopt.h.

Definition at line 75 of file tool_setopt.h.

Definition at line 73 of file tool_setopt.h.

Definition at line 72 of file tool_setopt.h.

Definition at line 74 of file tool_setopt.h.

Definition at line 69 of file tool_setopt.h.

Definition at line 64 of file tool_setopt.h.

Definition at line 66 of file tool_setopt.h.

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 490 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 331 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 256 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 289 of file tool_setopt.c.

CURLcode tool_setopt_httppost ( CURL curl,
struct GlobalConfig config,
const char *  name,
CURLoption  tag,
struct curl_httppost httppost 
)

Definition at line 374 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 450 of file tool_setopt.c.


Variable Documentation

Definition at line 78 of file tool_setopt.c.

Definition at line 128 of file tool_setopt.c.

Definition at line 56 of file tool_setopt.c.

Definition at line 87 of file tool_setopt.c.

Definition at line 99 of file tool_setopt.c.

Definition at line 64 of file tool_setopt.c.

Definition at line 107 of file tool_setopt.c.

Definition at line 137 of file tool_setopt.c.

Definition at line 45 of file tool_setopt.c.

Definition at line 122 of file tool_setopt.c.

Definition at line 114 of file tool_setopt.c.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:09