Planeshift
Defines | Typedefs | Functions

typecheck-gcc.h File Reference

Go to the source code of this file.

Defines

#define _curl_callback_compatible(func, type)
#define _curl_is_any_ptr(expr)   (sizeof(expr) == sizeof(void*))
#define _curl_is_arr(expr, type)
#define _curl_is_cb_data(expr)   _curl_is_any_ptr(expr)
#define _curl_is_cb_data_option(option)
#define _curl_is_conv_cb(expr)
#define _curl_is_conv_cb_option(option)
#define _curl_is_debug_cb(expr)
#define _curl_is_double_info(info)   (CURLINFO_DOUBLE < (info) && (info) < CURLINFO_SLIST)
#define _curl_is_error_buffer(expr)
#define _curl_is_FILE(expr)   (__builtin_types_compatible_p(__typeof__(expr), FILE *))
#define _curl_is_ioctl_cb(expr)
#define _curl_is_long(expr)
#define _curl_is_long_info(info)   (CURLINFO_LONG < (info) && (info) < CURLINFO_DOUBLE)
#define _curl_is_long_option(option)   (0 < (option) && (option) < CURLOPTTYPE_OBJECTPOINT)
#define _curl_is_NULL(expr)   (__builtin_types_compatible_p(__typeof__(expr), __typeof__(NULL)))
#define _curl_is_off_t(expr)   (__builtin_types_compatible_p(__typeof__(expr), curl_off_t))
#define _curl_is_off_t_option(option)   ((option) > CURLOPTTYPE_OFF_T)
#define _curl_is_opensocket_cb(expr)
#define _curl_is_postfields(expr)
#define _curl_is_postfields_option(option)
#define _curl_is_progress_cb(expr)
#define _curl_is_ptr(expr, type)
#define _curl_is_read_cb(expr)
#define _curl_is_seek_cb(expr)
#define _curl_is_slist_info(info)   (CURLINFO_SLIST < (info))
#define _curl_is_slist_option(option)
#define _curl_is_sockopt_cb(expr)
#define _curl_is_ssl_ctx_cb(expr)
#define _curl_is_string(expr)
#define _curl_is_string_info(info)   (CURLINFO_STRING < (info) && (info) < CURLINFO_LONG)
#define _curl_is_string_option(option)
#define _curl_is_write_cb(expr)
#define _curl_is_write_cb_option(option)
#define _CURL_WARNING(id, message)
#define curl_easy_getinfo(handle, info, arg)
#define curl_easy_setopt(handle, option, value)
#define curl_multi_setopt(handle, opt, param)   curl_multi_setopt(handle,opt,param)
#define curl_share_setopt(share, opt, param)   curl_share_setopt(share,opt,param)

Typedefs

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 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 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 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 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 CURLcode(* _curl_seek_callback1 )(void *, curl_off_t, int)
typedef CURLcode(* _curl_seek_callback2 )(const void *, curl_off_t, int)
typedef int_curl_sockopt_callback1 )(void *, curl_socket_t, curlsocktype)
typedef int_curl_sockopt_callback2 )(const void *, curl_socket_t, curlsocktype)
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 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 *)

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_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
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_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_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_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_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_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_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_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_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_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

Define Documentation

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

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

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

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

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

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

#define _curl_is_cb_data (   expr)    _curl_is_any_ptr(expr)

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

#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_SSL_CTX_DATA ||                                        \
   (option) == CURLOPT_SEEKDATA ||                                            \
   (option) == CURLOPT_PRIVATE ||                                             \
   0)

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

#define _curl_is_conv_cb (   expr)
Value:

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

#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 242 of file typecheck-gcc.h.

#define _curl_is_debug_cb (   expr)
Value:

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

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

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

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

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

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

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

#define _curl_is_ioctl_cb (   expr)
Value:

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

#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 337 of file typecheck-gcc.h.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#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))

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

#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 *))

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

#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))

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

#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))

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

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

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

#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 ||                                       \
   0)

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

#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))

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

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

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

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

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

#define _curl_is_string_option (   option)

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

#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))

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

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

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

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

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

#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) && !_curl_is_arr((arg), char *))     \
      _curl_easy_getinfo_err_string();                                        \
    if (_curl_is_long_info(_curl_info) && !_curl_is_arr((arg), long))         \
      _curl_easy_getinfo_err_long();                                          \
    if (_curl_is_double_info(_curl_info) && !_curl_is_arr((arg), double))     \
      _curl_easy_getinfo_err_double();                                        \
    if (_curl_is_slist_info(_curl_info) &&                                    \
           !_curl_is_arr((arg), struct curl_slist *))                         \
      _curl_easy_getinfo_err_curl_slist();                                    \
  }                                                                           \
  curl_easy_getinfo(handle, _curl_info, arg);                                 \
})

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

#define curl_easy_setopt (   handle,
  option,
  value 
)

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

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

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

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

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


Typedef Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


Function Documentation

_CURL_WARNING ( _curl_easy_setopt_err_long  ,
"curl_easy_setopt expects a long argument for this option"   
)
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_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_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"   
) [read]
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_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_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_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_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_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_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_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"   
)