aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/Makefile.am
AgeCommit message (Collapse)Author
2018-11-23snprintf: renamed and we now only use msnprintf()Daniel Stenberg
The function does not return the same value as snprintf() normally does, so readers may be mislead into thinking the code works differently than it actually does. A different function name makes this easier to detect. Reported-by: Tomas Hoger Assisted-by: Daniel Gustafsson Fixes #3296 Closes #3297
2018-09-23whitespace fixesViktor Szakats
- replace tabs with spaces where possible - remove line ending spaces - remove double/triple newlines at EOF - fix a non-UTF-8 character - cleanup a few indentations/line continuations in manual examples Closes https://github.com/curl/curl/pull/3037
2018-03-04build: get CFLAGS (including -werror) used for examples and testsDaniel Stenberg
... so that the CI and more detects compiler warnings/errors properly! Closes #2337
2017-06-14includes: remove curl/curlbuild.h and curl/curlrules.hDaniel Stenberg
Rely entirely on curl/system.h now. Introduced in Aug 2008 with commit 14240e9e109f. Now gone. Fixes #1456
2016-04-19make/checksrc: use $srcdir, not $top_srcdirDaniel Stenberg
2016-04-18checksrc/makefile.am: use $top_srcdir to find source filesDaniel Stenberg
... to properly support out of source tree builds.
2016-02-17examples/make: add 'checksrc' targetDaniel Stenberg
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2013-03-12curl.h: stricter CURL_EXTERN linkage decorations logicYang Tse
No API change involved. Info: http://curl.haxx.se/mail/lib-2013-02/0234.html
2013-01-09build: fix circular header inclusion with other packagesYang Tse
This commit renames lib/setup.h to lib/curl_setup.h and renames lib/setup_once.h to lib/curl_setup_once.h. Removes the need and usage of a header inclusion guard foreign to libcurl. [1] Removes the need and presence of an alarming notice we carried in old setup_once.h [2] ---------------------------------------- 1 - lib/setup_once.h used __SETUP_ONCE_H macro as header inclusion guard up to commit ec691ca3 which changed this to HEADER_CURL_SETUP_ONCE_H, this single inclusion guard is enough to ensure that inclusion of lib/setup_once.h done from lib/setup.h is only done once. Additionally lib/setup.h has always used __SETUP_ONCE_H macro to protect inclusion of setup_once.h even after commit ec691ca3, this was to avoid a circular header inclusion triggered when building a c-ares enabled version with c-ares sources available which also has a setup_once.h header. Commit ec691ca3 exposes the real nature of __SETUP_ONCE_H usage in lib/setup.h, it is a header inclusion guard foreign to libcurl belonging to c-ares's setup_once.h The renaming this commit does, fixes the circular header inclusion, and as such removes the need and usage of a header inclusion guard foreign to libcurl. Macro __SETUP_ONCE_H no longer used in libcurl. 2 - Due to the circular interdependency of old lib/setup_once.h and the c-ares setup_once.h header, old file lib/setup_once.h has carried back from 2006 up to now days an alarming and prominent notice about the need of keeping libcurl's and c-ares's setup_once.h in sync. Given that this commit fixes the circular interdependency, the need and presence of mentioned notice is removed. All mentioned interdependencies come back from now old days when the c-ares project lived inside a curl subdirectory. This commit removes last traces of such fact.
2012-12-04build: explain current role of LIBS in our Makefile.am filesYang Tse
BLANK_AT_MAKETIME may be used in our Makefile.am files to blank LIBS variable used in generated makefile at makefile processing time. Doing this functionally prevents LIBS from being used for all link targets in given makefile.
2012-11-30build: prevent global LIBS from influencing examples build targetsYang Tse
2012-11-06uniformly use AM_CPPFLAGS, avoid deprecated INCLUDESDave Reisner
Since automake 1.12.4, the warnings are issued on running automake: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Avoid INCLUDES and roll these flags into AM_CPPFLAGS. Compile tested on: Ubuntu 10.04 (automake 1:1.11.1-1) Ubuntu 12.04 (automake 1:1.11.3-1ubuntu2) Arch Linux (automake 1.12.4)
2012-04-13examples: fix compiler warningsYang Tse
2012-04-09configure: Windows cross-compilation fixesYang Tse
BUILDING_LIBCURL and CURL_STATICLIB are no longer defined in curl_config.h, configure will generate appropriate conditionals so that mentioned symbols get defined and used in Makefiles at compilation time
2011-09-24Added header to be included by dist script.Guenter Knauf
Probably the wrong place, but I dont know better.
2011-09-22Added NetWare examples makefile.Guenter Knauf
2011-03-12source header: added to more filesDaniel Stenberg
2010-12-17examples: build all examples easierDaniel Stenberg
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2009-11-05I removed leading 'curl' path on the 'curlbuild.h' include statement inYang Tse
curl.h, adjusting auto-makefiles include path, to enhance portability to OS's without an orthogonal directory tree structure such as OS/400.
2008-08-07Initial support of curlbuild.h and curlrules.h which allowsYang Tse
to have a curl_off_t data type no longer gated to off_t.
2008-07-15add comment for include pathsYang Tse
2008-03-31Changed the makefile so the doc/examples/ programs are never built in aDan Fandrich
normal build/install (only with the 'make check' target), so that a build failure in the examples isn't fatal.
2008-02-18moved sample program defines into separate Makefile.inc so that other ↵Gunter Knauf
makefiles can pick up the defines from there.
2008-02-03threaded-ssl.c is a little example that does multi-threaded downloads fromDaniel Stenberg
HTTPS sites with OpenSSL-enabled libcurl (and pthreads) and thus do the thread-locking and things openssl-style.
2007-11-17Andres Garcia made the examples build fine on Windows (mingw + msys) whenDaniel Stenberg
the lib was built staticly.
2007-09-13Compile samples with -DCURL_NO_OLDIESDan Fandrich
2007-07-13The examples don't need access to curl internal source files.Dan Fandrich
2007-07-12fix include pathDaniel Stenberg
2007-07-12Compile most of the example apps in docs/examples when doing a 'make check'.Dan Fandrich
2006-10-10Added ghiper.c, Jeff Pohlmeyer's example code using the curl_multi_socket()Daniel Stenberg
API with glib2
2006-09-12hiperfifo.c by Jeff PohlmeyerDaniel Stenberg
2006-05-11The new ftpuploadresume.c example by Philip BockDaniel Stenberg
2006-04-09new little example using the new conversion callbacks added in 7.15.4Daniel Stenberg
2006-02-04Frank's synctime.c example and an updated list in READMEDaniel Stenberg
2005-08-24Theo Borm's example, as was posted here:Daniel Stenberg
http://curl.haxx.se/mail/lib-2005-08/0163.html
2005-07-27Peteris Krumins added CURLOPT_COOKIELIST and CURLINFO_COOKIELIST, which is aDaniel Stenberg
simple interface to extracting and setting cookies in libcurl's internal "cookie jar". See the new cookie_interface.c example code.
2005-05-09Jeremy Brown's OpenSSL thread-locking exampleDaniel Stenberg
2005-02-02another exampleDaniel Stenberg
2005-01-31HTML <head> parsing (with libxml) example code by Lars Nilsson.Daniel Stenberg
2004-11-24HTTP "auth done right". See lib/README.httpauthDaniel Stenberg
2004-08-23debug.c is a fresh new example showing how to use the DEBUGFUNCTION to getDaniel Stenberg
lots of fine info from a transfer
2004-06-03Added example of how to use the upcoming support for FTP 3rd party transfersDaniel Stenberg
2004-06-03getinfo.c is a new tiny example that uses curl_easy_getinfo() to get theDaniel Stenberg
content-type after a transfer.
2004-05-26added example that makes an upload to a file:// urlDaniel Stenberg
2004-05-24new example proving that the debug callback works even when the multiDaniel Stenberg
interface is used
2004-05-13added https.cDaniel Stenberg
2003-10-03Peter Sylvester's curlx.c code example addedDaniel Stenberg
2003-05-21 Gisle Vanem made curl build with djgpp on DOS.Daniel Stenberg