curl/include/curl
Viktor Szakats 430f9b03fd
CURLOPT: bump CURLFTP* enums to long, drop casts
This patch bumps the size of these constants from `int` to `long`, while
keeping their actual values the same. It may cause incompatibilities in
user code, requiring the bump of holder variables and/or adding casts:

- CURLFTP_CREATE_DIR
- CURLFTP_CREATE_DIR_NONE
- CURLFTP_CREATE_DIR_RETRY
- CURLFTPAUTH_DEFAULT
- CURLFTPAUTH_SSL
- CURLFTPAUTH_TLS
- CURLFTPMETHOD_DEFAULT
- CURLFTPMETHOD_MULTICWD
- CURLFTPMETHOD_NOCWD
- CURLFTPMETHOD_SINGLECWD
- CURLFTPSSL_CCC_ACTIVE
- CURLFTPSSL_CCC_NONE
- CURLFTPSSL_CCC_PASSIVE

Also:
- keep existing casts within the documentation to make sure it applies
  to older curl versions as well.

Closes #17797
2025-07-28 10:32:13 +02:00
..
curl.h CURLOPT: bump CURLFTP* enums to long, drop casts 2025-07-28 10:32:13 +02:00
curlver.h RELEASE-NOTES: synced 2025-07-27 18:03:13 +02:00
easy.h tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
header.h tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
Makefile.am checksrc: avoid extra runs in CI, enable more check locally, fix fallouts 2025-05-19 18:59:50 +02:00
mprintf.h tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
multi.h tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
options.h tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
stdcheaders.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
system.h tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
typecheck-gcc.h misc: fix spelling 2025-05-28 22:47:12 +02:00
urlapi.h tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
websockets.h tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00