Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
curl_dll = NULL;
}
+// for VM_checkextension()
+qbool Curl_Available(void)
+{
+ return curl_dll ? true : false;
+}
+
/*
====================
Curl_Find
void Curl_Init(void);
void Curl_Init_Commands(void);
void Curl_Shutdown(void);
+qbool Curl_Available(void);
void Curl_CancelAll(void);
void Curl_Clear_forthismap(void);
qbool Curl_Have_forthismap(void);
if (!strcasecmp("DP_QC_DIGEST_SHA256", name))
return Crypto_Available();
+ // special shreck for libcurl
+ if (!strcasecmp("DP_QC_URI_GET", name) || !strcasecmp("DP_QC_URI_POST", name))
+ return Curl_Available();
+
return true;
}
}