|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "curl_setup.h" |
|
|
#include "multihandle.h" |
|
|
#include "tool_xattr.h" |
|
|
#include "curl_sha512_256.h" |
|
|
#include <stdio.h> |
|
|
|
|
|
static const char *disabled[]={ |
|
|
#ifdef CURL_DISABLE_BINDLOCAL |
|
|
"bindlocal", |
|
|
#endif |
|
|
#ifdef CURL_DISABLE_COOKIES |
|
|
"cookies", |
|
|
#endif |
|
|
#ifdef CURL_DISABLE_BASIC_AUTH |
|
|
"basic-auth", |
|
|
#endif |
|
|
#ifdef CURL_DISABLE_BEARER_AUTH |
|
|
"bearer-auth", |
|
|
#endif |
|
|
#ifdef CURL_DISABLE_DIGEST_AUTH |
|
|
"digest-auth", |
|
|
#endif |
|
|
#ifdef CURL_DISABLE_NEGOTIATE_AUTH |
|
|
"negotiate-auth", |
|
|
#endif |
|
|
#ifdef CURL_DISABLE_AWS |
|
|
"aws", |
|
|
#endif |
|
|
#ifdef CURL_DISABLE_DOH |
|
|
"DoH", |
|
|
#endif |
|
|
#ifdef CURL_DISABLE_HTTP_AUTH |
|
|
"HTTP-auth", |
|
|
#endif |
|
|
#ifdef CURL_DISABLE_MIME |
|
|
"Mime", |
|
|
#endif |
|
|
#ifdef CURL_DISABLE_NETRC |
|
|
"netrc", |
|
|
#endif |
|
|
#ifdef CURL_DISABLE_PARSEDATE |
|
|
"parsedate", |
|
|
#endif |
|
|
#ifdef CURL_DISABLE_PROXY |
|
|
"proxy", |
|
|
#endif |
|
|
#ifdef CURL_DISABLE_SHUFFLE_DNS |
|
|
"shuffle-dns", |
|
|
#endif |
|
|
#ifdef CURL_DISABLE_TYPECHECK |
|
|
"typecheck", |
|
|
#endif |
|
|
#ifdef CURL_DISABLE_VERBOSE_STRINGS |
|
|
"verbose-strings", |
|
|
#endif |
|
|
#ifndef ENABLE_WAKEUP |
|
|
"wakeup", |
|
|
#endif |
|
|
#ifdef CURL_DISABLE_HEADERS_API |
|
|
"headers-api", |
|
|
#endif |
|
|
#ifndef USE_XATTR |
|
|
"xattr", |
|
|
#endif |
|
|
#ifdef CURL_DISABLE_FORM_API |
|
|
"form-api", |
|
|
#endif |
|
|
#if (SIZEOF_TIME_T < 5) |
|
|
"large-time", |
|
|
#endif |
|
|
#ifndef CURL_HAVE_SHA512_256 |
|
|
"sha512-256", |
|
|
#endif |
|
|
#ifdef _WIN32 |
|
|
#if defined(CURL_WINDOWS_UWP) || \ |
|
|
defined(CURL_DISABLE_CA_SEARCH) || defined(CURL_CA_SEARCH_SAFE) |
|
|
"win32-ca-searchpath", |
|
|
#endif |
|
|
#ifndef CURL_CA_SEARCH_SAFE |
|
|
"win32-ca-search-safe", |
|
|
#endif |
|
|
#endif |
|
|
NULL |
|
|
}; |
|
|
|
|
|
int main(int argc, char **argv) |
|
|
{ |
|
|
int i; |
|
|
|
|
|
(void) argc; |
|
|
(void) argv; |
|
|
|
|
|
for(i = 0; disabled[i]; i++) |
|
|
printf("%s\n", disabled[i]); |
|
|
|
|
|
return 0; |
|
|
} |
|
|
|