curl/include
Jay Satiro 9c822a9994 header: define public API functions as extern c
Prior to this change linker errors would occur if curl_easy_header or
curl_easy_nextheader was called from a C++ unit.

Bug: https://github.com/curl/curl/issues/9424#issuecomment-1238818007
Reported-by: Andrew Lambert

Closes https://github.com/curl/curl/pull/9446
2022-09-08 11:54:32 -04:00
..
curl header: define public API functions as extern c 2022-09-08 11:54:32 -04:00
Makefile.am copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
README.md copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00

include

Public include files for libcurl, external users.

They're 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.