wut  1.0.0-beta8
Wii U Toolchain
Macros | Typedefs | Functions
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 _CURL_WARNING(id, message)
 
#define _curl_is_long_option(option)   (0 < (option) && (option) < CURLOPTTYPE_OBJECTPOINT)
 
#define _curl_is_off_t_option(option)   ((option) > CURLOPTTYPE_OFF_T)
 
#define _curl_is_string_option(option)
 
#define _curl_is_write_cb_option(option)
 
#define _curl_is_conv_cb_option(option)
 
#define _curl_is_cb_data_option(option)
 
#define _curl_is_postfields_option(option)
 
#define _curl_is_slist_option(option)
 
#define _curl_is_string_info(info)   (CURLINFO_STRING < (info) && (info) < CURLINFO_LONG)
 
#define _curl_is_long_info(info)   (CURLINFO_LONG < (info) && (info) < CURLINFO_DOUBLE)
 
#define _curl_is_double_info(info)   (CURLINFO_DOUBLE < (info) && (info) < CURLINFO_SLIST)
 
#define _curl_is_slist_info(info)   (CURLINFO_SLIST < (info))
 
#define _curl_is_any_ptr(expr)   (sizeof(expr) == sizeof(void*))
 
#define _curl_is_NULL(expr)   (__builtin_types_compatible_p(__typeof__(expr), __typeof__(NULL)))
 
#define _curl_is_ptr(expr, type)
 
#define _curl_is_arr(expr, type)
 
#define _curl_is_string(expr)
 
#define _curl_is_long(expr)
 
#define _curl_is_off_t(expr)   (__builtin_types_compatible_p(__typeof__(expr), curl_off_t))
 
#define _curl_is_error_buffer(expr)
 
#define _curl_is_cb_data(expr)   _curl_is_any_ptr(expr)
 
#define _curl_is_FILE(expr)   (__builtin_types_compatible_p(__typeof__(expr), FILE *))
 
#define _curl_is_postfields(expr)
 
#define _curl_callback_compatible(func, type)
 
#define _curl_is_read_cb(expr)
 
#define _curl_is_write_cb(expr)
 
#define _curl_is_ioctl_cb(expr)
 
#define _curl_is_sockopt_cb(expr)
 
#define _curl_is_opensocket_cb(expr)
 
#define _curl_is_progress_cb(expr)
 
#define _curl_is_debug_cb(expr)
 
#define _curl_is_ssl_ctx_cb(expr)
 
#define _curl_is_conv_cb(expr)
 
#define _curl_is_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 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

 _CURL_WARNING (_curl_easy_setopt_err_long, "curl_easy_setopt expects a long argument for this option") _CURL_WARNING(_curl_easy_setopt_err_curl_off_t
 
curl_easy_setopt expects a curl_off_t argument for this option _CURL_WARNING (_curl_easy_setopt_err_string, "curl_easy_setopt expects a " "string (char* or char[]) argument for this option") _CURL_WARNING(_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 _CURL_WARNING (_curl_easy_setopt_err_read_cb, "curl_easy_setopt expects a curl_read_callback argument for this option") _CURL_WARNING(_curl_easy_setopt_err_ioctl_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_ioctl_callback argument for this option _CURL_WARNING (_curl_easy_setopt_err_sockopt_cb, "curl_easy_setopt expects a curl_sockopt_callback argument for this option") _CURL_WARNING(_curl_easy_setopt_err_opensocket_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_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option _CURL_WARNING (_curl_easy_setopt_err_progress_cb, "curl_easy_setopt expects a curl_progress_callback argument for this option") _CURL_WARNING(_curl_easy_setopt_err_debug_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_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option curl_easy_setopt expects a curl_debug_callback argument for this option _CURL_WARNING (_curl_easy_setopt_err_ssl_ctx_cb, "curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option") _CURL_WARNING(_curl_easy_setopt_err_conv_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_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option curl_easy_setopt expects a curl_debug_callback argument for this option curl_easy_setopt expects a curl_conv_callback argument for this option _CURL_WARNING (_curl_easy_setopt_err_seek_cb, "curl_easy_setopt expects a curl_seek_callback argument for this option") _CURL_WARNING(_curl_easy_setopt_err_cb_data
 
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_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option curl_easy_setopt expects a curl_debug_callback argument for this option curl_easy_setopt expects a curl_conv_callback argument for this option curl_easy_setopt expects a private data pointer as argument for this option _CURL_WARNING (_curl_easy_setopt_err_error_buffer, "curl_easy_setopt expects a " "char buffer of CURL_ERROR_SIZE as argument for this option") _CURL_WARNING(_curl_easy_setopt_err_FILE
 
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_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option curl_easy_setopt expects a curl_debug_callback argument for this option curl_easy_setopt expects a curl_conv_callback argument for this option curl_easy_setopt expects a private data pointer as argument for this option curl_easy_setopt expects a FILE *argument for this option _CURL_WARNING (_curl_easy_setopt_err_postfields, "curl_easy_setopt expects a void* or char* argument for this option") _CURL_WARNING(_curl_easy_setopt_err_curl_httpost
 
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_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option curl_easy_setopt expects a curl_debug_callback argument for this option curl_easy_setopt expects a curl_conv_callback argument for this option curl_easy_setopt expects a private data pointer as argument for this option curl_easy_setopt expects a FILE *argument for this option curl_easy_setopt expects a struct curl_httppost *argument for this option _CURL_WARNING (_curl_easy_setopt_err_curl_slist, "curl_easy_setopt expects a struct curl_slist* argument for this option") _CURL_WARNING(_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_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option curl_easy_setopt expects a curl_debug_callback argument for this option curl_easy_setopt expects a curl_conv_callback argument for this option curl_easy_setopt expects a private data pointer as argument for this option curl_easy_setopt expects a FILE *argument for this option curl_easy_setopt expects a struct curl_httppost *argument for this option curl_easy_setopt expects a CURLSH *argument for this option _CURL_WARNING (_curl_easy_getinfo_err_string, "curl_easy_getinfo expects a pointer to char * for this info") _CURL_WARNING(_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_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option curl_easy_setopt expects a curl_debug_callback argument for this option curl_easy_setopt expects a curl_conv_callback argument for this option curl_easy_setopt expects a private data pointer as argument for this option curl_easy_setopt expects a FILE *argument for this option curl_easy_setopt expects a struct curl_httppost *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_WARNING (_curl_easy_getinfo_err_double, "curl_easy_getinfo expects a pointer to double for this info") _CURL_WARNING(_curl_easy_getinfo_err_curl_slist
 

Macro Definition Documentation

◆ curl_easy_setopt

#define curl_easy_setopt (   handle,
  option,
  value 
)

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

◆ curl_easy_getinfo

#define curl_easy_getinfo (   handle,
  info,
  arg 
)
Value:
__extension__ ({ \
__typeof__ (info) _curl_info = info; \
if(__builtin_constant_p(_curl_info)) { \
if(_curl_is_string_info(_curl_info)) \
if(!_curl_is_arr((arg), char *)) \
_curl_easy_getinfo_err_string(); \
if(_curl_is_long_info(_curl_info)) \
if(!_curl_is_arr((arg), long)) \
_curl_easy_getinfo_err_long(); \
if(_curl_is_double_info(_curl_info)) \
if(!_curl_is_arr((arg), double)) \
_curl_easy_getinfo_err_double(); \
if(_curl_is_slist_info(_curl_info)) \
if(!_curl_is_arr((arg), struct curl_slist *)) \
_curl_easy_getinfo_err_curl_slist(); \
} \
curl_easy_getinfo(handle, _curl_info, arg); \
})
#define _curl_is_slist_info(info)
#define _curl_is_long_info(info)
#define _curl_is_double_info(info)
#define _curl_is_arr(expr, type)
#define _curl_is_string_info(info)

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

◆ curl_share_setopt

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

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

◆ curl_multi_setopt

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

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

◆ _CURL_WARNING

#define _CURL_WARNING (   id,
  message 
)
Value:
static void __attribute__((warning(message))) __attribute__((unused)) \
__attribute__((noinline)) id(void) { __asm__(""); }

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

◆ _curl_is_long_option

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

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

◆ _curl_is_off_t_option

#define _curl_is_off_t_option (   option)    ((option) > CURLOPTTYPE_OFF_T)

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

◆ _curl_is_string_option

#define _curl_is_string_option (   option)

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

◆ _curl_is_write_cb_option

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

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

◆ _curl_is_conv_cb_option

#define _curl_is_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 258 of file typecheck-gcc.h.

◆ _curl_is_cb_data_option

#define _curl_is_cb_data_option (   option)
Value:
((option) == CURLOPT_WRITEDATA || \
(option) == CURLOPT_READDATA || \
(option) == CURLOPT_IOCTLDATA || \
(option) == CURLOPT_SOCKOPTDATA || \
(option) == CURLOPT_OPENSOCKETDATA || \
(option) == CURLOPT_PROGRESSDATA || \
(option) == CURLOPT_WRITEHEADER || \
(option) == CURLOPT_DEBUGDATA || \
(option) == CURLOPT_SEEKDATA || \
(option) == CURLOPT_PRIVATE || \
(option) == CURLOPT_SSH_KEYDATA || \
(option) == CURLOPT_INTERLEAVEDATA || \
(option) == CURLOPT_CHUNK_DATA || \
(option) == CURLOPT_FNMATCH_DATA || \
0)
#define CURLOPT_READDATA
Definition: curl.h:1391
#define CURLOPT_WRITEDATA
Definition: curl.h:1390

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

◆ _curl_is_postfields_option

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

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

◆ _curl_is_slist_option

#define _curl_is_slist_option (   option)
Value:
((option) == CURLOPT_HTTPHEADER || \
(option) == CURLOPT_HTTP200ALIASES || \
(option) == CURLOPT_QUOTE || \
(option) == CURLOPT_POSTQUOTE || \
(option) == CURLOPT_PREQUOTE || \
(option) == CURLOPT_TELNETOPTIONS || \
(option) == CURLOPT_MAIL_RCPT || \
0)

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

◆ _curl_is_string_info

#define _curl_is_string_info (   info)    (CURLINFO_STRING < (info) && (info) < CURLINFO_LONG)

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

◆ _curl_is_long_info

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

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

◆ _curl_is_double_info

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

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

◆ _curl_is_slist_info

#define _curl_is_slist_info (   info)    (CURLINFO_SLIST < (info))

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

◆ _curl_is_any_ptr

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

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

◆ _curl_is_NULL

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

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

◆ _curl_is_ptr

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

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

◆ _curl_is_arr

#define _curl_is_arr (   expr,
  type 
)
Value:
(_curl_is_ptr((expr), type) || \
__builtin_types_compatible_p(__typeof__(expr), type []))
#define _curl_is_ptr(expr, type)

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

◆ _curl_is_string

#define _curl_is_string (   expr)
Value:
(_curl_is_arr((expr), char) || \
_curl_is_arr((expr), signed char) || \
_curl_is_arr((expr), unsigned char))
#define _curl_is_arr(expr, type)

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

◆ _curl_is_long

#define _curl_is_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 357 of file typecheck-gcc.h.

◆ _curl_is_off_t

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

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

◆ _curl_is_error_buffer

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

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

◆ _curl_is_cb_data

#define _curl_is_cb_data (   expr)    _curl_is_any_ptr(expr)

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

◆ _curl_is_FILE

#define _curl_is_FILE (   expr)    (__builtin_types_compatible_p(__typeof__(expr), FILE *))

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

◆ _curl_is_postfields

#define _curl_is_postfields (   expr)
Value:
(_curl_is_ptr((expr), void) || \
_curl_is_arr((expr), char))
#define _curl_is_ptr(expr, type)

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

◆ _curl_callback_compatible

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

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

◆ _curl_is_read_cb

#define _curl_is_read_cb (   expr)
Value:
(_curl_is_NULL(expr) || \
__builtin_types_compatible_p(__typeof__(expr), __typeof__(fread)) || \
__builtin_types_compatible_p(__typeof__(expr), curl_read_callback) || \
_curl_callback_compatible((expr), _curl_read_callback1) || \
_curl_callback_compatible((expr), _curl_read_callback2) || \
_curl_callback_compatible((expr), _curl_read_callback3) || \
_curl_callback_compatible((expr), _curl_read_callback4) || \
_curl_callback_compatible((expr), _curl_read_callback5) || \
_curl_callback_compatible((expr), _curl_read_callback6))
size_t() _curl_read_callback4(void *, size_t, size_t, void *)
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_callback)(char *buffer, size_t size, size_t nitems, void *instream)
Definition: curl.h:242
size_t fread(void *, size_t, size_t, FILE *)
size_t() _curl_read_callback6(void *, size_t, size_t, FILE *)
#define _curl_is_NULL(expr)
size_t() _curl_read_callback5(void *, size_t, size_t, const void *)
size_t() _curl_read_callback1(char *, size_t, size_t, void *)

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

◆ _curl_is_write_cb

#define _curl_is_write_cb (   expr)
Value:
(_curl_is_read_cb(expr) || \
__builtin_types_compatible_p(__typeof__(expr), __typeof__(fwrite)) || \
__builtin_types_compatible_p(__typeof__(expr), curl_write_callback) || \
_curl_callback_compatible((expr), _curl_write_callback1) || \
_curl_callback_compatible((expr), _curl_write_callback2) || \
_curl_callback_compatible((expr), _curl_write_callback3) || \
_curl_callback_compatible((expr), _curl_write_callback4) || \
_curl_callback_compatible((expr), _curl_write_callback5) || \
_curl_callback_compatible((expr), _curl_write_callback6))
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 *)
#define _curl_is_read_cb(expr)
size_t() _curl_write_callback3(const char *, size_t, size_t, FILE *)
size_t() _curl_write_callback6(const void *, size_t, size_t, FILE *)
size_t(* curl_write_callback)(char *buffer, size_t size, size_t nitems, void *outstream)
Definition: curl.h:130
size_t() _curl_write_callback2(const char *, size_t, size_t, const void *)
size_t() _curl_write_callback1(const char *, size_t, size_t, void *)
size_t fwrite(const void *, size_t, size_t, FILE *)

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

◆ _curl_is_ioctl_cb

#define _curl_is_ioctl_cb (   expr)
Value:
(_curl_is_NULL(expr) || \
__builtin_types_compatible_p(__typeof__(expr), curl_ioctl_callback) || \
_curl_callback_compatible((expr), _curl_ioctl_callback1) || \
_curl_callback_compatible((expr), _curl_ioctl_callback2) || \
_curl_callback_compatible((expr), _curl_ioctl_callback3) || \
_curl_callback_compatible((expr), _curl_ioctl_callback4))
curlioerr() _curl_ioctl_callback3(CURL *, curliocmd, void *)
curlioerr() _curl_ioctl_callback1(CURL *, int, void *)
curlioerr() _curl_ioctl_callback2(CURL *, int, const void *)
curlioerr() _curl_ioctl_callback4(CURL *, curliocmd, const void *)
curlioerr(* curl_ioctl_callback)(CURL *handle, int cmd, void *clientp)
Definition: curl.h:294
#define _curl_is_NULL(expr)

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

◆ _curl_is_sockopt_cb

#define _curl_is_sockopt_cb (   expr)
Value:
(_curl_is_NULL(expr) || \
__builtin_types_compatible_p(__typeof__(expr), curl_sockopt_callback) || \
_curl_callback_compatible((expr), _curl_sockopt_callback1) || \
_curl_callback_compatible((expr), _curl_sockopt_callback2))
int() _curl_sockopt_callback1(void *, curl_socket_t, curlsocktype)
int(* curl_sockopt_callback)(void *clientp, curl_socket_t curlfd, curlsocktype purpose)
Definition: curl.h:259
#define _curl_is_NULL(expr)
int() _curl_sockopt_callback2(const void *, curl_socket_t, curlsocktype)

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

◆ _curl_is_opensocket_cb

#define _curl_is_opensocket_cb (   expr)
Value:
(_curl_is_NULL(expr) || \
__builtin_types_compatible_p(__typeof__(expr), curl_opensocket_callback) ||\
_curl_callback_compatible((expr), _curl_opensocket_callback1) || \
_curl_callback_compatible((expr), _curl_opensocket_callback2) || \
_curl_callback_compatible((expr), _curl_opensocket_callback3) || \
_curl_callback_compatible((expr), _curl_opensocket_callback4))
curl_socket_t() _curl_opensocket_callback1(void *, curlsocktype, struct curl_sockaddr *)
curl_socket_t() _curl_opensocket_callback2(void *, curlsocktype, const struct curl_sockaddr *)
curl_socket_t() _curl_opensocket_callback4(const void *, curlsocktype, const struct curl_sockaddr *)
curl_socket_t(* curl_opensocket_callback)(void *clientp, curlsocktype purpose, struct curl_sockaddr *address)
Definition: curl.h:274
#define _curl_is_NULL(expr)
curl_socket_t() _curl_opensocket_callback3(const void *, curlsocktype, struct curl_sockaddr *)

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

◆ _curl_is_progress_cb

#define _curl_is_progress_cb (   expr)
Value:
(_curl_is_NULL(expr) || \
__builtin_types_compatible_p(__typeof__(expr), curl_progress_callback) || \
_curl_callback_compatible((expr), _curl_progress_callback1) || \
_curl_callback_compatible((expr), _curl_progress_callback2))
int() _curl_progress_callback1(void *, double, double, double, double)
int(* curl_progress_callback)(void *clientp, double dltotal, double dlnow, double ultotal, double ulnow)
Definition: curl.h:103
#define _curl_is_NULL(expr)
int() _curl_progress_callback2(const void *, double, double, double, double)

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

◆ _curl_is_debug_cb

#define _curl_is_debug_cb (   expr)
Value:
(_curl_is_NULL(expr) || \
__builtin_types_compatible_p(__typeof__(expr), curl_debug_callback) || \
_curl_callback_compatible((expr), _curl_debug_callback1) || \
_curl_callback_compatible((expr), _curl_debug_callback2) || \
_curl_callback_compatible((expr), _curl_debug_callback3) || \
_curl_callback_compatible((expr), _curl_debug_callback4))
int(* curl_debug_callback)(CURL *handle, curl_infotype type, char *data, size_t size, void *userptr)
Definition: curl.h:323
int() _curl_debug_callback4(CURL *, curl_infotype, const char *, size_t, const void *)
int() _curl_debug_callback2(CURL *, curl_infotype, char *, size_t, const void *)
int() _curl_debug_callback1(CURL *, curl_infotype, char *, size_t, void *)
int() _curl_debug_callback3(CURL *, curl_infotype, const char *, size_t, void *)
#define _curl_is_NULL(expr)

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

◆ _curl_is_ssl_ctx_cb

#define _curl_is_ssl_ctx_cb (   expr)
Value:
(_curl_is_NULL(expr) || \
__builtin_types_compatible_p(__typeof__(expr), curl_ssl_ctx_callback) || \
_curl_callback_compatible((expr), _curl_ssl_ctx_callback1) || \
_curl_callback_compatible((expr), _curl_ssl_ctx_callback2) || \
_curl_callback_compatible((expr), _curl_ssl_ctx_callback3) || \
_curl_callback_compatible((expr), _curl_ssl_ctx_callback4) || \
_curl_callback_compatible((expr), _curl_ssl_ctx_callback5) || \
_curl_callback_compatible((expr), _curl_ssl_ctx_callback6) || \
_curl_callback_compatible((expr), _curl_ssl_ctx_callback7) || \
_curl_callback_compatible((expr), _curl_ssl_ctx_callback8))
_curl_ssl_ctx_callback1 _curl_ssl_ctx_callback8
CURLcode() _curl_ssl_ctx_callback1(CURL *, void *, void *)
CURLcode(* curl_ssl_ctx_callback)(CURL *curl, void *ssl_ctx, void *userptr)
Definition: curl.h:512
_curl_ssl_ctx_callback1 _curl_ssl_ctx_callback6
_curl_ssl_ctx_callback1 _curl_ssl_ctx_callback7
CURLcode() _curl_ssl_ctx_callback2(CURL *, void *, const void *)
_curl_ssl_ctx_callback1 _curl_ssl_ctx_callback5
#define _curl_is_NULL(expr)
CURLcode() _curl_ssl_ctx_callback4(CURL *, const void *, const void *)
CURLcode() _curl_ssl_ctx_callback3(CURL *, const void *, void *)

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

◆ _curl_is_conv_cb

#define _curl_is_conv_cb (   expr)
Value:
(_curl_is_NULL(expr) || \
__builtin_types_compatible_p(__typeof__(expr), curl_conv_callback) || \
_curl_callback_compatible((expr), _curl_conv_callback1) || \
_curl_callback_compatible((expr), _curl_conv_callback2) || \
_curl_callback_compatible((expr), _curl_conv_callback3) || \
_curl_callback_compatible((expr), _curl_conv_callback4))
CURLcode(* _curl_conv_callback1)(char *, size_t length)
CURLcode(* _curl_conv_callback3)(void *, size_t length)
CURLcode(* curl_conv_callback)(char *buffer, size_t length)
Definition: curl.h:510
CURLcode(* _curl_conv_callback2)(const char *, size_t length)
#define _curl_is_NULL(expr)
CURLcode(* _curl_conv_callback4)(const void *, size_t length)

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

◆ _curl_is_seek_cb

#define _curl_is_seek_cb (   expr)
Value:
(_curl_is_NULL(expr) || \
__builtin_types_compatible_p(__typeof__(expr), curl_seek_callback) || \
_curl_callback_compatible((expr), _curl_seek_callback1) || \
_curl_callback_compatible((expr), _curl_seek_callback2))
int(* curl_seek_callback)(void *instream, curl_off_t offset, int origin)
Definition: curl.h:231
CURLcode(* _curl_seek_callback2)(const void *, curl_off_t, int)
CURLcode(* _curl_seek_callback1)(void *, curl_off_t, int)
#define _curl_is_NULL(expr)

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

Typedef Documentation

◆ _curl_read_callback1

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

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

◆ _curl_read_callback2

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

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

◆ _curl_read_callback3

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

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

◆ _curl_read_callback4

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

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

◆ _curl_read_callback5

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

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

◆ _curl_read_callback6

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

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

◆ _curl_write_callback1

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

Definition at line 439 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 440 of file typecheck-gcc.h.

◆ _curl_write_callback3

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

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

◆ _curl_write_callback4

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

Definition at line 443 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 444 of file typecheck-gcc.h.

◆ _curl_write_callback6

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

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

◆ _curl_ioctl_callback1

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

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

◆ _curl_ioctl_callback2

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

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

◆ _curl_ioctl_callback3

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

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

◆ _curl_ioctl_callback4

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

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

◆ _curl_sockopt_callback1

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

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

◆ _curl_sockopt_callback2

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

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

◆ _curl_opensocket_callback1

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

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

◆ _curl_opensocket_callback2

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

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

◆ _curl_opensocket_callback3

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

Definition at line 485 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 487 of file typecheck-gcc.h.

◆ _curl_progress_callback1

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

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

◆ _curl_progress_callback2

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

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

◆ _curl_debug_callback1

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

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

◆ _curl_debug_callback2

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

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

◆ _curl_debug_callback3

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

Definition at line 512 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 514 of file typecheck-gcc.h.

◆ _curl_ssl_ctx_callback1

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

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

◆ _curl_ssl_ctx_callback2

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

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

◆ _curl_ssl_ctx_callback3

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

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

◆ _curl_ssl_ctx_callback4

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

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

◆ _curl_ssl_ctx_callback5

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

◆ _curl_ssl_ctx_callback6

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

◆ _curl_ssl_ctx_callback7

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

◆ _curl_ssl_ctx_callback8

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

◆ _curl_conv_callback1

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

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

◆ _curl_conv_callback2

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

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

◆ _curl_conv_callback3

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

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

◆ _curl_conv_callback4

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

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

◆ _curl_seek_callback1

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

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

◆ _curl_seek_callback2

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

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

Function Documentation

◆ _CURL_WARNING() [1/12]

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

◆ _CURL_WARNING() [2/12]

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

◆ _CURL_WARNING() [3/12]

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_WARNING ( _curl_easy_setopt_err_read_cb  ,
"curl_easy_setopt expects a curl_read_callback argument for this option"   
)

◆ _CURL_WARNING() [4/12]

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_ioctl_callback argument for this option _CURL_WARNING ( _curl_easy_setopt_err_sockopt_cb  ,
"curl_easy_setopt expects a curl_sockopt_callback argument for this option"   
)

◆ _CURL_WARNING() [5/12]

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_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option _CURL_WARNING ( _curl_easy_setopt_err_progress_cb  ,
"curl_easy_setopt expects a curl_progress_callback argument for this option"   
)

◆ _CURL_WARNING() [6/12]

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_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option curl_easy_setopt expects a curl_debug_callback argument for this option _CURL_WARNING ( _curl_easy_setopt_err_ssl_ctx_cb  ,
"curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option"   
)

◆ _CURL_WARNING() [7/12]

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_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option curl_easy_setopt expects a curl_debug_callback argument for this option curl_easy_setopt expects a curl_conv_callback argument for this option _CURL_WARNING ( _curl_easy_setopt_err_seek_cb  ,
"curl_easy_setopt expects a curl_seek_callback argument for this option"   
)

◆ _CURL_WARNING() [8/12]

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_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option curl_easy_setopt expects a curl_debug_callback argument for this option curl_easy_setopt expects a curl_conv_callback argument for this option curl_easy_setopt expects a private data pointer as argument for this option _CURL_WARNING ( _curl_easy_setopt_err_error_buffer  ,
"curl_easy_setopt expects a " "char buffer of CURL_ERROR_SIZE as argument for this option"   
)

◆ _CURL_WARNING() [9/12]

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_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option curl_easy_setopt expects a curl_debug_callback argument for this option curl_easy_setopt expects a curl_conv_callback argument for this option curl_easy_setopt expects a private data pointer as argument for this option curl_easy_setopt expects a FILE* argument for this option _CURL_WARNING ( _curl_easy_setopt_err_postfields  ,
"curl_easy_setopt expects a void* or char* argument for this option"   
)

◆ _CURL_WARNING() [10/12]

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_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option curl_easy_setopt expects a curl_debug_callback argument for this option curl_easy_setopt expects a curl_conv_callback argument for this option curl_easy_setopt expects a private data pointer as argument for this option curl_easy_setopt expects a FILE* argument for this option curl_easy_setopt expects a struct curl_httppost* argument for this option _CURL_WARNING ( _curl_easy_setopt_err_curl_slist  ,
"curl_easy_setopt expects a struct curl_slist* argument for this option"   
)

◆ _CURL_WARNING() [11/12]

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_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option curl_easy_setopt expects a curl_debug_callback argument for this option curl_easy_setopt expects a curl_conv_callback argument for this option curl_easy_setopt expects a private data pointer as argument for this option curl_easy_setopt expects a FILE* argument for this option curl_easy_setopt expects a struct curl_httppost* argument for this option curl_easy_setopt expects a CURLSH* argument for this option _CURL_WARNING ( _curl_easy_getinfo_err_string  ,
"curl_easy_getinfo expects a pointer to char * for this info"   
)

◆ _CURL_WARNING() [12/12]

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_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option curl_easy_setopt expects a curl_debug_callback argument for this option curl_easy_setopt expects a curl_conv_callback argument for this option curl_easy_setopt expects a private data pointer as argument for this option curl_easy_setopt expects a FILE* argument for this option curl_easy_setopt expects a struct curl_httppost* 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_WARNING ( _curl_easy_getinfo_err_double  ,
"curl_easy_getinfo expects a pointer to double for this info"   
)