Commit 7a8a2041 authored by Michal Marek's avatar Michal Marek
Browse files

- Added a type checking macro for curl_easy_setopt(), needs gcc-4.3 and only

parent 458925ae
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -6,6 +6,11 @@

                                  Changelog

Michal Marek (11 Mar 2008)
- Added a type checking macro for curl_easy_setopt(), needs gcc-4.3 and only
  works in C mode atm (http://curl.haxx.se/mail/lib-2008-02/0267.html ,
  http://curl.haxx.se/mail/lib-2008-02/0292.html )

Daniel Fandrich (10 Mar 2008)
- Added tests 618-621 to test SFTP/SCP transfers of more than one file
  (test 620 tests the just-fixed problem reported by Brian Ulm).
+3 −0
Original line number Diff line number Diff line
@@ -17,6 +17,9 @@ This release includes the following changes:
 o the test509-style setting URL in callback is officially no longer supported
 o support a full chain of certificates in a given PKCS12 certificate
 o resumed transfers work with SFTP
 o added a type checking macro for curl_easy_setopt(), watch out for new
   warnings in code using libcurl (needs gcc-4.3 and currently only works
   in C mode)

This release includes the following bugfixes:

+5 −0
Original line number Diff line number Diff line
@@ -1374,6 +1374,11 @@ operations.

If the crypto device cannot be set, \fICURLE_SSL_ENGINE_SETFAILED\fP is
returned.

Note that even though this option doesn't need any parameter, in some
configurations \fIcurl_easy_setopt\fP might be defined as a macro taking
exactly three arguments. Therefore, it's recommended to pass a dummy value as
parameter.
.IP CURLOPT_SSLVERSION
Pass a long as parameter to control what version of SSL/TLS to attempt to use.
The available options are:
+2 −1
Original line number Diff line number Diff line
pkginclude_HEADERS = \
	curl.h curlver.h easy.h mprintf.h stdcheaders.h types.h multi.h
	curl.h curlver.h easy.h mprintf.h stdcheaders.h types.h multi.h \
	typecheck-gcc.h
pkgincludedir= $(includedir)/curl

CLEANFILES = *dist
+5 −0
Original line number Diff line number Diff line
@@ -1791,4 +1791,9 @@ CURL_EXTERN CURLcode curl_easy_pause(CURL *handle, int bitmask);
#include "easy.h" /* nothing in curl is fun without the easy stuff */
#include "multi.h"

/* the typechecker doesn't work in C++ (yet) */
#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) && !defined(__cplusplus)
#include "typecheck-gcc.h"
#endif /* gcc >= 4.3 && !__cplusplus */

#endif /* __CURL_CURL_H */
Loading