1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00
Go to file
Marcel Raad cbb59ed9ce
typecheck-gcc: handle function pointers properly
All the callbacks passed to curl_easy_setopt are defined as function
pointers. The possibility to pass both functions and function pointers
was handled for the callbacks that typecheck-gcc.h defined as
compatible, but not for the public callback types themselves.

This makes all compatible callback types defined in typecheck-gcc.h
function pointers too and checks all functions uniformly with
_curl_callback_compatible, which handles both functions and function
pointers.

A symptom of the problem was a warning in tool_operate.c with
--disable-libcurl-option and without --enable-debug as that file
passes the callback functions to curl_easy_setopt directly.

Fixes https://github.com/curl/curl/issues/1403
Closes https://github.com/curl/curl/pull/1404
2017-04-21 23:18:59 +02:00
.github .github/stale.yml: enable the stale bot 2017-04-09 00:08:51 +02:00
CMake spelling fixes 2017-03-26 23:56:23 +02:00
docs THANKS: add contributors from 7.54.0 release notes 2017-04-19 07:41:40 +02:00
include typecheck-gcc: handle function pointers properly 2017-04-21 23:18:59 +02:00
lib mbedtls: enable NTLM (& SMB) even if MD4 support is unavailable 2017-04-21 22:42:14 +02:00
m4 curl-compilers.m4: turn implicit function declarations into errors 2017-04-15 21:17:56 +02:00
packages spelling fixes 2017-03-26 23:56:23 +02:00
projects checksrc.bat: Ignore curl_config.h.in, curl_config.h 2017-03-02 02:51:13 -05:00
scripts updatemanpages.pl: Update man pages to use current date and versions 2017-03-07 23:27:31 +01:00
src Revert "src/Makefile.am: avoid explicit $<" 2017-04-20 09:16:12 +02:00
tests tests: remove the html and PDF versions from the tarball 2017-04-21 16:26:53 +02:00
winbuild winbuild: add basic support for OpenSSL 1.1.x 2017-03-13 16:05:33 -04:00
.dir-locals.el Add .dir-locals and set c-basic-offset to 2. 2015-12-23 10:16:14 +01:00
.gitattributes .gitattributes: force shell scripts to LF 2017-04-17 08:32:13 +02:00
.gitignore build: Install zsh completion 2015-11-24 22:22:01 +01:00
.travis.yml travis: run tests-nonflaky instead of tests-full 2017-03-22 10:55:10 +01:00
acinclude.m4 Revert "configure: prefer 'long long' to int64_t for curl_off_t" 2017-04-05 15:08:33 +02:00
appveyor.yml Appveyor: Updates for options - CURL_STATICLIB/BUILD_TESTING 2016-07-01 09:53:22 +02:00
buildconf URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
buildconf.bat dist: ship buildconf.bat too 2016-02-12 16:45:25 +01:00
CHANGES CHANGES: spell fix, use correct path to script 2017-02-07 08:22:37 +01:00
CMakeLists.txt cmake: build manual pages (including curl.1) 2017-03-21 14:49:53 +01:00
configure.ac configure.ac: ignore CR after version numbers 2017-04-17 08:32:45 +02:00
COPYING COPYING: update the generic copyright year range 2017-01-07 20:25:43 +01:00
curl-config.in URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
GIT-INFO CHANGES.0: removed 2017-02-07 08:20:10 +01:00
libcurl.pc.in URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
MacOSX-Framework MacOSX-Framework: sdk regex fix for sdk 10.10 and later 2015-10-25 12:35:49 +01:00
Makefile.am dist: add missing files to the tarball 2017-03-31 00:05:31 +02:00
Makefile.dist VC: remove the makefile.vc6 build infra 2017-01-23 14:27:32 +01:00
maketgz maketgz: Run updatemanpages.pl to update man pages 2017-03-07 23:36:17 +01:00
README URLs: follow GitHub project rename (also Travis CI) 2016-02-04 23:01:38 +01:00
README.md README.md: add coverity and travis badges 2017-03-10 14:50:29 +01:00
RELEASE-NOTES bump: start working on next release 2017-04-19 23:16:10 +02:00

curl logo CII Best Practices Coverity passed Build Status

Curl is a command-line tool for transferring data specified with URL syntax. Find out how to use curl by reading the curl.1 man page or the MANUAL document. Find out how to install Curl by reading the INSTALL document.

libcurl is the library curl is using to do its job. It is readily available to be used by your software. Read the libcurl.3 man page to learn how!

You find answers to the most frequent questions we get in the FAQ document.

Study the COPYING file for distribution terms and similar. If you distribute curl binaries or other binaries that involve libcurl, you might enjoy the LICENSE-MIXING document.

Contact

If you have problems, questions, ideas or suggestions, please contact us by posting to a suitable mailing list.

All contributors to the project are listed in the THANKS document.

Website

Visit the curl web site for the latest news and downloads.

Git

To download the very latest source off the Git server do this:

git clone https://github.com/curl/curl.git

(you'll get a directory named curl created, filled with the source code)

Notice

Curl contains pieces of source code that is Copyright (c) 1998, 1999 Kungliga Tekniska Högskolan. This notice is included here to comply with the distribution terms.