71: DRIVER_BSDI, /**< BSDI driver */ 72: DRIVER_FREEBSD, /**< FreeBSD driver - includes CAM and ioctl access */ 73: DRIVER_LINUX, /**< GNU/Linux Driver */
76: DRIVER_WIN32, /**< Microsoft Windows Driver. Includes ASPI and 77: ioctl acces. */ 78: DRIVER_CDRDAO, /**< cdrdao format CD image. This is listed
106: operation. By design 0 is successful completion and -1 is error 107: completion. This is compatable with ioctl so those routines that 108: call ioctl can just pass the value the get back (cast as this 109: enum). Also, by using negative numbers for errors, the
51: if ((_curl_opt) == CURLOPT_IOCTLFUNCTION && !_curl_is_ioctl_cb(value)) \ 52: _curl_easy_setopt_err_ioctl_cb(); \ 53: if ((_curl_opt) == CURLOPT_SOCKOPTFUNCTION && !_curl_is_sockopt_cb(value))\
135: "curl_easy_setopt expects a curl_read_callback argument for this option") 136: _CURL_WARNING(_curl_easy_setopt_err_ioctl_cb, 137: "curl_easy_setopt expects a curl_ioctl_callback argument for this option") 138: _CURL_WARNING(_curl_easy_setopt_err_sockopt_cb,
428: /* evaluates to true if expr is of type curl_ioctl_callback or "similar" */ 429: #define _curl_is_ioctl_cb(expr) \ 430: (_curl_is_NULL(expr) || \ 431: __builtin_types_compatible_p(__typeof__(expr), curl_ioctl_callback) || \ 432: _curl_callback_compatible((expr), _curl_ioctl_callback1) || \
Google Home - Google Code - Discuss - Terms of Service - Help - Submit Your Code
©2010 Google - Privacy