2024-03-31 12:52:28 +03:00
|
|
|
<!--
|
|
|
|
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
|
|
|
|
SPDX-License-Identifier: curl
|
|
|
|
-->
|
|
|
|
|
2022-02-17 12:49:05 +03:00
|
|
|
# curl internals
|
2000-05-22 21:35:35 +04:00
|
|
|
|
2022-02-17 12:49:05 +03:00
|
|
|
The canonical libcurl internals documentation is now in the [everything
|
|
|
|
curl](https://everything.curl.dev/internals) book. This file lists supported
|
2022-12-26 13:23:17 +03:00
|
|
|
versions of libs and build tools.
|
2015-06-10 00:57:22 +03:00
|
|
|
|
2022-02-17 12:49:05 +03:00
|
|
|
## Portability
|
2008-06-13 01:03:16 +04:00
|
|
|
|
2023-02-25 10:00:40 +03:00
|
|
|
We write curl and libcurl to compile with C89 compilers on 32-bit and up
|
2021-10-31 18:34:44 +03:00
|
|
|
machines. Most of libcurl assumes more or less POSIX compliance but that is
|
2008-06-13 01:03:16 +04:00
|
|
|
not a requirement.
|
|
|
|
|
|
|
|
We write libcurl to build and work with lots of third party tools, and we
|
|
|
|
want it to remain functional and buildable with these and later versions
|
|
|
|
(older versions may still work but is not what we work hard to maintain):
|
|
|
|
|
2022-02-17 12:49:05 +03:00
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
We aim to support these or later versions.
|
2015-06-10 00:57:22 +03:00
|
|
|
|
|
|
|
- OpenSSL 0.9.7
|
2020-04-20 23:23:48 +03:00
|
|
|
- GnuTLS 3.1.10
|
2015-06-10 00:57:22 +03:00
|
|
|
- zlib 1.1.4
|
2020-10-22 13:29:21 +03:00
|
|
|
- libssh2 1.0
|
2021-09-06 17:00:52 +03:00
|
|
|
- c-ares 1.16.0
|
2017-11-14 14:47:04 +03:00
|
|
|
- libidn2 2.0.0
|
2019-06-02 17:55:05 +03:00
|
|
|
- wolfSSL 2.0.0
|
2022-09-21 00:30:19 +03:00
|
|
|
- OpenLDAP 2.0
|
2015-06-10 00:57:22 +03:00
|
|
|
- MIT Kerberos 1.2.4
|
|
|
|
- Heimdal ?
|
2023-07-19 16:48:05 +03:00
|
|
|
- nghttp2 1.15.0
|
2020-08-30 13:21:53 +03:00
|
|
|
- WinSock 2.2 (on Windows 95+ and Windows CE .NET 4.1+)
|
2015-06-10 00:57:22 +03:00
|
|
|
|
2022-02-17 12:49:05 +03:00
|
|
|
## Build tools
|
2008-06-13 01:03:16 +04:00
|
|
|
|
2008-06-13 01:16:00 +04:00
|
|
|
When writing code (mostly for generating stuff included in release tarballs)
|
|
|
|
we use a few "build tools" and we make sure that we remain functional with
|
|
|
|
these versions:
|
|
|
|
|
2015-06-10 00:57:22 +03:00
|
|
|
- GNU Libtool 1.4.2
|
2022-12-26 13:23:17 +03:00
|
|
|
- GNU Autoconf 2.59
|
2015-06-10 00:57:22 +03:00
|
|
|
- GNU Automake 1.7
|
|
|
|
- GNU M4 1.4
|
2024-07-06 02:42:17 +03:00
|
|
|
- perl 5.8
|
2015-06-10 00:57:22 +03:00
|
|
|
- roffit 0.5
|
2022-12-26 13:23:17 +03:00
|
|
|
- cmake 3.7
|
2022-06-22 10:40:39 +03:00
|
|
|
|
|
|
|
Library Symbols
|
|
|
|
===============
|
|
|
|
|
|
|
|
All symbols used internally in libcurl must use a `Curl_` prefix if they are
|
|
|
|
used in more than a single file. Single-file symbols must be made static.
|
2022-09-19 18:30:30 +03:00
|
|
|
Public ("exported") symbols must use a `curl_` prefix. Public API functions
|
|
|
|
are marked with `CURL_EXTERN` in the public header files so that all others
|
|
|
|
can be hidden on platforms where this is possible.
|