Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
typecheck-gcc.h File Reference

Go to the source code of this file.

Macros

#define curl_easy_setopt(handle, option, value)
 
#define curl_easy_getinfo(handle, info, arg)
 
#define curl_share_setopt(share, opt, param)   curl_share_setopt(share,opt,param)
 
#define curl_multi_setopt(handle, opt, param)   curl_multi_setopt(handle,opt,param)
 
#define CURLWARNING(id, message)
 
#define curlcheck_long_option(option)    (0 < (option) && (option) < CURLOPTTYPE_OBJECTPOINT)
 
#define curlcheck_off_t_option(option)    (((option) > CURLOPTTYPE_OFF_T) && ((option) < CURLOPTTYPE_BLOB))
 
#define curlcheck_string_option(option)
 
#define curlcheck_write_cb_option(option)
 
#define curlcheck_conv_cb_option(option)
 
#define curlcheck_cb_data_option(option)
 
#define curlcheck_postfields_option(option)
 
#define curlcheck_slist_option(option)
 
#define curlcheck_string_info(info)
 
#define curlcheck_long_info(info)    (CURLINFO_LONG < (info) && (info) < CURLINFO_DOUBLE)
 
#define curlcheck_double_info(info)    (CURLINFO_DOUBLE < (info) && (info) < CURLINFO_SLIST)
 
#define curlcheck_slist_info(info)    (((info) == CURLINFO_SSL_ENGINES) || ((info) == CURLINFO_COOKIELIST))
 
#define curlcheck_tlssessioninfo_info(info)    (((info) == CURLINFO_TLS_SSL_PTR) || ((info) == CURLINFO_TLS_SESSION))
 
#define curlcheck_certinfo_info(info)   ((info) == CURLINFO_CERTINFO)
 
#define curlcheck_socket_info(info)    (CURLINFO_SOCKET < (info) && (info) < CURLINFO_OFF_T)
 
#define curlcheck_off_t_info(info)    (CURLINFO_OFF_T < (info))
 
#define curlcheck_any_ptr(expr)    (sizeof(expr) == sizeof(void *))
 
#define curlcheck_NULL(expr)    (__builtin_types_compatible_p(__typeof__(expr), __typeof__(NULL)))
 
#define curlcheck_ptr(expr, type)
 
#define curlcheck_arr(expr, type)
 
#define curlcheck_string(expr)
 
#define curlcheck_long(expr)
 
#define curlcheck_off_t(expr)    (__builtin_types_compatible_p(__typeof__(expr), curl_off_t))
 
#define curlcheck_error_buffer(expr)
 
#define curlcheck_cb_data(expr)    curlcheck_any_ptr(expr)
 
#define curlcheck_FILE(expr)
 
#define curlcheck_postfields(expr)
 
#define curlcheck_cb_compatible(func, type)
 
#define curlcheck_resolver_start_callback(expr)
 
#define curlcheck_read_cb(expr)
 
#define curlcheck_write_cb(expr)
 
#define curlcheck_ioctl_cb(expr)
 
#define curlcheck_sockopt_cb(expr)
 
#define curlcheck_opensocket_cb(expr)
 
#define curlcheck_progress_cb(expr)
 
#define curlcheck_debug_cb(expr)
 
#define curlcheck_ssl_ctx_cb(expr)
 
#define curlcheck_conv_cb(expr)
 
#define curlcheck_seek_cb(expr)
 

Typedefs

typedef size_t(* _curl_read_callback1) (char *, size_t, size_t, void *)
 
typedef size_t(* _curl_read_callback2) (char *, size_t, size_t, const void *)
 
typedef size_t(* _curl_read_callback3) (char *, size_t, size_t, FILE *)
 
typedef size_t(* _curl_read_callback4) (void *, size_t, size_t, void *)
 
typedef size_t(* _curl_read_callback5) (void *, size_t, size_t, const void *)
 
typedef size_t(* _curl_read_callback6) (void *, size_t, size_t, FILE *)
 
typedef size_t(* _curl_write_callback1) (const char *, size_t, size_t, void *)
 
typedef size_t(* _curl_write_callback2) (const char *, size_t, size_t, const void *)
 
typedef size_t(* _curl_write_callback3) (const char *, size_t, size_t, FILE *)
 
typedef size_t(* _curl_write_callback4) (const void *, size_t, size_t, void *)
 
typedef size_t(* _curl_write_callback5) (const void *, size_t, size_t, const void *)
 
typedef size_t(* _curl_write_callback6) (const void *, size_t, size_t, FILE *)
 
typedef curlioerr(* _curl_ioctl_callback1) (CURL *, int, void *)
 
typedef curlioerr(* _curl_ioctl_callback2) (CURL *, int, const void *)
 
typedef curlioerr(* _curl_ioctl_callback3) (CURL *, curliocmd, void *)
 
typedef curlioerr(* _curl_ioctl_callback4) (CURL *, curliocmd, const void *)
 
typedef int(* _curl_sockopt_callback1) (void *, curl_socket_t, curlsocktype)
 
typedef int(* _curl_sockopt_callback2) (const void *, curl_socket_t, curlsocktype)
 
typedef curl_socket_t(* _curl_opensocket_callback1) (void *, curlsocktype, struct curl_sockaddr *)
 
typedef curl_socket_t(* _curl_opensocket_callback2) (void *, curlsocktype, const struct curl_sockaddr *)
 
typedef curl_socket_t(* _curl_opensocket_callback3) (const void *, curlsocktype, struct curl_sockaddr *)
 
typedef curl_socket_t(* _curl_opensocket_callback4) (const void *, curlsocktype, const struct curl_sockaddr *)
 
typedef int(* _curl_progress_callback1) (void *, double, double, double, double)
 
typedef int(* _curl_progress_callback2) (const void *, double, double, double, double)
 
typedef int(* _curl_debug_callback1) (CURL *, curl_infotype, char *, size_t, void *)
 
typedef int(* _curl_debug_callback2) (CURL *, curl_infotype, char *, size_t, const void *)
 
typedef int(* _curl_debug_callback3) (CURL *, curl_infotype, const char *, size_t, void *)
 
typedef int(* _curl_debug_callback4) (CURL *, curl_infotype, const char *, size_t, const void *)
 
typedef int(* _curl_debug_callback5) (CURL *, curl_infotype, unsigned char *, size_t, void *)
 
typedef int(* _curl_debug_callback6) (CURL *, curl_infotype, unsigned char *, size_t, const void *)
 
typedef int(* _curl_debug_callback7) (CURL *, curl_infotype, const unsigned char *, size_t, void *)
 
typedef int(* _curl_debug_callback8) (CURL *, curl_infotype, const unsigned char *, size_t, const void *)
 
typedef CURLcode(* _curl_ssl_ctx_callback1) (CURL *, void *, void *)
 
typedef CURLcode(* _curl_ssl_ctx_callback2) (CURL *, void *, const void *)
 
typedef CURLcode(* _curl_ssl_ctx_callback3) (CURL *, const void *, void *)
 
typedef CURLcode(* _curl_ssl_ctx_callback4) (CURL *, const void *, const void *)
 
typedef _curl_ssl_ctx_callback1 _curl_ssl_ctx_callback5
 
typedef _curl_ssl_ctx_callback1 _curl_ssl_ctx_callback6
 
typedef _curl_ssl_ctx_callback1 _curl_ssl_ctx_callback7
 
typedef _curl_ssl_ctx_callback1 _curl_ssl_ctx_callback8
 
typedef CURLcode(* _curl_conv_callback1) (char *, size_t length)
 
typedef CURLcode(* _curl_conv_callback2) (const char *, size_t length)
 
typedef CURLcode(* _curl_conv_callback3) (void *, size_t length)
 
typedef CURLcode(* _curl_conv_callback4) (const void *, size_t length)
 
typedef CURLcode(* _curl_seek_callback1) (void *, curl_off_t, int)
 
typedef CURLcode(* _curl_seek_callback2) (const void *, curl_off_t, int)
 

Functions

 CURLWARNING (_curl_easy_setopt_err_long, "curl_easy_setopt expects a long argument for this option") CURLWARNING(_curl_easy_setopt_err_curl_off_t
 
curl_easy_setopt expects a curl_off_t argument for this option CURLWARNING (_curl_easy_setopt_err_string, "curl_easy_setopt expects a " "string ('char *' or char[]) argument for this option") CURLWARNING(_curl_easy_setopt_err_write_callback
 
curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option CURLWARNING (_curl_easy_setopt_err_resolver_start_callback, "curl_easy_setopt expects a " "curl_resolver_start_callback argument for this option") CURLWARNING(_curl_easy_setopt_err_read_cb
 
curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option CURLWARNING (_curl_easy_setopt_err_ioctl_cb, "curl_easy_setopt expects a curl_ioctl_callback argument for this option") CURLWARNING(_curl_easy_setopt_err_sockopt_cb
 
curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option CURLWARNING (_curl_easy_setopt_err_opensocket_cb, "curl_easy_setopt expects a " "curl_opensocket_callback argument for this option") CURLWARNING(_curl_easy_setopt_err_progress_cb
 
curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option CURLWARNING (_curl_easy_setopt_err_debug_cb, "curl_easy_setopt expects a curl_debug_callback argument for this option") CURLWARNING(_curl_easy_setopt_err_ssl_ctx_cb
 
curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option CURLWARNING (_curl_easy_setopt_err_conv_cb, "curl_easy_setopt expects a curl_conv_callback argument for this option") CURLWARNING(_curl_easy_setopt_err_seek_cb
 
curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option curl_easy_setopt expects a curl_seek_callback argument for this option CURLWARNING (_curl_easy_setopt_err_cb_data, "curl_easy_setopt expects a " "private data pointer as argument for this option") CURLWARNING(_curl_easy_setopt_err_error_buffer
 
curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option curl_easy_setopt expects a curl_seek_callback argument for this option curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option CURLWARNING (_curl_easy_setopt_err_FILE, "curl_easy_setopt expects a 'FILE *' argument for this option") CURLWARNING(_curl_easy_setopt_err_postfields
 
curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option curl_easy_setopt expects a curl_seek_callback argument for this option curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option curl_easy_setopt expects a void *or char *argument for this option CURLWARNING (_curl_easy_setopt_err_curl_httpost, "curl_easy_setopt expects a 'struct curl_httppost *' " "argument for this option") CURLWARNING(_curl_easy_setopt_err_curl_mimepost
 
curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option curl_easy_setopt expects a curl_seek_callback argument for this option curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option curl_easy_setopt expects a void *or char *argument for this option curl_easy_setopt expects a curl_mime *argument for this option CURLWARNING (_curl_easy_setopt_err_curl_slist, "curl_easy_setopt expects a 'struct curl_slist *' argument for this option") CURLWARNING(_curl_easy_setopt_err_CURLSH
 
curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option curl_easy_setopt expects a curl_seek_callback argument for this option curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option curl_easy_setopt expects a void *or char *argument for this option curl_easy_setopt expects a curl_mime *argument for this option curl_easy_setopt expects a CURLSH *argument for this option CURLWARNING (_curl_easy_getinfo_err_string, "curl_easy_getinfo expects a pointer to 'char *' for this info") CURLWARNING(_curl_easy_getinfo_err_long
 
curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option curl_easy_setopt expects a curl_seek_callback argument for this option curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option curl_easy_setopt expects a void *or char *argument for this option curl_easy_setopt expects a curl_mime *argument for this option curl_easy_setopt expects a CURLSH *argument for this option curl_easy_getinfo expects a pointer to long for this info CURLWARNING (_curl_easy_getinfo_err_double, "curl_easy_getinfo expects a pointer to double for this info") CURLWARNING(_curl_easy_getinfo_err_curl_slist
 
curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option curl_easy_setopt expects a curl_seek_callback argument for this option curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option curl_easy_setopt expects a void *or char *argument for this option curl_easy_setopt expects a curl_mime *argument for this option curl_easy_setopt expects a CURLSH *argument for this option curl_easy_getinfo expects a pointer to long for this info curl_easy_getinfo expects a pointer to struct curl_slist *for this info CURLWARNING (_curl_easy_getinfo_err_curl_tlssesssioninfo, "curl_easy_getinfo expects a pointer to " "'struct curl_tlssessioninfo *' for this info") CURLWARNING(_curl_easy_getinfo_err_curl_certinfo
 
curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option curl_easy_setopt expects a curl_seek_callback argument for this option curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option curl_easy_setopt expects a void *or char *argument for this option curl_easy_setopt expects a curl_mime *argument for this option curl_easy_setopt expects a CURLSH *argument for this option curl_easy_getinfo expects a pointer to long for this info curl_easy_getinfo expects a pointer to struct curl_slist *for this info curl_easy_getinfo expects a pointer to struct curl_certinfo *for this info CURLWARNING (_curl_easy_getinfo_err_curl_socket, "curl_easy_getinfo expects a pointer to curl_socket_t for this info") CURLWARNING(_curl_easy_getinfo_err_curl_off_t
 

Macro Definition Documentation

◆ curl_easy_getinfo

#define curl_easy_getinfo ( handle,
info,
arg )

Definition at line 120 of file typecheck-gcc.h.

120#define curl_easy_getinfo(handle, info, arg) \
121 __extension__({ \
122 CURLINFO _curl_info = (info); \
123 if(__builtin_constant_p(_curl_info)) { \
124 CURL_IGNORE_DEPRECATION( \
125 if(curlcheck_string_info(_curl_info)) \
126 if(!curlcheck_arr((arg), char *)) \
127 _curl_easy_getinfo_err_string(); \
128 if(curlcheck_long_info(_curl_info)) \
129 if(!curlcheck_arr((arg), long)) \
130 _curl_easy_getinfo_err_long(); \
131 if(curlcheck_double_info(_curl_info)) \
132 if(!curlcheck_arr((arg), double)) \
133 _curl_easy_getinfo_err_double(); \
134 if(curlcheck_slist_info(_curl_info)) \
135 if(!curlcheck_arr((arg), struct curl_slist *)) \
136 _curl_easy_getinfo_err_curl_slist(); \
137 if(curlcheck_tlssessioninfo_info(_curl_info)) \
138 if(!curlcheck_arr((arg), struct curl_tlssessioninfo *)) \
139 _curl_easy_getinfo_err_curl_tlssesssioninfo(); \
140 if(curlcheck_certinfo_info(_curl_info)) \
141 if(!curlcheck_arr((arg), struct curl_certinfo *)) \
142 _curl_easy_getinfo_err_curl_certinfo(); \
143 if(curlcheck_socket_info(_curl_info)) \
144 if(!curlcheck_arr((arg), curl_socket_t)) \
145 _curl_easy_getinfo_err_curl_socket(); \
146 if(curlcheck_off_t_info(_curl_info)) \
147 if(!curlcheck_arr((arg), curl_off_t)) \
148 _curl_easy_getinfo_err_curl_off_t(); \
149 ) \
150 } \
151 curl_easy_getinfo(handle, _curl_info, arg); \
152 })

◆ curl_easy_setopt

#define curl_easy_setopt ( handle,
option,
value )

Definition at line 43 of file typecheck-gcc.h.

43#define curl_easy_setopt(handle, option, value) \
44 __extension__({ \
45 CURLoption _curl_opt = (option); \
46 if(__builtin_constant_p(_curl_opt)) { \
47 CURL_IGNORE_DEPRECATION( \
48 if(curlcheck_long_option(_curl_opt)) \
49 if(!curlcheck_long(value)) \
50 _curl_easy_setopt_err_long(); \
51 if(curlcheck_off_t_option(_curl_opt)) \
52 if(!curlcheck_off_t(value)) \
53 _curl_easy_setopt_err_curl_off_t(); \
54 if(curlcheck_string_option(_curl_opt)) \
55 if(!curlcheck_string(value)) \
56 _curl_easy_setopt_err_string(); \
57 if(curlcheck_write_cb_option(_curl_opt)) \
58 if(!curlcheck_write_cb(value)) \
59 _curl_easy_setopt_err_write_callback(); \
60 if((_curl_opt) == CURLOPT_RESOLVER_START_FUNCTION) \
61 if(!curlcheck_resolver_start_callback(value)) \
62 _curl_easy_setopt_err_resolver_start_callback(); \
63 if((_curl_opt) == CURLOPT_READFUNCTION) \
64 if(!curlcheck_read_cb(value)) \
65 _curl_easy_setopt_err_read_cb(); \
66 if((_curl_opt) == CURLOPT_IOCTLFUNCTION) \
67 if(!curlcheck_ioctl_cb(value)) \
68 _curl_easy_setopt_err_ioctl_cb(); \
69 if((_curl_opt) == CURLOPT_SOCKOPTFUNCTION) \
70 if(!curlcheck_sockopt_cb(value)) \
71 _curl_easy_setopt_err_sockopt_cb(); \
72 if((_curl_opt) == CURLOPT_OPENSOCKETFUNCTION) \
73 if(!curlcheck_opensocket_cb(value)) \
74 _curl_easy_setopt_err_opensocket_cb(); \
75 if((_curl_opt) == CURLOPT_PROGRESSFUNCTION) \
76 if(!curlcheck_progress_cb(value)) \
77 _curl_easy_setopt_err_progress_cb(); \
78 if((_curl_opt) == CURLOPT_DEBUGFUNCTION) \
79 if(!curlcheck_debug_cb(value)) \
80 _curl_easy_setopt_err_debug_cb(); \
81 if((_curl_opt) == CURLOPT_SSL_CTX_FUNCTION) \
82 if(!curlcheck_ssl_ctx_cb(value)) \
83 _curl_easy_setopt_err_ssl_ctx_cb(); \
84 if(curlcheck_conv_cb_option(_curl_opt)) \
85 if(!curlcheck_conv_cb(value)) \
86 _curl_easy_setopt_err_conv_cb(); \
87 if((_curl_opt) == CURLOPT_SEEKFUNCTION) \
88 if(!curlcheck_seek_cb(value)) \
89 _curl_easy_setopt_err_seek_cb(); \
90 if(curlcheck_cb_data_option(_curl_opt)) \
91 if(!curlcheck_cb_data(value)) \
92 _curl_easy_setopt_err_cb_data(); \
93 if((_curl_opt) == CURLOPT_ERRORBUFFER) \
94 if(!curlcheck_error_buffer(value)) \
95 _curl_easy_setopt_err_error_buffer(); \
96 if((_curl_opt) == CURLOPT_STDERR) \
97 if(!curlcheck_FILE(value)) \
98 _curl_easy_setopt_err_FILE(); \
99 if(curlcheck_postfields_option(_curl_opt)) \
100 if(!curlcheck_postfields(value)) \
101 _curl_easy_setopt_err_postfields(); \
102 if((_curl_opt) == CURLOPT_HTTPPOST) \
103 if(!curlcheck_arr((value), struct curl_httppost)) \
104 _curl_easy_setopt_err_curl_httpost(); \
105 if((_curl_opt) == CURLOPT_MIMEPOST) \
106 if(!curlcheck_ptr((value), curl_mime)) \
107 _curl_easy_setopt_err_curl_mimepost(); \
108 if(curlcheck_slist_option(_curl_opt)) \
109 if(!curlcheck_arr((value), struct curl_slist)) \
110 _curl_easy_setopt_err_curl_slist(); \
111 if((_curl_opt) == CURLOPT_SHARE) \
112 if(!curlcheck_ptr((value), CURLSH)) \
113 _curl_easy_setopt_err_CURLSH(); \
114 ) \
115 } \
116 curl_easy_setopt(handle, _curl_opt, value); \
117 })

Referenced by fetch_github_user(), and http_get().

◆ curl_multi_setopt

#define curl_multi_setopt ( handle,
opt,
param )   curl_multi_setopt(handle,opt,param)

Definition at line 158 of file typecheck-gcc.h.

◆ curl_share_setopt

#define curl_share_setopt ( share,
opt,
param )   curl_share_setopt(share,opt,param)

Definition at line 157 of file typecheck-gcc.h.

◆ curlcheck_any_ptr

#define curlcheck_any_ptr ( expr)     (sizeof(expr) == sizeof(void *))

Definition at line 457 of file typecheck-gcc.h.

457#define curlcheck_any_ptr(expr) \
458 (sizeof(expr) == sizeof(void *))

◆ curlcheck_arr

#define curlcheck_arr ( expr,
type )
Value:
(curlcheck_ptr((expr), type) || \
__builtin_types_compatible_p(__typeof__(expr), type []))
static void expr(LexState *ls, expdesc *v)
#define curlcheck_ptr(expr, type)

Definition at line 472 of file typecheck-gcc.h.

472#define curlcheck_arr(expr, type) \
473 (curlcheck_ptr((expr), type) || \
474 __builtin_types_compatible_p(__typeof__(expr), type []))

◆ curlcheck_cb_compatible

#define curlcheck_cb_compatible ( func,
type )
Value:
(__builtin_types_compatible_p(__typeof__(func), type) || \
__builtin_types_compatible_p(__typeof__(func) *, type))

Definition at line 533 of file typecheck-gcc.h.

533#define curlcheck_cb_compatible(func, type) \
534 (__builtin_types_compatible_p(__typeof__(func), type) || \
535 __builtin_types_compatible_p(__typeof__(func) *, type))

◆ curlcheck_cb_data

#define curlcheck_cb_data ( expr)     curlcheck_any_ptr(expr)

Definition at line 516 of file typecheck-gcc.h.

516#define curlcheck_cb_data(expr) \
517 curlcheck_any_ptr(expr)

◆ curlcheck_cb_data_option

#define curlcheck_cb_data_option ( option)
Value:
((option) == CURLOPT_CHUNK_DATA || \
(option) == CURLOPT_CLOSESOCKETDATA || \
(option) == CURLOPT_DEBUGDATA || \
(option) == CURLOPT_FNMATCH_DATA || \
(option) == CURLOPT_HEADERDATA || \
(option) == CURLOPT_HSTSREADDATA || \
(option) == CURLOPT_HSTSWRITEDATA || \
(option) == CURLOPT_INTERLEAVEDATA || \
(option) == CURLOPT_IOCTLDATA || \
(option) == CURLOPT_OPENSOCKETDATA || \
(option) == CURLOPT_PREREQDATA || \
(option) == CURLOPT_PROGRESSDATA || \
(option) == CURLOPT_READDATA || \
(option) == CURLOPT_SEEKDATA || \
(option) == CURLOPT_SOCKOPTDATA || \
(option) == CURLOPT_SSH_KEYDATA || \
(option) == CURLOPT_SSL_CTX_DATA || \
(option) == CURLOPT_WRITEDATA || \
(option) == CURLOPT_RESOLVER_START_DATA || \
(option) == CURLOPT_TRAILERDATA || \
(option) == CURLOPT_SSH_HOSTKEYDATA || \
0)
#define CURLOPT_PROGRESSDATA
Definition curl.h:1313

Definition at line 366 of file typecheck-gcc.h.

366#define curlcheck_cb_data_option(option) \
367 ((option) == CURLOPT_CHUNK_DATA || \
368 (option) == CURLOPT_CLOSESOCKETDATA || \
369 (option) == CURLOPT_DEBUGDATA || \
370 (option) == CURLOPT_FNMATCH_DATA || \
371 (option) == CURLOPT_HEADERDATA || \
372 (option) == CURLOPT_HSTSREADDATA || \
373 (option) == CURLOPT_HSTSWRITEDATA || \
374 (option) == CURLOPT_INTERLEAVEDATA || \
375 (option) == CURLOPT_IOCTLDATA || \
376 (option) == CURLOPT_OPENSOCKETDATA || \
377 (option) == CURLOPT_PREREQDATA || \
378 (option) == CURLOPT_PROGRESSDATA || \
379 (option) == CURLOPT_READDATA || \
380 (option) == CURLOPT_SEEKDATA || \
381 (option) == CURLOPT_SOCKOPTDATA || \
382 (option) == CURLOPT_SSH_KEYDATA || \
383 (option) == CURLOPT_SSL_CTX_DATA || \
384 (option) == CURLOPT_WRITEDATA || \
385 (option) == CURLOPT_RESOLVER_START_DATA || \
386 (option) == CURLOPT_TRAILERDATA || \
387 (option) == CURLOPT_SSH_HOSTKEYDATA || \
388 0)

◆ curlcheck_certinfo_info

#define curlcheck_certinfo_info ( info)    ((info) == CURLINFO_CERTINFO)

Definition at line 434 of file typecheck-gcc.h.

◆ curlcheck_conv_cb

#define curlcheck_conv_cb ( expr)
Value:
curlcheck_cb_compatible((expr), curl_conv_callback) || \
curlcheck_cb_compatible((expr), _curl_conv_callback1) || \
curlcheck_cb_compatible((expr), _curl_conv_callback2) || \
curlcheck_cb_compatible((expr), _curl_conv_callback3) || \
curlcheck_cb_compatible((expr), _curl_conv_callback4))
CURLcode(* curl_conv_callback)(char *buffer, size_t length)
Definition curl.h:772
#define curlcheck_NULL(expr)
CURLcode(* _curl_conv_callback2)(const char *, size_t length)
CURLcode(* _curl_conv_callback3)(void *, size_t length)
CURLcode(* _curl_conv_callback4)(const void *, size_t length)
CURLcode(* _curl_conv_callback1)(char *, size_t length)

Definition at line 696 of file typecheck-gcc.h.

696#define curlcheck_conv_cb(expr) \
697 (curlcheck_NULL(expr) || \
698 curlcheck_cb_compatible((expr), curl_conv_callback) || \
699 curlcheck_cb_compatible((expr), _curl_conv_callback1) || \
700 curlcheck_cb_compatible((expr), _curl_conv_callback2) || \
701 curlcheck_cb_compatible((expr), _curl_conv_callback3) || \
702 curlcheck_cb_compatible((expr), _curl_conv_callback4))

◆ curlcheck_conv_cb_option

#define curlcheck_conv_cb_option ( option)
Value:
((option) == CURLOPT_CONV_TO_NETWORK_FUNCTION || \
(option) == CURLOPT_CONV_FROM_NETWORK_FUNCTION || \
(option) == CURLOPT_CONV_FROM_UTF8_FUNCTION)

Definition at line 360 of file typecheck-gcc.h.

360#define curlcheck_conv_cb_option(option) \
361 ((option) == CURLOPT_CONV_TO_NETWORK_FUNCTION || \
362 (option) == CURLOPT_CONV_FROM_NETWORK_FUNCTION || \
363 (option) == CURLOPT_CONV_FROM_UTF8_FUNCTION)

◆ curlcheck_debug_cb

#define curlcheck_debug_cb ( expr)
Value:
curlcheck_cb_compatible((expr), curl_debug_callback) || \
curlcheck_cb_compatible((expr), _curl_debug_callback1) || \
curlcheck_cb_compatible((expr), _curl_debug_callback2) || \
curlcheck_cb_compatible((expr), _curl_debug_callback3) || \
curlcheck_cb_compatible((expr), _curl_debug_callback4) || \
curlcheck_cb_compatible((expr), _curl_debug_callback5) || \
curlcheck_cb_compatible((expr), _curl_debug_callback6) || \
curlcheck_cb_compatible((expr), _curl_debug_callback7) || \
curlcheck_cb_compatible((expr), _curl_debug_callback8))
int(* curl_debug_callback)(CURL *handle, curl_infotype type, char *data, size_t size, void *userptr)
Definition curl.h:482
int(* _curl_debug_callback7)(CURL *, curl_infotype, const unsigned char *, size_t, void *)
int(* _curl_debug_callback2)(CURL *, curl_infotype, char *, size_t, const void *)
int(* _curl_debug_callback3)(CURL *, curl_infotype, const char *, size_t, void *)
int(* _curl_debug_callback4)(CURL *, curl_infotype, const char *, size_t, const void *)
int(* _curl_debug_callback6)(CURL *, curl_infotype, unsigned char *, size_t, const void *)
int(* _curl_debug_callback1)(CURL *, curl_infotype, char *, size_t, void *)
int(* _curl_debug_callback8)(CURL *, curl_infotype, const unsigned char *, size_t, const void *)
int(* _curl_debug_callback5)(CURL *, curl_infotype, unsigned char *, size_t, void *)

Definition at line 633 of file typecheck-gcc.h.

633#define curlcheck_debug_cb(expr) \
634 (curlcheck_NULL(expr) || \
635 curlcheck_cb_compatible((expr), curl_debug_callback) || \
636 curlcheck_cb_compatible((expr), _curl_debug_callback1) || \
637 curlcheck_cb_compatible((expr), _curl_debug_callback2) || \
638 curlcheck_cb_compatible((expr), _curl_debug_callback3) || \
639 curlcheck_cb_compatible((expr), _curl_debug_callback4) || \
640 curlcheck_cb_compatible((expr), _curl_debug_callback5) || \
641 curlcheck_cb_compatible((expr), _curl_debug_callback6) || \
642 curlcheck_cb_compatible((expr), _curl_debug_callback7) || \
643 curlcheck_cb_compatible((expr), _curl_debug_callback8))

◆ curlcheck_double_info

#define curlcheck_double_info ( info)     (CURLINFO_DOUBLE < (info) && (info) < CURLINFO_SLIST)

Definition at line 422 of file typecheck-gcc.h.

422#define curlcheck_double_info(info) \
423 (CURLINFO_DOUBLE < (info) && (info) < CURLINFO_SLIST)

◆ curlcheck_error_buffer

#define curlcheck_error_buffer ( expr)
Value:
__builtin_types_compatible_p(__typeof__(expr), char *) || \
__builtin_types_compatible_p(__typeof__(expr), char[]))

Definition at line 505 of file typecheck-gcc.h.

505#define curlcheck_error_buffer(expr) \
506 (curlcheck_NULL(expr) || \
507 __builtin_types_compatible_p(__typeof__(expr), char *) || \
508 __builtin_types_compatible_p(__typeof__(expr), char[]))

◆ curlcheck_FILE

#define curlcheck_FILE ( expr)
Value:
(__builtin_types_compatible_p(__typeof__(expr), FILE *)))

Definition at line 521 of file typecheck-gcc.h.

521#define curlcheck_FILE(expr) \
522 (curlcheck_NULL(expr) || \
523 (__builtin_types_compatible_p(__typeof__(expr), FILE *)))

◆ curlcheck_ioctl_cb

#define curlcheck_ioctl_cb ( expr)
Value:
curlcheck_cb_compatible((expr), curl_ioctl_callback) || \
curlcheck_cb_compatible((expr), _curl_ioctl_callback1) || \
curlcheck_cb_compatible((expr), _curl_ioctl_callback2) || \
curlcheck_cb_compatible((expr), _curl_ioctl_callback3) || \
curlcheck_cb_compatible((expr), _curl_ioctl_callback4))
curlioerr(* curl_ioctl_callback)(CURL *handle, int cmd, void *clientp)
Definition curl.h:449
curlioerr(* _curl_ioctl_callback4)(CURL *, curliocmd, const void *)
curlioerr(* _curl_ioctl_callback3)(CURL *, curliocmd, void *)
curlioerr(* _curl_ioctl_callback2)(CURL *, int, const void *)
curlioerr(* _curl_ioctl_callback1)(CURL *, int, void *)

Definition at line 581 of file typecheck-gcc.h.

581#define curlcheck_ioctl_cb(expr) \
582 (curlcheck_NULL(expr) || \
583 curlcheck_cb_compatible((expr), curl_ioctl_callback) || \
584 curlcheck_cb_compatible((expr), _curl_ioctl_callback1) || \
585 curlcheck_cb_compatible((expr), _curl_ioctl_callback2) || \
586 curlcheck_cb_compatible((expr), _curl_ioctl_callback3) || \
587 curlcheck_cb_compatible((expr), _curl_ioctl_callback4))

◆ curlcheck_long

#define curlcheck_long ( expr)
Value:
(__builtin_types_compatible_p(__typeof__(expr), long) || \
__builtin_types_compatible_p(__typeof__(expr), signed long) || \
__builtin_types_compatible_p(__typeof__(expr), unsigned long) || \
__builtin_types_compatible_p(__typeof__(expr), int) || \
__builtin_types_compatible_p(__typeof__(expr), signed int) || \
__builtin_types_compatible_p(__typeof__(expr), unsigned int) || \
__builtin_types_compatible_p(__typeof__(expr), short) || \
__builtin_types_compatible_p(__typeof__(expr), signed short) || \
__builtin_types_compatible_p(__typeof__(expr), unsigned short) || \
__builtin_types_compatible_p(__typeof__(expr), char) || \
__builtin_types_compatible_p(__typeof__(expr), signed char) || \
__builtin_types_compatible_p(__typeof__(expr), unsigned char))

Definition at line 485 of file typecheck-gcc.h.

485#define curlcheck_long(expr) \
486 (__builtin_types_compatible_p(__typeof__(expr), long) || \
487 __builtin_types_compatible_p(__typeof__(expr), signed long) || \
488 __builtin_types_compatible_p(__typeof__(expr), unsigned long) || \
489 __builtin_types_compatible_p(__typeof__(expr), int) || \
490 __builtin_types_compatible_p(__typeof__(expr), signed int) || \
491 __builtin_types_compatible_p(__typeof__(expr), unsigned int) || \
492 __builtin_types_compatible_p(__typeof__(expr), short) || \
493 __builtin_types_compatible_p(__typeof__(expr), signed short) || \
494 __builtin_types_compatible_p(__typeof__(expr), unsigned short) || \
495 __builtin_types_compatible_p(__typeof__(expr), char) || \
496 __builtin_types_compatible_p(__typeof__(expr), signed char) || \
497 __builtin_types_compatible_p(__typeof__(expr), unsigned char))

◆ curlcheck_long_info

#define curlcheck_long_info ( info)     (CURLINFO_LONG < (info) && (info) < CURLINFO_DOUBLE)

Definition at line 418 of file typecheck-gcc.h.

418#define curlcheck_long_info(info) \
419 (CURLINFO_LONG < (info) && (info) < CURLINFO_DOUBLE)

◆ curlcheck_long_option

#define curlcheck_long_option ( option)     (0 < (option) && (option) < CURLOPTTYPE_OBJECTPOINT)

Definition at line 253 of file typecheck-gcc.h.

253#define curlcheck_long_option(option) \
254 (0 < (option) && (option) < CURLOPTTYPE_OBJECTPOINT)

◆ curlcheck_NULL

#define curlcheck_NULL ( expr)     (__builtin_types_compatible_p(__typeof__(expr), __typeof__(NULL)))

Definition at line 462 of file typecheck-gcc.h.

462#define curlcheck_NULL(expr) \
463 (__builtin_types_compatible_p(__typeof__(expr), __typeof__(NULL)))

◆ curlcheck_off_t

#define curlcheck_off_t ( expr)     (__builtin_types_compatible_p(__typeof__(expr), curl_off_t))

Definition at line 500 of file typecheck-gcc.h.

500#define curlcheck_off_t(expr) \
501 (__builtin_types_compatible_p(__typeof__(expr), curl_off_t))

◆ curlcheck_off_t_info

#define curlcheck_off_t_info ( info)     (CURLINFO_OFF_T < (info))

Definition at line 441 of file typecheck-gcc.h.

441#define curlcheck_off_t_info(info) \
442 (CURLINFO_OFF_T < (info))

◆ curlcheck_off_t_option

#define curlcheck_off_t_option ( option)     (((option) > CURLOPTTYPE_OFF_T) && ((option) < CURLOPTTYPE_BLOB))

Definition at line 256 of file typecheck-gcc.h.

256#define curlcheck_off_t_option(option) \
257 (((option) > CURLOPTTYPE_OFF_T) && ((option) < CURLOPTTYPE_BLOB))

◆ curlcheck_opensocket_cb

#define curlcheck_opensocket_cb ( expr)
Value:
curlcheck_cb_compatible((expr), curl_opensocket_callback) || \
curlcheck_cb_compatible((expr), _curl_opensocket_callback1) || \
curlcheck_cb_compatible((expr), _curl_opensocket_callback2) || \
curlcheck_cb_compatible((expr), _curl_opensocket_callback3) || \
curlcheck_cb_compatible((expr), _curl_opensocket_callback4))
curl_socket_t(* curl_opensocket_callback)(void *clientp, curlsocktype purpose, struct curl_sockaddr *address)
Definition curl.h:429
curl_socket_t(* _curl_opensocket_callback3)(const void *, curlsocktype, struct curl_sockaddr *)
curl_socket_t(* _curl_opensocket_callback2)(void *, curlsocktype, const struct curl_sockaddr *)
curl_socket_t(* _curl_opensocket_callback1)(void *, curlsocktype, struct curl_sockaddr *)
curl_socket_t(* _curl_opensocket_callback4)(const void *, curlsocktype, const struct curl_sockaddr *)

Definition at line 605 of file typecheck-gcc.h.

605#define curlcheck_opensocket_cb(expr) \
606 (curlcheck_NULL(expr) || \
607 curlcheck_cb_compatible((expr), curl_opensocket_callback) || \
608 curlcheck_cb_compatible((expr), _curl_opensocket_callback1) || \
609 curlcheck_cb_compatible((expr), _curl_opensocket_callback2) || \
610 curlcheck_cb_compatible((expr), _curl_opensocket_callback3) || \
611 curlcheck_cb_compatible((expr), _curl_opensocket_callback4))

◆ curlcheck_postfields

#define curlcheck_postfields ( expr)
Value:
(curlcheck_ptr((expr), void) || \
curlcheck_arr((expr), char) || \
curlcheck_arr((expr), unsigned char))

Definition at line 526 of file typecheck-gcc.h.

526#define curlcheck_postfields(expr) \
527 (curlcheck_ptr((expr), void) || \
528 curlcheck_arr((expr), char) || \
529 curlcheck_arr((expr), unsigned char))

◆ curlcheck_postfields_option

#define curlcheck_postfields_option ( option)
Value:
((option) == CURLOPT_POSTFIELDS || \
(option) == CURLOPT_COPYPOSTFIELDS || \
0)

Definition at line 391 of file typecheck-gcc.h.

391#define curlcheck_postfields_option(option) \
392 ((option) == CURLOPT_POSTFIELDS || \
393 (option) == CURLOPT_COPYPOSTFIELDS || \
394 0)

◆ curlcheck_progress_cb

#define curlcheck_progress_cb ( expr)
Value:
curlcheck_cb_compatible((expr), curl_progress_callback) || \
curlcheck_cb_compatible((expr), _curl_progress_callback1) || \
curlcheck_cb_compatible((expr), _curl_progress_callback2))
int(* curl_progress_callback)(void *clientp, double dltotal, double dlnow, double ultotal, double ulnow)
Definition curl.h:231
int(* _curl_progress_callback2)(const void *, double, double, double, double)
int(* _curl_progress_callback1)(void *, double, double, double, double)

Definition at line 622 of file typecheck-gcc.h.

622#define curlcheck_progress_cb(expr) \
623 (curlcheck_NULL(expr) || \
624 curlcheck_cb_compatible((expr), curl_progress_callback) || \
625 curlcheck_cb_compatible((expr), _curl_progress_callback1) || \
626 curlcheck_cb_compatible((expr), _curl_progress_callback2))

◆ curlcheck_ptr

#define curlcheck_ptr ( expr,
type )
Value:
__builtin_types_compatible_p(__typeof__(expr), type *) || \
__builtin_types_compatible_p(__typeof__(expr), const type *))

Definition at line 466 of file typecheck-gcc.h.

466#define curlcheck_ptr(expr, type) \
467 (curlcheck_NULL(expr) || \
468 __builtin_types_compatible_p(__typeof__(expr), type *) || \
469 __builtin_types_compatible_p(__typeof__(expr), const type *))

◆ curlcheck_read_cb

#define curlcheck_read_cb ( expr)
Value:
curlcheck_cb_compatible((expr), __typeof__(fread) *) || \
curlcheck_cb_compatible((expr), curl_read_callback) || \
curlcheck_cb_compatible((expr), _curl_read_callback1) || \
curlcheck_cb_compatible((expr), _curl_read_callback2) || \
curlcheck_cb_compatible((expr), _curl_read_callback3) || \
curlcheck_cb_compatible((expr), _curl_read_callback4) || \
curlcheck_cb_compatible((expr), _curl_read_callback5) || \
curlcheck_cb_compatible((expr), _curl_read_callback6))
size_t(* curl_read_callback)(char *buffer, size_t size, size_t nitems, void *instream)
Definition curl.h:394
size_t fread(void *, size_t, size_t, FILE *)
size_t(* _curl_read_callback6)(void *, size_t, size_t, FILE *)
size_t(* _curl_read_callback2)(char *, size_t, size_t, const void *)
size_t(* _curl_read_callback3)(char *, size_t, size_t, FILE *)
size_t(* _curl_read_callback5)(void *, size_t, size_t, const void *)
size_t(* _curl_read_callback1)(char *, size_t, size_t, void *)
size_t(* _curl_read_callback4)(void *, size_t, size_t, void *)

Definition at line 543 of file typecheck-gcc.h.

543#define curlcheck_read_cb(expr) \
544 (curlcheck_NULL(expr) || \
545 curlcheck_cb_compatible((expr), __typeof__(fread) *) || \
546 curlcheck_cb_compatible((expr), curl_read_callback) || \
547 curlcheck_cb_compatible((expr), _curl_read_callback1) || \
548 curlcheck_cb_compatible((expr), _curl_read_callback2) || \
549 curlcheck_cb_compatible((expr), _curl_read_callback3) || \
550 curlcheck_cb_compatible((expr), _curl_read_callback4) || \
551 curlcheck_cb_compatible((expr), _curl_read_callback5) || \
552 curlcheck_cb_compatible((expr), _curl_read_callback6))

◆ curlcheck_resolver_start_callback

#define curlcheck_resolver_start_callback ( expr)
Value:
curlcheck_cb_compatible((expr), curl_resolver_start_callback))
int(* curl_resolver_start_callback)(void *resolver_state, void *reserved, void *userdata)
Definition curl.h:282

Definition at line 538 of file typecheck-gcc.h.

538#define curlcheck_resolver_start_callback(expr) \
539 (curlcheck_NULL(expr) || \
540 curlcheck_cb_compatible((expr), curl_resolver_start_callback))

◆ curlcheck_seek_cb

#define curlcheck_seek_cb ( expr)
Value:
curlcheck_cb_compatible((expr), curl_seek_callback) || \
curlcheck_cb_compatible((expr), _curl_seek_callback1) || \
curlcheck_cb_compatible((expr), _curl_seek_callback2))
int(* curl_seek_callback)(void *instream, curl_off_t offset, int origin)
Definition curl.h:376
CURLcode(* _curl_seek_callback2)(const void *, curl_off_t, int)
CURLcode(* _curl_seek_callback1)(void *, curl_off_t, int)

Definition at line 709 of file typecheck-gcc.h.

709#define curlcheck_seek_cb(expr) \
710 (curlcheck_NULL(expr) || \
711 curlcheck_cb_compatible((expr), curl_seek_callback) || \
712 curlcheck_cb_compatible((expr), _curl_seek_callback1) || \
713 curlcheck_cb_compatible((expr), _curl_seek_callback2))

◆ curlcheck_slist_info

#define curlcheck_slist_info ( info)     (((info) == CURLINFO_SSL_ENGINES) || ((info) == CURLINFO_COOKIELIST))

Definition at line 426 of file typecheck-gcc.h.

426#define curlcheck_slist_info(info) \
427 (((info) == CURLINFO_SSL_ENGINES) || ((info) == CURLINFO_COOKIELIST))

◆ curlcheck_slist_option

#define curlcheck_slist_option ( option)
Value:
((option) == CURLOPT_HTTP200ALIASES || \
(option) == CURLOPT_HTTPHEADER || \
(option) == CURLOPT_MAIL_RCPT || \
(option) == CURLOPT_POSTQUOTE || \
(option) == CURLOPT_PREQUOTE || \
(option) == CURLOPT_PROXYHEADER || \
(option) == CURLOPT_QUOTE || \
(option) == CURLOPT_RESOLVE || \
(option) == CURLOPT_TELNETOPTIONS || \
(option) == CURLOPT_CONNECT_TO || \
0)

Definition at line 397 of file typecheck-gcc.h.

397#define curlcheck_slist_option(option) \
398 ((option) == CURLOPT_HTTP200ALIASES || \
399 (option) == CURLOPT_HTTPHEADER || \
400 (option) == CURLOPT_MAIL_RCPT || \
401 (option) == CURLOPT_POSTQUOTE || \
402 (option) == CURLOPT_PREQUOTE || \
403 (option) == CURLOPT_PROXYHEADER || \
404 (option) == CURLOPT_QUOTE || \
405 (option) == CURLOPT_RESOLVE || \
406 (option) == CURLOPT_TELNETOPTIONS || \
407 (option) == CURLOPT_CONNECT_TO || \
408 0)

◆ curlcheck_socket_info

#define curlcheck_socket_info ( info)     (CURLINFO_SOCKET < (info) && (info) < CURLINFO_OFF_T)

Definition at line 437 of file typecheck-gcc.h.

437#define curlcheck_socket_info(info) \
438 (CURLINFO_SOCKET < (info) && (info) < CURLINFO_OFF_T)

◆ curlcheck_sockopt_cb

#define curlcheck_sockopt_cb ( expr)
Value:
curlcheck_cb_compatible((expr), curl_sockopt_callback) || \
curlcheck_cb_compatible((expr), _curl_sockopt_callback1) || \
curlcheck_cb_compatible((expr), _curl_sockopt_callback2))
int(* curl_sockopt_callback)(void *clientp, curl_socket_t curlfd, curlsocktype purpose)
Definition curl.h:414
int(* _curl_sockopt_callback1)(void *, curl_socket_t, curlsocktype)
int(* _curl_sockopt_callback2)(const void *, curl_socket_t, curlsocktype)

Definition at line 594 of file typecheck-gcc.h.

594#define curlcheck_sockopt_cb(expr) \
595 (curlcheck_NULL(expr) || \
596 curlcheck_cb_compatible((expr), curl_sockopt_callback) || \
597 curlcheck_cb_compatible((expr), _curl_sockopt_callback1) || \
598 curlcheck_cb_compatible((expr), _curl_sockopt_callback2))

◆ curlcheck_ssl_ctx_cb

#define curlcheck_ssl_ctx_cb ( expr)
Value:
curlcheck_cb_compatible((expr), curl_ssl_ctx_callback) || \
curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback1) || \
curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback2) || \
curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback3) || \
curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback4) || \
curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback5) || \
curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback6) || \
curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback7) || \
curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback8))
CURLcode(* curl_ssl_ctx_callback)(CURL *curl, void *ssl_ctx, void *userptr)
Definition curl.h:774
CURLcode(* _curl_ssl_ctx_callback3)(CURL *, const void *, void *)
_curl_ssl_ctx_callback1 _curl_ssl_ctx_callback6
CURLcode(* _curl_ssl_ctx_callback1)(CURL *, void *, void *)
_curl_ssl_ctx_callback1 _curl_ssl_ctx_callback5
CURLcode(* _curl_ssl_ctx_callback2)(CURL *, void *, const void *)
CURLcode(* _curl_ssl_ctx_callback4)(CURL *, const void *, const void *)
_curl_ssl_ctx_callback1 _curl_ssl_ctx_callback7
_curl_ssl_ctx_callback1 _curl_ssl_ctx_callback8

Definition at line 663 of file typecheck-gcc.h.

663#define curlcheck_ssl_ctx_cb(expr) \
664 (curlcheck_NULL(expr) || \
665 curlcheck_cb_compatible((expr), curl_ssl_ctx_callback) || \
666 curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback1) || \
667 curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback2) || \
668 curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback3) || \
669 curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback4) || \
670 curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback5) || \
671 curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback6) || \
672 curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback7) || \
673 curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback8))

◆ curlcheck_string

#define curlcheck_string ( expr)
Value:
(curlcheck_arr((expr), char) || \
curlcheck_arr((expr), signed char) || \
curlcheck_arr((expr), unsigned char))
#define curlcheck_arr(expr, type)

Definition at line 477 of file typecheck-gcc.h.

477#define curlcheck_string(expr) \
478 (curlcheck_arr((expr), char) || \
479 curlcheck_arr((expr), signed char) || \
480 curlcheck_arr((expr), unsigned char))

◆ curlcheck_string_info

#define curlcheck_string_info ( info)
Value:
(CURLINFO_STRING < (info) && (info) < CURLINFO_LONG && \
(info) != CURLINFO_PRIVATE)
#define CURLINFO_STRING
Definition curl.h:2856
@ CURLINFO_PRIVATE
Definition curl.h:2908
#define CURLINFO_LONG
Definition curl.h:2857

Definition at line 413 of file typecheck-gcc.h.

413#define curlcheck_string_info(info) \
414 (CURLINFO_STRING < (info) && (info) < CURLINFO_LONG && \
415 (info) != CURLINFO_PRIVATE)

◆ curlcheck_string_option

#define curlcheck_string_option ( option)

Definition at line 260 of file typecheck-gcc.h.

260#define curlcheck_string_option(option) \
261 ((option) == CURLOPT_ABSTRACT_UNIX_SOCKET || \
262 (option) == CURLOPT_ACCEPT_ENCODING || \
263 (option) == CURLOPT_ALTSVC || \
264 (option) == CURLOPT_CAINFO || \
265 (option) == CURLOPT_CAPATH || \
266 (option) == CURLOPT_COOKIE || \
267 (option) == CURLOPT_COOKIEFILE || \
268 (option) == CURLOPT_COOKIEJAR || \
269 (option) == CURLOPT_COOKIELIST || \
270 (option) == CURLOPT_CRLFILE || \
271 (option) == CURLOPT_CUSTOMREQUEST || \
272 (option) == CURLOPT_DEFAULT_PROTOCOL || \
273 (option) == CURLOPT_DNS_INTERFACE || \
274 (option) == CURLOPT_DNS_LOCAL_IP4 || \
275 (option) == CURLOPT_DNS_LOCAL_IP6 || \
276 (option) == CURLOPT_DNS_SERVERS || \
277 (option) == CURLOPT_DOH_URL || \
278 (option) == CURLOPT_ECH || \
279 (option) == CURLOPT_EGDSOCKET || \
280 (option) == CURLOPT_FTP_ACCOUNT || \
281 (option) == CURLOPT_FTP_ALTERNATIVE_TO_USER || \
282 (option) == CURLOPT_FTPPORT || \
283 (option) == CURLOPT_HSTS || \
284 (option) == CURLOPT_HAPROXY_CLIENT_IP || \
285 (option) == CURLOPT_INTERFACE || \
286 (option) == CURLOPT_ISSUERCERT || \
287 (option) == CURLOPT_KEYPASSWD || \
288 (option) == CURLOPT_KRBLEVEL || \
289 (option) == CURLOPT_LOGIN_OPTIONS || \
290 (option) == CURLOPT_MAIL_AUTH || \
291 (option) == CURLOPT_MAIL_FROM || \
292 (option) == CURLOPT_NETRC_FILE || \
293 (option) == CURLOPT_NOPROXY || \
294 (option) == CURLOPT_PASSWORD || \
295 (option) == CURLOPT_PINNEDPUBLICKEY || \
296 (option) == CURLOPT_PRE_PROXY || \
297 (option) == CURLOPT_PROTOCOLS_STR || \
298 (option) == CURLOPT_PROXY || \
299 (option) == CURLOPT_PROXY_CAINFO || \
300 (option) == CURLOPT_PROXY_CAPATH || \
301 (option) == CURLOPT_PROXY_CRLFILE || \
302 (option) == CURLOPT_PROXY_ISSUERCERT || \
303 (option) == CURLOPT_PROXY_KEYPASSWD || \
304 (option) == CURLOPT_PROXY_PINNEDPUBLICKEY || \
305 (option) == CURLOPT_PROXY_SERVICE_NAME || \
306 (option) == CURLOPT_PROXY_SSL_CIPHER_LIST || \
307 (option) == CURLOPT_PROXY_SSLCERT || \
308 (option) == CURLOPT_PROXY_SSLCERTTYPE || \
309 (option) == CURLOPT_PROXY_SSLKEY || \
310 (option) == CURLOPT_PROXY_SSLKEYTYPE || \
311 (option) == CURLOPT_PROXY_TLS13_CIPHERS || \
312 (option) == CURLOPT_PROXY_TLSAUTH_PASSWORD || \
313 (option) == CURLOPT_PROXY_TLSAUTH_TYPE || \
314 (option) == CURLOPT_PROXY_TLSAUTH_USERNAME || \
315 (option) == CURLOPT_PROXYPASSWORD || \
316 (option) == CURLOPT_PROXYUSERNAME || \
317 (option) == CURLOPT_PROXYUSERPWD || \
318 (option) == CURLOPT_RANDOM_FILE || \
319 (option) == CURLOPT_RANGE || \
320 (option) == CURLOPT_REDIR_PROTOCOLS_STR || \
321 (option) == CURLOPT_REFERER || \
322 (option) == CURLOPT_REQUEST_TARGET || \
323 (option) == CURLOPT_RTSP_SESSION_ID || \
324 (option) == CURLOPT_RTSP_STREAM_URI || \
325 (option) == CURLOPT_RTSP_TRANSPORT || \
326 (option) == CURLOPT_SASL_AUTHZID || \
327 (option) == CURLOPT_SERVICE_NAME || \
328 (option) == CURLOPT_SOCKS5_GSSAPI_SERVICE || \
329 (option) == CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 || \
330 (option) == CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256 || \
331 (option) == CURLOPT_SSH_KNOWNHOSTS || \
332 (option) == CURLOPT_SSH_PRIVATE_KEYFILE || \
333 (option) == CURLOPT_SSH_PUBLIC_KEYFILE || \
334 (option) == CURLOPT_SSLCERT || \
335 (option) == CURLOPT_SSLCERTTYPE || \
336 (option) == CURLOPT_SSLENGINE || \
337 (option) == CURLOPT_SSLKEY || \
338 (option) == CURLOPT_SSLKEYTYPE || \
339 (option) == CURLOPT_SSL_CIPHER_LIST || \
340 (option) == CURLOPT_TLS13_CIPHERS || \
341 (option) == CURLOPT_TLSAUTH_PASSWORD || \
342 (option) == CURLOPT_TLSAUTH_TYPE || \
343 (option) == CURLOPT_TLSAUTH_USERNAME || \
344 (option) == CURLOPT_UNIX_SOCKET_PATH || \
345 (option) == CURLOPT_URL || \
346 (option) == CURLOPT_USERAGENT || \
347 (option) == CURLOPT_USERNAME || \
348 (option) == CURLOPT_AWS_SIGV4 || \
349 (option) == CURLOPT_USERPWD || \
350 (option) == CURLOPT_XOAUTH2_BEARER || \
351 (option) == CURLOPT_SSL_EC_CURVES || \
352 0)

◆ curlcheck_tlssessioninfo_info

#define curlcheck_tlssessioninfo_info ( info)     (((info) == CURLINFO_TLS_SSL_PTR) || ((info) == CURLINFO_TLS_SESSION))

Definition at line 430 of file typecheck-gcc.h.

430#define curlcheck_tlssessioninfo_info(info) \
431 (((info) == CURLINFO_TLS_SSL_PTR) || ((info) == CURLINFO_TLS_SESSION))

◆ curlcheck_write_cb

#define curlcheck_write_cb ( expr)
Value:
curlcheck_cb_compatible((expr), __typeof__(fwrite) *) || \
curlcheck_cb_compatible((expr), curl_write_callback) || \
curlcheck_cb_compatible((expr), _curl_write_callback1) || \
curlcheck_cb_compatible((expr), _curl_write_callback2) || \
curlcheck_cb_compatible((expr), _curl_write_callback3) || \
curlcheck_cb_compatible((expr), _curl_write_callback4) || \
curlcheck_cb_compatible((expr), _curl_write_callback5) || \
curlcheck_cb_compatible((expr), _curl_write_callback6))
size_t(* curl_write_callback)(char *buffer, size_t size, size_t nitems, void *outstream)
Definition curl.h:276
size_t fwrite(const void *, size_t, size_t, FILE *)
size_t(* _curl_write_callback6)(const void *, size_t, size_t, FILE *)
size_t(* _curl_write_callback4)(const void *, size_t, size_t, void *)
size_t(* _curl_write_callback5)(const void *, size_t, size_t, const void *)
size_t(* _curl_write_callback1)(const char *, size_t, size_t, void *)
size_t(* _curl_write_callback3)(const char *, size_t, size_t, FILE *)
#define curlcheck_read_cb(expr)
size_t(* _curl_write_callback2)(const char *, size_t, size_t, const void *)

Definition at line 561 of file typecheck-gcc.h.

561#define curlcheck_write_cb(expr) \
562 (curlcheck_read_cb(expr) || \
563 curlcheck_cb_compatible((expr), __typeof__(fwrite) *) || \
564 curlcheck_cb_compatible((expr), curl_write_callback) || \
565 curlcheck_cb_compatible((expr), _curl_write_callback1) || \
566 curlcheck_cb_compatible((expr), _curl_write_callback2) || \
567 curlcheck_cb_compatible((expr), _curl_write_callback3) || \
568 curlcheck_cb_compatible((expr), _curl_write_callback4) || \
569 curlcheck_cb_compatible((expr), _curl_write_callback5) || \
570 curlcheck_cb_compatible((expr), _curl_write_callback6))

◆ curlcheck_write_cb_option

#define curlcheck_write_cb_option ( option)
Value:
((option) == CURLOPT_HEADERFUNCTION || \
(option) == CURLOPT_WRITEFUNCTION)

Definition at line 355 of file typecheck-gcc.h.

355#define curlcheck_write_cb_option(option) \
356 ((option) == CURLOPT_HEADERFUNCTION || \
357 (option) == CURLOPT_WRITEFUNCTION)

◆ CURLWARNING

#define CURLWARNING ( id,
message )
Value:
static void __attribute__((__warning__(message))) \
__attribute__((__unused__)) __attribute__((__noinline__)) \
id(void) { __asm__(""); }

Definition at line 165 of file typecheck-gcc.h.

165#define CURLWARNING(id, message) \
166 static void __attribute__((__warning__(message))) \
167 __attribute__((__unused__)) __attribute__((__noinline__)) \
168 id(void) { __asm__(""); }

Typedef Documentation

◆ _curl_conv_callback1

typedef CURLcode(* _curl_conv_callback1) (char *, size_t length)

Definition at line 703 of file typecheck-gcc.h.

◆ _curl_conv_callback2

typedef CURLcode(* _curl_conv_callback2) (const char *, size_t length)

Definition at line 704 of file typecheck-gcc.h.

◆ _curl_conv_callback3

typedef CURLcode(* _curl_conv_callback3) (void *, size_t length)

Definition at line 705 of file typecheck-gcc.h.

◆ _curl_conv_callback4

typedef CURLcode(* _curl_conv_callback4) (const void *, size_t length)

Definition at line 706 of file typecheck-gcc.h.

◆ _curl_debug_callback1

typedef int(* _curl_debug_callback1) (CURL *, curl_infotype, char *, size_t, void *)

Definition at line 644 of file typecheck-gcc.h.

◆ _curl_debug_callback2

typedef int(* _curl_debug_callback2) (CURL *, curl_infotype, char *, size_t, const void *)

Definition at line 646 of file typecheck-gcc.h.

◆ _curl_debug_callback3

typedef int(* _curl_debug_callback3) (CURL *, curl_infotype, const char *, size_t, void *)

Definition at line 648 of file typecheck-gcc.h.

◆ _curl_debug_callback4

typedef int(* _curl_debug_callback4) (CURL *, curl_infotype, const char *, size_t, const void *)

Definition at line 650 of file typecheck-gcc.h.

◆ _curl_debug_callback5

typedef int(* _curl_debug_callback5) (CURL *, curl_infotype, unsigned char *, size_t, void *)

Definition at line 652 of file typecheck-gcc.h.

◆ _curl_debug_callback6

typedef int(* _curl_debug_callback6) (CURL *, curl_infotype, unsigned char *, size_t, const void *)

Definition at line 654 of file typecheck-gcc.h.

◆ _curl_debug_callback7

typedef int(* _curl_debug_callback7) (CURL *, curl_infotype, const unsigned char *, size_t, void *)

Definition at line 656 of file typecheck-gcc.h.

◆ _curl_debug_callback8

typedef int(* _curl_debug_callback8) (CURL *, curl_infotype, const unsigned char *, size_t, const void *)

Definition at line 658 of file typecheck-gcc.h.

◆ _curl_ioctl_callback1

typedef curlioerr(* _curl_ioctl_callback1) (CURL *, int, void *)

Definition at line 588 of file typecheck-gcc.h.

◆ _curl_ioctl_callback2

typedef curlioerr(* _curl_ioctl_callback2) (CURL *, int, const void *)

Definition at line 589 of file typecheck-gcc.h.

◆ _curl_ioctl_callback3

typedef curlioerr(* _curl_ioctl_callback3) (CURL *, curliocmd, void *)

Definition at line 590 of file typecheck-gcc.h.

◆ _curl_ioctl_callback4

typedef curlioerr(* _curl_ioctl_callback4) (CURL *, curliocmd, const void *)

Definition at line 591 of file typecheck-gcc.h.

◆ _curl_opensocket_callback1

typedef curl_socket_t(* _curl_opensocket_callback1) (void *, curlsocktype, struct curl_sockaddr *)

Definition at line 612 of file typecheck-gcc.h.

◆ _curl_opensocket_callback2

typedef curl_socket_t(* _curl_opensocket_callback2) (void *, curlsocktype, const struct curl_sockaddr *)

Definition at line 614 of file typecheck-gcc.h.

◆ _curl_opensocket_callback3

typedef curl_socket_t(* _curl_opensocket_callback3) (const void *, curlsocktype, struct curl_sockaddr *)

Definition at line 616 of file typecheck-gcc.h.

◆ _curl_opensocket_callback4

typedef curl_socket_t(* _curl_opensocket_callback4) (const void *, curlsocktype, const struct curl_sockaddr *)

Definition at line 618 of file typecheck-gcc.h.

◆ _curl_progress_callback1

typedef int(* _curl_progress_callback1) (void *, double, double, double, double)

Definition at line 627 of file typecheck-gcc.h.

◆ _curl_progress_callback2

typedef int(* _curl_progress_callback2) (const void *, double, double, double, double)

Definition at line 629 of file typecheck-gcc.h.

◆ _curl_read_callback1

typedef size_t(* _curl_read_callback1) (char *, size_t, size_t, void *)

Definition at line 553 of file typecheck-gcc.h.

◆ _curl_read_callback2

typedef size_t(* _curl_read_callback2) (char *, size_t, size_t, const void *)

Definition at line 554 of file typecheck-gcc.h.

◆ _curl_read_callback3

typedef size_t(* _curl_read_callback3) (char *, size_t, size_t, FILE *)

Definition at line 555 of file typecheck-gcc.h.

◆ _curl_read_callback4

typedef size_t(* _curl_read_callback4) (void *, size_t, size_t, void *)

Definition at line 556 of file typecheck-gcc.h.

◆ _curl_read_callback5

typedef size_t(* _curl_read_callback5) (void *, size_t, size_t, const void *)

Definition at line 557 of file typecheck-gcc.h.

◆ _curl_read_callback6

typedef size_t(* _curl_read_callback6) (void *, size_t, size_t, FILE *)

Definition at line 558 of file typecheck-gcc.h.

◆ _curl_seek_callback1

typedef CURLcode(* _curl_seek_callback1) (void *, curl_off_t, int)

Definition at line 714 of file typecheck-gcc.h.

◆ _curl_seek_callback2

typedef CURLcode(* _curl_seek_callback2) (const void *, curl_off_t, int)

Definition at line 715 of file typecheck-gcc.h.

◆ _curl_sockopt_callback1

typedef int(* _curl_sockopt_callback1) (void *, curl_socket_t, curlsocktype)

Definition at line 599 of file typecheck-gcc.h.

◆ _curl_sockopt_callback2

typedef int(* _curl_sockopt_callback2) (const void *, curl_socket_t, curlsocktype)

Definition at line 600 of file typecheck-gcc.h.

◆ _curl_ssl_ctx_callback1

typedef CURLcode(* _curl_ssl_ctx_callback1) (CURL *, void *, void *)

Definition at line 674 of file typecheck-gcc.h.

◆ _curl_ssl_ctx_callback2

typedef CURLcode(* _curl_ssl_ctx_callback2) (CURL *, void *, const void *)

Definition at line 675 of file typecheck-gcc.h.

◆ _curl_ssl_ctx_callback3

typedef CURLcode(* _curl_ssl_ctx_callback3) (CURL *, const void *, void *)

Definition at line 676 of file typecheck-gcc.h.

◆ _curl_ssl_ctx_callback4

typedef CURLcode(* _curl_ssl_ctx_callback4) (CURL *, const void *, const void *)

Definition at line 677 of file typecheck-gcc.h.

◆ _curl_ssl_ctx_callback5

◆ _curl_ssl_ctx_callback6

◆ _curl_ssl_ctx_callback7

◆ _curl_ssl_ctx_callback8

◆ _curl_write_callback1

typedef size_t(* _curl_write_callback1) (const char *, size_t, size_t, void *)

Definition at line 571 of file typecheck-gcc.h.

◆ _curl_write_callback2

typedef size_t(* _curl_write_callback2) (const char *, size_t, size_t, const void *)

Definition at line 572 of file typecheck-gcc.h.

◆ _curl_write_callback3

typedef size_t(* _curl_write_callback3) (const char *, size_t, size_t, FILE *)

Definition at line 574 of file typecheck-gcc.h.

◆ _curl_write_callback4

typedef size_t(* _curl_write_callback4) (const void *, size_t, size_t, void *)

Definition at line 575 of file typecheck-gcc.h.

◆ _curl_write_callback5

typedef size_t(* _curl_write_callback5) (const void *, size_t, size_t, const void *)

Definition at line 576 of file typecheck-gcc.h.

◆ _curl_write_callback6

typedef size_t(* _curl_write_callback6) (const void *, size_t, size_t, FILE *)

Definition at line 578 of file typecheck-gcc.h.

Function Documentation

◆ CURLWARNING() [1/15]

curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option curl_easy_setopt expects a curl_seek_callback argument for this option curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option curl_easy_setopt expects a void *or char *argument for this option curl_easy_setopt expects a curl_mime *argument for this option curl_easy_setopt expects a CURLSH *argument for this option curl_easy_getinfo expects a pointer to long for this info curl_easy_getinfo expects a pointer to struct curl_slist *for this info curl_easy_getinfo expects a pointer to struct curl_certinfo *for this info CURLWARNING ( _curl_easy_getinfo_err_curl_socket ,
"curl_easy_getinfo expects a pointer to curl_socket_t for this info"  )

◆ CURLWARNING() [2/15]

curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option curl_easy_setopt expects a curl_seek_callback argument for this option curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option curl_easy_setopt expects a void *or char *argument for this option curl_easy_setopt expects a curl_mime *argument for this option curl_easy_setopt expects a CURLSH *argument for this option curl_easy_getinfo expects a pointer to long for this info curl_easy_getinfo expects a pointer to struct curl_slist *for this info CURLWARNING ( _curl_easy_getinfo_err_curl_tlssesssioninfo ,
"curl_easy_getinfo expects a pointer to " "'struct curl_tlssessioninfo *' for this info"  )

◆ CURLWARNING() [3/15]

curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option curl_easy_setopt expects a curl_seek_callback argument for this option curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option curl_easy_setopt expects a void *or char *argument for this option curl_easy_setopt expects a curl_mime *argument for this option curl_easy_setopt expects a CURLSH *argument for this option curl_easy_getinfo expects a pointer to long for this info CURLWARNING ( _curl_easy_getinfo_err_double ,
"curl_easy_getinfo expects a pointer to double for this info"  )

◆ CURLWARNING() [4/15]

curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option curl_easy_setopt expects a curl_seek_callback argument for this option curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option curl_easy_setopt expects a void *or char *argument for this option curl_easy_setopt expects a curl_mime *argument for this option curl_easy_setopt expects a CURLSH *argument for this option CURLWARNING ( _curl_easy_getinfo_err_string ,
"curl_easy_getinfo expects a pointer to 'char *' for this info"  )

◆ CURLWARNING() [5/15]

curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option curl_easy_setopt expects a curl_seek_callback argument for this option CURLWARNING ( _curl_easy_setopt_err_cb_data ,
"curl_easy_setopt expects a " "private data pointer as argument for this option"  )

◆ CURLWARNING() [6/15]

curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option CURLWARNING ( _curl_easy_setopt_err_conv_cb ,
"curl_easy_setopt expects a curl_conv_callback argument for this option"  )

◆ CURLWARNING() [7/15]

curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option curl_easy_setopt expects a curl_seek_callback argument for this option curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option curl_easy_setopt expects a void *or char *argument for this option CURLWARNING ( _curl_easy_setopt_err_curl_httpost ,
"curl_easy_setopt expects a 'struct curl_httppost *' " "argument for this option"  )

◆ CURLWARNING() [8/15]

curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option curl_easy_setopt expects a curl_seek_callback argument for this option curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option curl_easy_setopt expects a void *or char *argument for this option curl_easy_setopt expects a curl_mime *argument for this option CURLWARNING ( _curl_easy_setopt_err_curl_slist ,
"curl_easy_setopt expects a 'struct curl_slist *' argument for this option"  )

◆ CURLWARNING() [9/15]

curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option CURLWARNING ( _curl_easy_setopt_err_debug_cb ,
"curl_easy_setopt expects a curl_debug_callback argument for this option"  )

◆ CURLWARNING() [10/15]

curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option curl_easy_setopt expects a curl_progress_callback argument for this option curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option curl_easy_setopt expects a curl_seek_callback argument for this option curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option CURLWARNING ( _curl_easy_setopt_err_FILE ,
"curl_easy_setopt expects a 'FILE *' argument for this option"  )

◆ CURLWARNING() [11/15]

curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option CURLWARNING ( _curl_easy_setopt_err_ioctl_cb ,
"curl_easy_setopt expects a curl_ioctl_callback argument for this option"  )

◆ CURLWARNING() [12/15]

CURLWARNING ( _curl_easy_setopt_err_long ,
"curl_easy_setopt expects a long argument for this option"  )

◆ CURLWARNING() [13/15]

curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_read_callback argument for this option curl_easy_setopt expects a curl_sockopt_callback argument for this option CURLWARNING ( _curl_easy_setopt_err_opensocket_cb ,
"curl_easy_setopt expects a " "curl_opensocket_callback argument for this option"  )

◆ CURLWARNING() [14/15]

curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option CURLWARNING ( _curl_easy_setopt_err_resolver_start_callback ,
"curl_easy_setopt expects a " "curl_resolver_start_callback argument for this option"  )

◆ CURLWARNING() [15/15]

curl_easy_setopt expects a curl_off_t argument for this option CURLWARNING ( _curl_easy_setopt_err_string ,
"curl_easy_setopt expects a " "string ('char *' or char[]) argument for this option"  )