curl/lib
Viktor Szakats 60359ad504
build: delete HAVE_STDINT_H and HAVE_INTTYPES_H
We use `stdint.h` unconditionally in all places except one. These uses
are imposed by external dependencies / features. nghttp2, quic, wolfSSL
and `HAVE_MACH_ABSOLUTE_TIME` do require this C99 header. It means that
any of these features make curl require a C99 compiler. (In case of
MSVC, this means Visual Studio 2010 or newer.)

This patch changes the single use of `stdint.h` guarded by
`HAVE_STDINT_H` to use `stdint.h` unconditionally. Also stop using
`inttypes.h` as an alternative there. `HAVE_INTTYPES_H` wasn't used
anywhere else, allowing to delete this feature check as well.

Closes #12275
2023-11-06 17:20:39 +00:00
..
vauth lib: enable hmac for digest as well 2023-09-20 13:38:42 +02:00
vquic msh3: error when built with CURL_DISABLE_SOCKETPAIR set 2023-11-02 14:29:21 +01:00
vssh lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
vtls openssl: identify the "quictls" backend correctly 2023-11-05 17:34:49 +01:00
.checksrc
.gitattributes
.gitignore
altsvc.c lib: add and use Curl_strndup() 2023-11-02 20:35:20 +01:00
altsvc.h
amigaos.c amissl: add missing signal.h include 2023-07-20 23:41:47 +02:00
amigaos.h tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
arpa_telnet.h lib: apache style infof and trace macros/functions 2023-10-26 17:42:54 +02:00
asyn-ares.c asyn-ares: handle no connection in the addrinfo callback 2023-10-28 10:46:06 +02:00
asyn-thread.c urldata: move async resolver state from easy handle to connectdata 2023-10-26 17:29:17 +02:00
asyn.h
base64.c base64: also build for curl 2023-10-04 23:22:16 +02:00
bufq.c bufq: remove Curl_bufq_skip_and_shift (unused) 2023-09-23 10:50:10 +02:00
bufq.h bufq: remove Curl_bufq_skip_and_shift (unused) 2023-09-23 10:50:10 +02:00
bufref.c
bufref.h
c-hyper.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
c-hyper.h hyper: remove hyptransfer->endtask 2023-09-03 18:42:37 +02:00
cf-h1-proxy.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
cf-h1-proxy.h proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
cf-h2-proxy.c lib: introduce struct easy_poll_set for poll information 2023-10-25 09:34:32 +02:00
cf-h2-proxy.h proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
cf-haproxy.c lib: introduce struct easy_poll_set for poll information 2023-10-25 09:34:32 +02:00
cf-haproxy.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
cf-https-connect.c lib: introduce struct easy_poll_set for poll information 2023-10-25 09:34:32 +02:00
cf-https-connect.h lib: give source files cf-http.* better fitting names 2023-03-02 08:48:34 +01:00
cf-socket.c cfilter: provide call to tell connection to forget a socket 2023-10-27 16:59:13 +02:00
cf-socket.h cf-socket: restore Curl_sock_assign_addr() 2023-05-25 14:34:39 +02:00
cfilters.c cfilter: provide call to tell connection to forget a socket 2023-10-27 16:59:13 +02:00
cfilters.h cfilter: provide call to tell connection to forget a socket 2023-10-27 16:59:13 +02:00
CMakeLists.txt cmake: fix unity with Windows Unicode + TrackMemory 2023-10-03 09:43:46 +00:00
config-amigaos.h build: delete HAVE_STDINT_H and HAVE_INTTYPES_H 2023-11-06 17:20:39 +00:00
config-dos.h build: variadic macro tidy-ups 2023-10-27 00:37:34 +00:00
config-mac.h lib: remove TIME_WITH_SYS_TIME 2023-09-28 22:58:36 +02:00
config-os400.h build: delete HAVE_STDINT_H and HAVE_INTTYPES_H 2023-11-06 17:20:39 +00:00
config-plan9.h build: delete HAVE_STDINT_H and HAVE_INTTYPES_H 2023-11-06 17:20:39 +00:00
config-riscos.h build: delete HAVE_STDINT_H and HAVE_INTTYPES_H 2023-11-06 17:20:39 +00:00
config-win32.h build: delete HAVE_STDINT_H and HAVE_INTTYPES_H 2023-11-06 17:20:39 +00:00
config-win32ce.h lib: remove TIME_WITH_SYS_TIME 2023-09-28 22:58:36 +02:00
conncache.c urldata: move the 'internal' boolean to the state struct 2023-10-20 16:59:52 +02:00
conncache.h lib: add CURLINFO_CONN_ID and CURLINFO_XFER_ID 2023-06-12 23:53:00 +02:00
connect.c lib: introduce struct easy_poll_set for poll information 2023-10-25 09:34:32 +02:00
connect.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
content_encoding.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
content_encoding.h lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
cookie.c lib: add and use Curl_strndup() 2023-11-02 20:35:20 +01:00
cookie.h cookie: reduce variable scope, add const 2023-09-15 22:09:43 +02:00
curl_addrinfo.c misc: fix spelling mistakes 2023-05-23 10:42:09 +02:00
curl_addrinfo.h
curl_base64.h tool: add "variable" support 2023-07-31 11:51:34 +02:00
curl_config.h.cmake build: delete HAVE_STDINT_H and HAVE_INTTYPES_H 2023-11-06 17:20:39 +00:00
curl_ctype.h escape: replace Curl_isunreserved with ISUNRESERVED 2023-09-14 03:07:45 -04:00
curl_des.c nss: remove support for this TLS library 2023-07-29 23:44:28 +02:00
curl_des.h nss: remove support for this TLS library 2023-07-29 23:44:28 +02:00
curl_endian.c
curl_endian.h
curl_fnmatch.c
curl_fnmatch.h
curl_get_line.c
curl_get_line.h
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c gssapi: align global gss_OID_desc vars to silence ld warnings on macOS ventura 2023-03-10 08:04:42 +01:00
curl_gssapi.h
curl_hmac.h lib: enable hmac for digest as well 2023-09-20 13:38:42 +02:00
curl_krb5.h
curl_ldap.h
curl_md4.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
curl_md5.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
curl_memory.h cmake: add support for "unity" builds 2023-06-07 13:06:08 +00:00
curl_memrchr.c
curl_memrchr.h build: delete checks for C89 standard headers 2023-09-26 14:25:10 +00:00
curl_multibyte.c
curl_multibyte.h
curl_ntlm_core.c crypto: ensure crypto initialization works 2023-08-08 10:44:01 +02:00
curl_ntlm_core.h nss: remove support for this TLS library 2023-07-29 23:44:28 +02:00
curl_ntlm_wb.c curl_ntlm_wb: fix elif typo 2023-10-21 10:29:02 +02:00
curl_ntlm_wb.h
curl_path.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
curl_path.h
curl_printf.h cmake: add support for "unity" builds 2023-06-07 13:06:08 +00:00
curl_range.c
curl_range.h
curl_rtmp.c lib: unify the upload/method handling 2023-04-25 12:38:38 +02:00
curl_rtmp.h
curl_sasl.c lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
curl_sasl.h
curl_setup_once.h build: delete HAVE_STDINT_H and HAVE_INTTYPES_H 2023-11-06 17:20:39 +00:00
curl_setup.h configure: better --disable-http 2023-10-30 17:02:13 +01:00
curl_sha256.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
curl_sspi.c
curl_sspi.h curl_sspi: support more revocation error names in error messages 2023-11-03 03:50:59 -04:00
curl_threads.c mingw: delete support for legacy mingw.org toolchain 2023-09-23 09:12:57 +00:00
curl_threads.h mingw: delete support for legacy mingw.org toolchain 2023-09-23 09:12:57 +00:00
curl_trc.c build: variadic macro tidy-ups 2023-10-27 00:37:34 +00:00
curl_trc.h build: variadic macro tidy-ups 2023-10-27 00:37:34 +00:00
curlx.h
dict.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
dict.h
doh.c doh: use PIPEWAIT when HTTP/2 is attempted 2023-10-27 17:13:24 +02:00
doh.h
dynbuf.c dynbuf: assert for NULL pointer inputs 2023-11-01 10:53:49 +01:00
dynbuf.h MQTT: improve receive of ACKs 2023-10-09 18:34:17 +02:00
dynhds.c http2: header conversion tightening 2023-10-21 14:36:51 +02:00
dynhds.h http2: header conversion tightening 2023-10-21 14:36:51 +02:00
easy_lock.h easy_lock: add a pthread_mutex_t fallback 2023-10-12 23:40:08 -04:00
easy.c urldata: move async resolver state from easy handle to connectdata 2023-10-26 17:29:17 +02:00
easygetopt.c
easyif.h Websocket en-/decoding 2023-04-25 23:16:51 +02:00
easyoptions.c haproxy: add --haproxy-clientip flag to spoof client IPs 2023-06-05 20:08:37 +02:00
easyoptions.h
escape.c lib: provide and use Curl_hexencode 2023-09-30 11:45:39 +02:00
escape.h lib: provide and use Curl_hexencode 2023-09-30 11:45:39 +02:00
file.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
file.h
fileinfo.c ftplistparser: replace realloc with dynbuf 2023-03-28 10:11:33 +02:00
fileinfo.h ftplistparser: replace realloc with dynbuf 2023-03-28 10:11:33 +02:00
fopen.c misc: better random strings 2023-09-16 11:37:57 +02:00
fopen.h
formdata.c lib: add and use Curl_strndup() 2023-11-02 20:35:20 +01:00
formdata.h configure, cmake, lib: more form api deprecation 2023-07-31 08:31:38 +02:00
ftp.c lib: introduce struct easy_poll_set for poll information 2023-10-25 09:34:32 +02:00
ftp.h ftp: add more conditions for connection reuse 2023-03-13 09:07:23 +01:00
ftplistparser.c spelling: fix codespell 2.2.6 typos 2023-10-03 21:37:56 +00:00
ftplistparser.h wildcard: remove files and move functions into ftplistparser.c 2023-03-03 23:25:30 +01:00
functypes.h
getenv.c getenv: PlayStation doesn't have getenv() 2023-10-19 17:00:35 +02:00
getinfo.c lib: add CURLINFO_CONN_ID and CURLINFO_XFER_ID 2023-06-12 23:53:00 +02:00
getinfo.h
gopher.c http: fix sending of large requests 2023-09-05 16:36:03 +02:00
gopher.h
hash.c hash: fix assigning same value 2023-04-14 09:26:26 +02:00
hash.h
headers.c headers: accept leading whitespaces on first response header 2023-08-07 12:45:45 +02:00
headers.h
hmac.c lib: enable hmac for digest as well 2023-09-20 13:38:42 +02:00
hostasyn.c urldata: move async resolver state from easy handle to connectdata 2023-10-26 17:29:17 +02:00
hostip4.c
hostip6.c hostip6: fix DEBUG_ADDRINFO builds 2023-10-28 00:27:20 -04:00
hostip.c hostip: silence compiler warning -Wparentheses-equality 2023-10-27 22:30:26 +00:00
hostip.h hostip: show the list of IPs when resolving is done 2023-10-20 23:00:10 +02:00
hostsyn.c
hsts.c lib: add and use Curl_strndup() 2023-11-02 20:35:20 +01:00
hsts.h
http1.c http: h1/h2 proxy unification 2023-09-25 20:12:18 +02:00
http1.h http: h1/h2 proxy unification 2023-09-25 20:12:18 +02:00
http2.c lib: introduce struct easy_poll_set for poll information 2023-10-25 09:34:32 +02:00
http2.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
http_aws_sigv4.c http_aws_sigv4: canonicalise valueless query params 2023-11-05 10:35:45 +01:00
http_aws_sigv4.h
http_chunks.c lib: move handling of data->req.writer_stack into Curl_client_write() 2023-09-28 10:00:13 +02:00
http_chunks.h
http_digest.c lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
http_digest.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
http_negotiate.c
http_negotiate.h
http_ntlm.c
http_ntlm.h
http_proxy.c lib: introduce struct easy_poll_set for poll information 2023-10-25 09:34:32 +02:00
http_proxy.h http: h1/h2 proxy unification 2023-09-25 20:12:18 +02:00
http.c strdup: do Curl_strndup without strncpy 2023-11-05 23:21:18 +01:00
http.h misc: fix spelling 2023-08-25 20:54:14 +02:00
idn.c idn: fix WinIDN null ptr deref on bad host 2023-10-05 03:11:41 -04:00
idn.h urlapi: return CURLUE_BAD_HOSTNAME if puny2idn encoding fails 2023-08-17 08:21:08 +02:00
if2ip.c lib: --disable-bindlocal builds curl without local binding support 2023-08-17 17:17:59 +02:00
if2ip.h
imap.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
imap.h
inet_ntop.c inet_ntop: add typecast to silence Coverity 2023-09-27 13:18:22 +02:00
inet_ntop.h
inet_pton.c urlapi: parse IPv6 literals without ENABLE_IPV6 2023-03-03 10:05:08 +01:00
inet_pton.h
krb5.c krb5: fix "implicit conversion loses integer precision" warnings 2023-09-07 16:17:13 +02:00
ldap.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
libcurl.plist.in
libcurl.rc
libcurl.vers.in
llist.c
llist.h
macos.c macOS: fix target detection more 2023-07-29 23:42:53 +02:00
macos.h macOS: fix target detection more 2023-07-29 23:42:53 +02:00
Makefile.am
Makefile.inc build: alpha-sort source files for lib and src 2023-10-03 12:58:17 +00:00
Makefile.mk Makefile.mk: fix -rtmp option for non-Windows [ci skip] 2023-10-28 10:06:43 +00:00
Makefile.soname
md4.c crypto: ensure crypto initialization works 2023-08-08 10:44:01 +02:00
md5.c lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
memdebug.c
memdebug.h
mime.c misc: better random strings 2023-09-16 11:37:57 +02:00
mime.h misc: better random strings 2023-09-16 11:37:57 +02:00
mprintf.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
mqtt.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
mqtt.h MQTT: improve receive of ACKs 2023-10-09 18:34:17 +02:00
multi.c urldata: move async resolver state from easy handle to connectdata 2023-10-26 17:29:17 +02:00
multihandle.h multi: remove PENDING + MSGSENT handles from the main linked list 2023-03-26 17:43:28 +02:00
multiif.h multiif.h: remove Curl_multi_dump declaration 2023-09-26 03:51:13 -04:00
netrc.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
netrc.h
nonblock.c
nonblock.h
noproxy.c noproxy: pointer to local array 'hostip' is stored outside scope 2023-04-12 09:00:20 +02:00
noproxy.h
openldap.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
optiontable.pl
parsedate.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
parsedate.h
pingpong.c lib: disambiguate Curl_client_write flag semantics 2023-09-21 08:56:50 +02:00
pingpong.h
pop3.c lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
pop3.h
progress.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
progress.h lib: let the max filesize option stop too big transfers too 2023-09-23 11:20:20 +02:00
psl.c
psl.h
rand.c rand: fix build error with autotools + LibreSSL 2023-11-06 10:11:56 +00:00
rand.h misc: better random strings 2023-09-16 11:37:57 +02:00
rename.c
rename.h
rtsp.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
rtsp.h RTSP: improved RTP parser 2023-10-21 14:38:21 +02:00
select.c select: avoid returning an error on EINTR from select() or poll() 2023-05-19 16:16:26 +02:00
select.h
sendf.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
sendf.h lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
setopt.c vtls: cleanup SSL config management 2023-10-31 14:29:36 +01:00
setopt.h
setup-os400.h os400: implement CLI tool 2023-08-30 11:38:27 +02:00
setup-vms.h egd: delete feature detection and related source code 2023-08-01 21:58:56 +00:00
setup-win32.h cmake: pre-fill rest of detection values for Windows 2023-10-24 21:06:36 +00:00
sha256.c lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
share.c
share.h
sigpipe.h build: delete checks for C89 standard headers 2023-09-26 14:25:10 +00:00
slist.c
slist.h
smb.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
smb.h cmake: add support for "unity" builds 2023-06-07 13:06:08 +00:00
smtp.c cmake: cache more config and delete unused ones 2023-08-01 21:59:00 +00:00
smtp.h
sockaddr.h
socketpair.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
socketpair.h asyn-thread: use pipe instead of socketpair for IPC when available 2023-10-18 08:23:53 +02:00
socks_gssapi.c
socks_sspi.c
socks.c urldata: move async resolver state from easy handle to connectdata 2023-10-26 17:29:17 +02:00
socks.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
speedcheck.c
speedcheck.h
splay.c
splay.h
strcase.c
strcase.h
strdup.c strdup: do Curl_strndup without strncpy 2023-11-05 23:21:18 +01:00
strdup.h strdup: do Curl_strndup without strncpy 2023-11-05 23:21:18 +01:00
strerror.c curl_sspi: support more revocation error names in error messages 2023-11-03 03:50:59 -04:00
strerror.h
strtok.c
strtok.h
strtoofft.c
strtoofft.h
system_win32.c
system_win32.h easy: remove #ifdefs to make code easier on the eye 2023-07-26 23:57:08 +02:00
telnet.c lib: let the max filesize option stop too big transfers too 2023-09-23 11:20:20 +02:00
telnet.h
tftp.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
tftp.h
timediff.c
timediff.h
timeval.c multi: round the timeout up to prevent early wakeups 2023-09-28 09:52:20 +02:00
timeval.h multi: round the timeout up to prevent early wakeups 2023-09-28 09:52:20 +02:00
transfer.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
transfer.h
url.c url: proxy ssl connection reuse fix 2023-11-03 16:43:45 +01:00
url.h url: protocol handler lookup tidy-up 2023-10-27 16:55:54 +02:00
urlapi-int.h urlapi: make internal function start with Curl_ 2023-04-27 08:36:51 +02:00
urlapi.c lib: add and use Curl_strndup() 2023-11-02 20:35:20 +01:00
urldata.h lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
version_win32.c
version_win32.h
version.c configure: better --disable-http 2023-10-30 17:02:13 +01:00
warnless.c warnless: remove unused functions 2023-09-25 17:06:33 +02:00
warnless.h cmake: add support for "unity" builds 2023-06-07 13:06:08 +00:00
ws.c build: variadic macro tidy-ups 2023-10-27 00:37:34 +00:00
ws.h Websocket en-/decoding 2023-04-25 23:16:51 +02:00