• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef HEADER_CURL_TOOL_LIBINFO_H
2 #define HEADER_CURL_TOOL_LIBINFO_H
3 /***************************************************************************
4  *                                  _   _ ____  _
5  *  Project                     ___| | | |  _ \| |
6  *                             / __| | | | |_) | |
7  *                            | (__| |_| |  _ <| |___
8  *                             \___|\___/|_| \_\_____|
9  *
10  * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
11  *
12  * This software is licensed as described in the file COPYING, which
13  * you should have received as part of this distribution. The terms
14  * are also available at https://curl.se/docs/copyright.html.
15  *
16  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
17  * copies of the Software, and permit persons to whom the Software is
18  * furnished to do so, under the terms of the COPYING file.
19  *
20  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21  * KIND, either express or implied.
22  *
23  * SPDX-License-Identifier: curl
24  *
25  ***************************************************************************/
26 #include "tool_setup.h"
27 
28 /* global variable declarations, for libcurl run-time info */
29 
30 
31 extern curl_version_info_data *curlinfo;
32 
33 extern const char * const *built_in_protos;
34 extern size_t proto_count;
35 
36 extern const char * const *feature_names;
37 
38 extern const char *proto_file;
39 extern const char *proto_ftp;
40 extern const char *proto_ftps;
41 extern const char *proto_http;
42 extern const char *proto_https;
43 extern const char *proto_rtsp;
44 extern const char *proto_scp;
45 extern const char *proto_sftp;
46 extern const char *proto_tftp;
47 extern const char *proto_ipfs;
48 extern const char *proto_ipns;
49 
50 extern bool feature_altsvc;
51 extern bool feature_brotli;
52 extern bool feature_hsts;
53 extern bool feature_http2;
54 extern bool feature_http3;
55 extern bool feature_httpsproxy;
56 extern bool feature_libz;
57 extern bool feature_ntlm;
58 extern bool feature_ntlm_wb;
59 extern bool feature_spnego;
60 extern bool feature_ssl;
61 extern bool feature_tls_srp;
62 extern bool feature_zstd;
63 
64 CURLcode get_libcurl_info(void);
65 const char *proto_token(const char *proto);
66 
67 #endif /* HEADER_CURL_TOOL_LIBINFO_H */
68