mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
supports showing "IDN" as a libcurl feature, now outputs the features
in alphabetical order
This commit is contained in:
parent
9631fa7407
commit
1dbe60b8b7
17
src/main.c
17
src/main.c
@ -1917,16 +1917,17 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||||||
int bitmask;
|
int bitmask;
|
||||||
};
|
};
|
||||||
struct feat feats[] = {
|
struct feat feats[] = {
|
||||||
{"IPv6", CURL_VERSION_IPV6},
|
|
||||||
{"krb4", CURL_VERSION_KERBEROS4},
|
|
||||||
{"SSL", CURL_VERSION_SSL},
|
|
||||||
{"libz", CURL_VERSION_LIBZ},
|
|
||||||
{"NTLM", CURL_VERSION_NTLM},
|
|
||||||
{"GSS-Negotiate", CURL_VERSION_GSSNEGOTIATE},
|
|
||||||
{"Debug", CURL_VERSION_DEBUG},
|
|
||||||
{"AsynchDNS", CURL_VERSION_ASYNCHDNS},
|
{"AsynchDNS", CURL_VERSION_ASYNCHDNS},
|
||||||
|
{"Debug", CURL_VERSION_DEBUG},
|
||||||
|
{"GSS-Negotiate", CURL_VERSION_GSSNEGOTIATE},
|
||||||
|
{"IDN", CURL_VERSION_IDN},
|
||||||
|
{"IPv6", CURL_VERSION_IPV6},
|
||||||
|
{"Largefile", CURL_VERSION_LARGEFILE},
|
||||||
|
{"NTLM", CURL_VERSION_NTLM},
|
||||||
{"SPNEGO", CURL_VERSION_SPNEGO},
|
{"SPNEGO", CURL_VERSION_SPNEGO},
|
||||||
{"Largefile", CURL_VERSION_LARGEFILE}
|
{"SSL", CURL_VERSION_SSL},
|
||||||
|
{"krb4", CURL_VERSION_KERBEROS4},
|
||||||
|
{"libz", CURL_VERSION_LIBZ}
|
||||||
};
|
};
|
||||||
printf("Features: ");
|
printf("Features: ");
|
||||||
for(i=0; i<sizeof(feats)/sizeof(feats[0]); i++) {
|
for(i=0; i<sizeof(feats)/sizeof(feats[0]); i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user