Instead of typedef'ing to void, typedef to their corresponding actual
struct names to allow compilers to type-check.
Assisted-by: Reinhard Max
extern "C" {
#endif
-typedef void CURL;
+typedef struct SessionHandle CURL;
/*
* libcurl external API function linkage decorations.
curl_lock_data data,
void *userptr);
-typedef void CURLSH;
+typedef struct Curl_share CURLSH;
typedef enum {
CURLSHE_OK, /* all is fine */
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
extern "C" {
#endif
-typedef void CURLM;
+typedef struct Curl_multi CURLM;
typedef enum {
CURLM_CALL_MULTI_PERFORM = -1, /* please call curl_multi_perform() or