mirror of
https://github.com/curl/curl.git
synced 2026-01-18 17:21:26 +01:00
This patch bumps the size of these macros 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: - CURLGSSAPI_DELEGATION_FLAG - CURLGSSAPI_DELEGATION_NONE - CURLGSSAPI_DELEGATION_POLICY_FLAG - CURLMIMEOPT_FORMESCAPE - CURLSSH_AUTH_AGENT - CURLSSH_AUTH_ANY - CURLSSH_AUTH_DEFAULT - CURLSSH_AUTH_GSSAPI - CURLSSH_AUTH_HOST - CURLSSH_AUTH_KEYBOARD - CURLSSH_AUTH_NONE - CURLSSH_AUTH_PASSWORD - CURLSSH_AUTH_PUBLICKEY Also: - keep existing cast within the documentation to make sure it applies to older curl versions as well. Closes #18134
include
Public include files for libcurl, external users.
They are all placed in the curl subdirectory here for better fit in any kind of environment. You must include files from here using...
#include <curl/curl.h>
... style and point the compiler's include path to the directory holding the curl subdirectory. It makes it more likely to survive future modifications.
The public curl include files can be shared freely between different platforms and different architectures.