From 6398f71cc44b60da4c5e579bfdfdd33c572532ba Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Mon, 18 Feb 2008 15:32:34 +0000 Subject: moved sample program defines into separate Makefile.inc so that other makefiles can pick up the defines from there. --- docs/examples/Makefile.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docs/examples/Makefile.inc (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc new file mode 100644 index 000000000..8753d4f4b --- /dev/null +++ b/docs/examples/Makefile.inc @@ -0,0 +1,16 @@ +# These are all libcurl example programs to be test compiled +noinst_PROGRAMS = 10-at-a-time anyauthput cookie_interface \ + debug fileupload fopen ftpget ftpgetresp ftpupload \ + getinfo getinmemory http-post httpput \ + https multi-app multi-debugcallback multi-double \ + multi-post multi-single persistant post-callback \ + postit2 sepheaders simple simplepost simplessl + +# These examples require external dependencies that may not be commonly +# available on POSIX systems, so don't bother attempting to compile them here. +COMPLICATED_EXAMPLES = \ + curlgtk.c curlx.c htmltitle.cc cacertinmem.c ftpuploadresume.c \ + ghiper.c hiperfifo.c htmltidy.c multithread.c \ + opensslthreadlock.c sampleconv.c synctime.c threaded-ssl.c + + -- cgit v1.2.1 From 1e482fe6a8dbc36a4e9ad19eb8fec98f240b5ed5 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 31 Mar 2008 03:01:13 +0000 Subject: Changed the makefile so the doc/examples/ programs are never built in a normal build/install (only with the 'make check' target), so that a build failure in the examples isn't fatal. --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index 8753d4f4b..5d0c162a5 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -1,5 +1,5 @@ # These are all libcurl example programs to be test compiled -noinst_PROGRAMS = 10-at-a-time anyauthput cookie_interface \ +check_PROGRAMS = 10-at-a-time anyauthput cookie_interface \ debug fileupload fopen ftpget ftpgetresp ftpupload \ getinfo getinmemory http-post httpput \ https multi-app multi-debugcallback multi-double \ -- cgit v1.2.1 From 514592b89207e83d13b5a4e79bc247aa6f74c4b7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 12 May 2008 21:43:24 +0000 Subject: - Introducing curl_easy_send() and curl_easy_recv(). They can be used to send and receive data over a connection previously setup with curl_easy_perform() and its CURLOPT_CONNECT_ONLY option. The sendrecv.c example was added to show how they can be used. --- docs/examples/Makefile.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index 5d0c162a5..840c9bf6c 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -4,7 +4,8 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface \ getinfo getinmemory http-post httpput \ https multi-app multi-debugcallback multi-double \ multi-post multi-single persistant post-callback \ - postit2 sepheaders simple simplepost simplessl + postit2 sepheaders simple simplepost simplessl \ + sendrecv # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -- cgit v1.2.1 From aab2d52b25776345f88537fd22f3d79c0fce170d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 13 Aug 2008 08:51:52 +0000 Subject: httpcustomheader.c is a new tiny example showing a HTTP request with a custom header replacing an internal one --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index 840c9bf6c..68b66c3e3 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -5,7 +5,7 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface \ https multi-app multi-debugcallback multi-double \ multi-post multi-single persistant post-callback \ postit2 sepheaders simple simplepost simplessl \ - sendrecv + sendrecv httpcustomheader # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -- cgit v1.2.1 From 4c9768565ec3a9baf26ac8a547bca6e42cc64fa5 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 5 Sep 2008 14:29:21 +0000 Subject: - Introducing CURLOPT_CERTINFO and the corresponding CURLINFO_CERTINFO. By enabling this feature with CURLOPT_CERTINFO for a request using SSL (HTTPS or FTPS), libcurl will gather lots of server certificate info and that info can then get extracted by a client after the request has completed with curl_easy_getinfo()'s CURLINFO_CERTINFO option. Linus Nielsen Feltzing helped me test and smoothen out this feature. Unfortunately, this feature currently only works with libcurl built to use OpenSSL. This feature was sponsored by networking4all.com - thanks! --- docs/examples/Makefile.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index 68b66c3e3..c3ee0228b 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -5,7 +5,7 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface \ https multi-app multi-debugcallback multi-double \ multi-post multi-single persistant post-callback \ postit2 sepheaders simple simplepost simplessl \ - sendrecv httpcustomheader + sendrecv httpcustomheader certinfo # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. @@ -14,4 +14,3 @@ COMPLICATED_EXAMPLES = \ ghiper.c hiperfifo.c htmltidy.c multithread.c \ opensslthreadlock.c sampleconv.c synctime.c threaded-ssl.c - -- cgit v1.2.1 From dd2fc45c27d71faf5d37abb313758c0df6c9afd4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 21 Nov 2008 10:10:33 +0000 Subject: Markus Koetter's adaptation of hiperfifo.c to instead use libev --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index c3ee0228b..14ba74e8c 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -12,5 +12,5 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface \ COMPLICATED_EXAMPLES = \ curlgtk.c curlx.c htmltitle.cc cacertinmem.c ftpuploadresume.c \ ghiper.c hiperfifo.c htmltidy.c multithread.c \ - opensslthreadlock.c sampleconv.c synctime.c threaded-ssl.c + opensslthreadlock.c sampleconv.c synctime.c threaded-ssl.c evhiperfifo.c -- cgit v1.2.1 From d0552269498456199cab92f319d96ff0a7b72314 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Thu, 3 Sep 2009 17:54:02 +0000 Subject: added chkspeed to samples. --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index 14ba74e8c..4ac1878f9 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -5,7 +5,7 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface \ https multi-app multi-debugcallback multi-double \ multi-post multi-single persistant post-callback \ postit2 sepheaders simple simplepost simplessl \ - sendrecv httpcustomheader certinfo + sendrecv httpcustomheader certinfo chkspeed # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -- cgit v1.2.1 From aaed838872779eaa08f92acea9c848bd522bb14c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 5 Sep 2009 17:54:30 +0000 Subject: add ftpgetinfo --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index 4ac1878f9..c104368e9 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -5,7 +5,7 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface \ https multi-app multi-debugcallback multi-double \ multi-post multi-single persistant post-callback \ postit2 sepheaders simple simplepost simplessl \ - sendrecv httpcustomheader certinfo chkspeed + sendrecv httpcustomheader certinfo chkspeed ftpgetinfo # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -- cgit v1.2.1 From 31dd8ab1d63b8b4af9551cfc2ccadcc273c50bba Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 24 Jun 2010 17:22:47 +0200 Subject: examples: new FTP wildcard showcase --- docs/examples/Makefile.inc | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index c104368e9..78d312665 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -1,16 +1,12 @@ # These are all libcurl example programs to be test compiled -check_PROGRAMS = 10-at-a-time anyauthput cookie_interface \ - debug fileupload fopen ftpget ftpgetresp ftpupload \ - getinfo getinmemory http-post httpput \ - https multi-app multi-debugcallback multi-double \ - multi-post multi-single persistant post-callback \ - postit2 sepheaders simple simplepost simplessl \ - sendrecv httpcustomheader certinfo chkspeed ftpgetinfo +check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ + fopen ftpget ftpgetresp ftpupload getinfo getinmemory http-post httpput \ + https multi-app multi-debugcallback multi-double multi-post multi-single \ + persistant post-callback postit2 sepheaders simple simplepost simplessl \ + sendrecv httpcustomheader certinfo chkspeed ftpgetinfo ftp-wildcard # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -COMPLICATED_EXAMPLES = \ - curlgtk.c curlx.c htmltitle.cc cacertinmem.c ftpuploadresume.c \ - ghiper.c hiperfifo.c htmltidy.c multithread.c \ - opensslthreadlock.c sampleconv.c synctime.c threaded-ssl.c evhiperfifo.c - +COMPLICATED_EXAMPLES = curlgtk.c curlx.c htmltitle.cc cacertinmem.c \ + ftpuploadresume.c ghiper.c hiperfifo.c htmltidy.c multithread.c \ + opensslthreadlock.c sampleconv.c synctime.c threaded-ssl.c evhiperfifo.c -- cgit v1.2.1 From 909e711e745fe6b23f18dc9780e28a4e19d1a53a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 4 Nov 2010 10:32:38 +0100 Subject: example: add smtp-multi.c An example application source code sending SMTP mail with the multi interface. It is based on the code Alona Rossen provided, which in turn is based on existing example/test code, and I converted it even more into a decent example with a fair multi API use, put the info required to edit at the top and I added some comments. --- docs/examples/Makefile.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index 78d312665..51c96a5a8 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -3,7 +3,8 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ fopen ftpget ftpgetresp ftpupload getinfo getinmemory http-post httpput \ https multi-app multi-debugcallback multi-double multi-post multi-single \ persistant post-callback postit2 sepheaders simple simplepost simplessl \ - sendrecv httpcustomheader certinfo chkspeed ftpgetinfo ftp-wildcard + sendrecv httpcustomheader certinfo chkspeed ftpgetinfo ftp-wildcard \ + smtp-multi.c # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -- cgit v1.2.1 From 34498c13be6ef1f3308d39508884418a1123ca81 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 7 Nov 2010 03:39:31 +0100 Subject: fix snapshot generation --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index 51c96a5a8..62f0c1b22 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -4,7 +4,7 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ https multi-app multi-debugcallback multi-double multi-post multi-single \ persistant post-callback postit2 sepheaders simple simplepost simplessl \ sendrecv httpcustomheader certinfo chkspeed ftpgetinfo ftp-wildcard \ - smtp-multi.c + smtp-multi # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -- cgit v1.2.1 From 46041ee91845846b3058454f8fa989674885f3c5 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 19 Nov 2010 17:09:15 -0800 Subject: Added a couple examples that were missing from the tar ball --- docs/examples/Makefile.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index 62f0c1b22..34c1c0f1d 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -10,4 +10,5 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ # available on POSIX systems, so don't bother attempting to compile them here. COMPLICATED_EXAMPLES = curlgtk.c curlx.c htmltitle.cc cacertinmem.c \ ftpuploadresume.c ghiper.c hiperfifo.c htmltidy.c multithread.c \ - opensslthreadlock.c sampleconv.c synctime.c threaded-ssl.c evhiperfifo.c + opensslthreadlock.c sampleconv.c synctime.c threaded-ssl.c evhiperfifo.c \ + smooth-gtk-thread.c version-check.pl -- cgit v1.2.1 From 37a22d474957ef0fe6e62be7f4fc10784760988b Mon Sep 17 00:00:00 2001 From: Brad Hards Date: Wed, 15 Dec 2010 19:27:28 +1100 Subject: Docs: add simple SMTP example Add a simple SMTP example program, patterned after some of the existing examples, and the curl application. This version addresses issues raised by David Woodhouse on comments in the simplesmtp.c example. --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index 34c1c0f1d..a9379f745 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -4,7 +4,7 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ https multi-app multi-debugcallback multi-double multi-post multi-single \ persistant post-callback postit2 sepheaders simple simplepost simplessl \ sendrecv httpcustomheader certinfo chkspeed ftpgetinfo ftp-wildcard \ - smtp-multi + smtp-multi simplesmtp # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -- cgit v1.2.1 From 57523e3578b17c07b0fbf7b22063544ade3df799 Mon Sep 17 00:00:00 2001 From: Brad Hards Date: Fri, 17 Dec 2010 22:55:58 +0100 Subject: smtp-tls: new example This example shows how to send SMTP with TLS --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index a9379f745..9a2b48ea1 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -4,7 +4,7 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ https multi-app multi-debugcallback multi-double multi-post multi-single \ persistant post-callback postit2 sepheaders simple simplepost simplessl \ sendrecv httpcustomheader certinfo chkspeed ftpgetinfo ftp-wildcard \ - smtp-multi simplesmtp + smtp-multi simplesmtp smtp-tls # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -- cgit v1.2.1 From 657d02fbaca47a8f3a13982f450c7001fc40cc0b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 10 Aug 2011 10:57:50 +0200 Subject: rtsp.c: converted to C Trimmed the newlines to be LF-only. Converted the source to plain C, to use curl style indents, to compile warning-free with picky options and fixed the minor fprintf() bug on line 245. Added to makefile. --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index 9a2b48ea1..c07520321 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -4,7 +4,7 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ https multi-app multi-debugcallback multi-double multi-post multi-single \ persistant post-callback postit2 sepheaders simple simplepost simplessl \ sendrecv httpcustomheader certinfo chkspeed ftpgetinfo ftp-wildcard \ - smtp-multi simplesmtp smtp-tls + smtp-multi simplesmtp smtp-tls rtsp # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -- cgit v1.2.1 From af809923e4ca05215814b313f9b57f29b8ffdc33 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 23 Aug 2011 11:28:35 +0200 Subject: externalsocket.c: new example --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index c07520321..c6a3e9c5b 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -4,7 +4,7 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ https multi-app multi-debugcallback multi-double multi-post multi-single \ persistant post-callback postit2 sepheaders simple simplepost simplessl \ sendrecv httpcustomheader certinfo chkspeed ftpgetinfo ftp-wildcard \ - smtp-multi simplesmtp smtp-tls rtsp + smtp-multi simplesmtp smtp-tls rtsp externalsocket # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -- cgit v1.2.1 From cce6508242ab73cca896788ad9f968b89e5f9f3a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 23 Aug 2011 16:31:10 +0200 Subject: resolve.c: new example showing off CURLOPT_RESOLVE --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index c6a3e9c5b..d1ae9ddbb 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -4,7 +4,7 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ https multi-app multi-debugcallback multi-double multi-post multi-single \ persistant post-callback postit2 sepheaders simple simplepost simplessl \ sendrecv httpcustomheader certinfo chkspeed ftpgetinfo ftp-wildcard \ - smtp-multi simplesmtp smtp-tls rtsp externalsocket + smtp-multi simplesmtp smtp-tls rtsp externalsocket resolve # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -- cgit v1.2.1 From 6790a543d4b692e0f62971804606fdcbcf84a292 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 13 Sep 2011 22:47:34 +0200 Subject: progressfunc: a simple CURLOPT_PROGRESSFUNCTION example --- docs/examples/Makefile.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index d1ae9ddbb..bf7337dd8 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -4,7 +4,8 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ https multi-app multi-debugcallback multi-double multi-post multi-single \ persistant post-callback postit2 sepheaders simple simplepost simplessl \ sendrecv httpcustomheader certinfo chkspeed ftpgetinfo ftp-wildcard \ - smtp-multi simplesmtp smtp-tls rtsp externalsocket resolve + smtp-multi simplesmtp smtp-tls rtsp externalsocket resolve \ + progressfunc # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -- cgit v1.2.1 From 90343c76c6f1517a2d9d3c9e9cea15a1be2bfd6d Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Wed, 28 Dec 2011 16:33:17 +0100 Subject: examples: update README, Makefile.inc and gitignore with pop3s examples --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index bf7337dd8..e87fb1f2a 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -5,7 +5,7 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ persistant post-callback postit2 sepheaders simple simplepost simplessl \ sendrecv httpcustomheader certinfo chkspeed ftpgetinfo ftp-wildcard \ smtp-multi simplesmtp smtp-tls rtsp externalsocket resolve \ - progressfunc + progressfunc pop3s pop3slist # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -- cgit v1.2.1 From e3e24e5b362fe06b2f83b7bb430f3e46f55ddf83 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 16 Jan 2012 13:47:51 +0100 Subject: imap.c: a dead simple imap example Just to show that IMAP is used just like other protocols --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index e87fb1f2a..d814fe819 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -5,7 +5,7 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ persistant post-callback postit2 sepheaders simple simplepost simplessl \ sendrecv httpcustomheader certinfo chkspeed ftpgetinfo ftp-wildcard \ smtp-multi simplesmtp smtp-tls rtsp externalsocket resolve \ - progressfunc pop3s pop3slist + progressfunc pop3s pop3slist imap # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -- cgit v1.2.1 From 21401840fa26dc88957d1dcf67c325952bc71458 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 16 Jan 2012 14:45:00 +0100 Subject: url2file: new simple example Just showing how to download the contents of a given URL into a local file. Based on a suggestion and example code by Georg Potthast --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index d814fe819..611881d62 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -5,7 +5,7 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ persistant post-callback postit2 sepheaders simple simplepost simplessl \ sendrecv httpcustomheader certinfo chkspeed ftpgetinfo ftp-wildcard \ smtp-multi simplesmtp smtp-tls rtsp externalsocket resolve \ - progressfunc pop3s pop3slist imap + progressfunc pop3s pop3slist imap url2file # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -- cgit v1.2.1 From be5fbf73726fd6e22912be9df2967b675d37222c Mon Sep 17 00:00:00 2001 From: Armel Asselin Date: Mon, 27 Aug 2012 14:33:27 +0200 Subject: sftpget: example showing a simple SFTP download ... using SSH-agent --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index 611881d62..35f079f5f 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -5,7 +5,7 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ persistant post-callback postit2 sepheaders simple simplepost simplessl \ sendrecv httpcustomheader certinfo chkspeed ftpgetinfo ftp-wildcard \ smtp-multi simplesmtp smtp-tls rtsp externalsocket resolve \ - progressfunc pop3s pop3slist imap url2file + progressfunc pop3s pop3slist imap url2file sftpget # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -- cgit v1.2.1 From 8136649e9d704ed97ab419f1a2e005d586591853 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 27 Aug 2012 14:48:56 +0200 Subject: ftpsget: simple example showing a FTPS fetch --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index 35f079f5f..b548ebf7b 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -5,7 +5,7 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ persistant post-callback postit2 sepheaders simple simplepost simplessl \ sendrecv httpcustomheader certinfo chkspeed ftpgetinfo ftp-wildcard \ smtp-multi simplesmtp smtp-tls rtsp externalsocket resolve \ - progressfunc pop3s pop3slist imap url2file sftpget + progressfunc pop3s pop3slist imap url2file sftpget ftpsget # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -- cgit v1.2.1 From 8ffc971138a4f23dcabf45197255a059bf9e1b52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kowalczyk?= Date: Thu, 18 Oct 2012 16:45:51 +0200 Subject: href_extractor: example code extracting href elements It does so in a streaming manner using the "Streaming HTML parser". --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index b548ebf7b..2b31f86fb 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -12,4 +12,4 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ COMPLICATED_EXAMPLES = curlgtk.c curlx.c htmltitle.cc cacertinmem.c \ ftpuploadresume.c ghiper.c hiperfifo.c htmltidy.c multithread.c \ opensslthreadlock.c sampleconv.c synctime.c threaded-ssl.c evhiperfifo.c \ - smooth-gtk-thread.c version-check.pl + smooth-gtk-thread.c version-check.pl href_extractor.c -- cgit v1.2.1 From ba33665d1ffc27ccbb9a65c6af058c7c977c9614 Mon Sep 17 00:00:00 2001 From: Lijo Antony Date: Wed, 21 Nov 2012 14:19:45 +0400 Subject: examples: Added a c++ example of using multi with boost::asio Added an example for demonstrating the usage of curl multi interface with boost::asio in c++ --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index 2b31f86fb..e1f24cb7c 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -12,4 +12,4 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ COMPLICATED_EXAMPLES = curlgtk.c curlx.c htmltitle.cc cacertinmem.c \ ftpuploadresume.c ghiper.c hiperfifo.c htmltidy.c multithread.c \ opensslthreadlock.c sampleconv.c synctime.c threaded-ssl.c evhiperfifo.c \ - smooth-gtk-thread.c version-check.pl href_extractor.c + smooth-gtk-thread.c version-check.pl href_extractor.c asiohiper.cpp -- cgit v1.2.1 From f435d6699df9abac105ba2271d70a2290516c895 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 21 Nov 2012 18:26:42 +0100 Subject: htmltitle: use .cpp extension for C++ examples --- docs/examples/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/Makefile.inc') diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index e1f24cb7c..9aabfcabd 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -9,7 +9,7 @@ check_PROGRAMS = 10-at-a-time anyauthput cookie_interface debug fileupload \ # These examples require external dependencies that may not be commonly # available on POSIX systems, so don't bother attempting to compile them here. -COMPLICATED_EXAMPLES = curlgtk.c curlx.c htmltitle.cc cacertinmem.c \ +COMPLICATED_EXAMPLES = curlgtk.c curlx.c htmltitle.cpp cacertinmem.c \ ftpuploadresume.c ghiper.c hiperfifo.c htmltidy.c multithread.c \ opensslthreadlock.c sampleconv.c synctime.c threaded-ssl.c evhiperfifo.c \ smooth-gtk-thread.c version-check.pl href_extractor.c asiohiper.cpp -- cgit v1.2.1