summaryrefslogtreecommitdiff
path: root/docs/examples/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* examples/libtest: add .checksrc to distDaniel Stenberg2020-12-211-1/+1
| | | | | | | ... so that (auto)builds from tarballs also get the correct instructions. Fixes #6176 Closes #6353
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* examples/README: convert to markdownDaniel Stenberg2020-09-301-1/+1
| | | | Closes #6028
* checksrc: invoke script with -D to find .checksrc properDaniel Stenberg2020-08-011-1/+1
| | | | | | | | | | Without the -D command line option, checksrc.pl won't know which directory to load the ".checksrc" file from when building out of the source tree. Reported-by: Marcel Raad Fixes #5715 Closes #5755
* source cleanup: remove all custom typedef structsDaniel Stenberg2020-05-151-2/+2
| | | | | | | | | | | - Stick to a single unified way to use structs - Make checksrc complain on 'typedef struct {' - Allow them in tests, public headers and examples - Let MD4_CTX, MD5_CTX, and SHA256_CTX typedefs remain as they actually typedef different types/structs depending on build conditions. Closes #5338
* makefile: make checksrc and hugefile commands "silent"Daniel Stenberg2019-03-141-2/+7
| | | | | | | ... to match the style already used for compiling, linking etc. Acknowledges 'make V=1' to enable verbose. Closes #3681
* snprintf: renamed and we now only use msnprintf()Daniel Stenberg2018-11-231-1/+1
| | | | | | | | | | | 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
* whitespace fixesViktor Szakats2018-09-231-1/+1
| | | | | | | | | | | - 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
* build: get CFLAGS (including -werror) used for examples and testsDaniel Stenberg2018-03-041-1/+4
| | | | | | ... so that the CI and more detects compiler warnings/errors properly! Closes #2337
* includes: remove curl/curlbuild.h and curl/curlrules.hDaniel Stenberg2017-06-141-6/+2
| | | | | | | | Rely entirely on curl/system.h now. Introduced in Aug 2008 with commit 14240e9e109f. Now gone. Fixes #1456
* make/checksrc: use $srcdir, not $top_srcdirDaniel Stenberg2016-04-191-1/+1
|
* checksrc/makefile.am: use $top_srcdir to find source filesDaniel Stenberg2016-04-181-1/+1
| | | | ... to properly support out of source tree builds.
* examples/make: add 'checksrc' targetDaniel Stenberg2016-02-171-1/+4
|
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* curl.h: stricter CURL_EXTERN linkage decorations logicYang Tse2013-03-121-1/+0
| | | | | | No API change involved. Info: http://curl.haxx.se/mail/lib-2013-02/0234.html
* build: fix circular header inclusion with other packagesYang Tse2013-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* build: explain current role of LIBS in our Makefile.am filesYang Tse2012-12-041-1/+1
| | | | | | | 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.
* build: prevent global LIBS from influencing examples build targetsYang Tse2012-11-301-2/+11
|
* uniformly use AM_CPPFLAGS, avoid deprecated INCLUDESDave Reisner2012-11-061-5/+4
| | | | | | | | | | | | | 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)
* examples: fix compiler warningsYang Tse2012-04-131-1/+1
|
* configure: Windows cross-compilation fixesYang Tse2012-04-091-6/+6
| | | | | | 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
* Added header to be included by dist script.Guenter Knauf2011-09-241-1/+1
| | | | Probably the wrong place, but I dont know better.
* Added NetWare examples makefile.Guenter Knauf2011-09-221-1/+1
|
* source header: added to more filesDaniel Stenberg2011-03-121-0/+19
|
* examples: build all examples easierDaniel Stenberg2010-12-171-1/+1
|
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* I removed leading 'curl' path on the 'curlbuild.h' include statement inYang Tse2009-11-051-2/+4
| | | | | curl.h, adjusting auto-makefiles include path, to enhance portability to OS's without an orthogonal directory tree structure such as OS/400.
* Initial support of curlbuild.h and curlrules.h which allowsYang Tse2008-08-071-1/+3
| | | | to have a curl_off_t data type no longer gated to off_t.
* add comment for include pathsYang Tse2008-07-151-0/+7
|
* Changed the makefile so the doc/examples/ programs are never built in aDan Fandrich2008-03-311-1/+1
| | | | | normal build/install (only with the 'make check' target), so that a build failure in the examples isn't fatal.
* moved sample program defines into separate Makefile.inc so that other ↵Gunter Knauf2008-02-181-15/+5
| | | | makefiles can pick up the defines from there.
* threaded-ssl.c is a little example that does multi-threaded downloads fromDaniel Stenberg2008-02-031-1/+1
| | | | | HTTPS sites with OpenSSL-enabled libcurl (and pthreads) and thus do the thread-locking and things openssl-style.
* Andres Garcia made the examples build fine on Windows (mingw + msys) whenDaniel Stenberg2007-11-171-1/+7
| | | | the lib was built staticly.
* Compile samples with -DCURL_NO_OLDIESDan Fandrich2007-09-131-0/+1
|
* The examples don't need access to curl internal source files.Dan Fandrich2007-07-131-3/+1
|
* fix include pathDaniel Stenberg2007-07-121-1/+1
|
* Compile most of the example apps in docs/examples when doing a 'make check'.Dan Fandrich2007-07-121-14/+28
|
* Added ghiper.c, Jeff Pohlmeyer's example code using the curl_multi_socket()Daniel Stenberg2006-10-101-1/+1
| | | | API with glib2
* hiperfifo.c by Jeff PohlmeyerDaniel Stenberg2006-09-121-1/+2
|
* The new ftpuploadresume.c example by Philip BockDaniel Stenberg2006-05-111-1/+1
|
* new little example using the new conversion callbacks added in 7.15.4Daniel Stenberg2006-04-091-1/+1
|
* Frank's synctime.c example and an updated list in READMEDaniel Stenberg2006-02-041-1/+1
|
* Theo Borm's example, as was posted here:Daniel Stenberg2005-08-241-1/+1
| | | | http://curl.haxx.se/mail/lib-2005-08/0163.html
* Peteris Krumins added CURLOPT_COOKIELIST and CURLINFO_COOKIELIST, which is aDaniel Stenberg2005-07-271-1/+2
| | | | | simple interface to extracting and setting cookies in libcurl's internal "cookie jar". See the new cookie_interface.c example code.
* Jeremy Brown's OpenSSL thread-locking exampleDaniel Stenberg2005-05-091-1/+1
|
* another exampleDaniel Stenberg2005-02-021-1/+1
|
* HTML <head> parsing (with libxml) example code by Lars Nilsson.Daniel Stenberg2005-01-311-1/+1
|
* HTTP "auth done right". See lib/README.httpauthDaniel Stenberg2004-11-241-1/+2
|
* debug.c is a fresh new example showing how to use the DEBUGFUNCTION to getDaniel Stenberg2004-08-231-1/+1
| | | | lots of fine info from a transfer
* Added example of how to use the upcoming support for FTP 3rd party transfersDaniel Stenberg2004-06-031-1/+1
|