Steve Holme
e209d60713
pop3-stat.c: Corrected small typo from commit 91d62e9abd
2014-01-05 13:56:49 +00:00
Steve Holme
91d62e9abd
examples: Added POP3 STAT example
2014-01-05 13:29:50 +00:00
Steve Holme
3e17db4882
examples: Added POP3 TOP example
2014-01-05 13:16:41 +00:00
Steve Holme
ef2d7cb44b
examples: Added POP3 DELE example
2014-01-05 13:00:25 +00:00
Steve Holme
e948b9c6e3
examples: Added POP3 UIDL example
2014-01-05 12:31:28 +00:00
Steve Holme
afb65c6cf3
examples: Added POP3 RETR example
2014-01-05 12:17:15 +00:00
Steve Holme
5be92d03b0
examples: Added return of error code in POP3 examples
2014-01-05 12:05:02 +00:00
Steve Holme
ad39e7ec01
examples: Reworked POP3 examples for additional upcoming POP3 examples
2014-01-05 11:28:24 +00:00
Steve Holme
98b7fc0195
examples: Added SMTP SSL example
2014-01-05 11:27:29 +00:00
Steve Holme
f9797871aa
examples: Added IMAP SSL and TLS examples
2014-01-05 11:26:41 +00:00
Steve Holme
5220c1d692
examples: Standardised username and password settings for all email examples
...
Replaced the use of CURLOPT_USERPWD for the preferred CURLOPT_USERNAME
and CURLOPT_PASSWORD options and used the same username and password for
all email examples which is the same as that used in the test suite.
2014-01-04 18:12:02 +00:00
Steve Holme
4c51f2b578
examples: Added IMAP COPY example
2014-01-04 01:11:26 +00:00
Steve Holme
2b026784a8
examples: Added IMAP DELETE example
2014-01-04 01:11:03 +00:00
Steve Holme
3c1519117a
examples: Added IMAP CREATE example
2014-01-04 01:05:46 +00:00
Steve Holme
0f340f0572
examples: Added IMAP SEARCH example
2014-01-02 20:19:45 +00:00
Steve Holme
f063773b83
examples: Added IMAP EXAMINE mailbox folder example
2014-01-02 20:19:36 +00:00
Steve Holme
6bc9e46bf1
examples: Updated SMTP multi example to be more realistic
...
Updated the contents of the email and payload callback as per the IMAP
and other SMTP examples.
2014-01-01 20:58:04 +00:00
Steve Holme
1f47a77b29
examples: Corrected unescaped backslash in imap-store.c
2014-01-01 19:31:41 +00:00
Steve Holme
0757a9b941
examples: Update SMTP TLS example mail content to be RFC-2821 compliant
...
...and made some minor coding style changes to better match the curl
coding standards as well as the other email related examples.
2014-01-01 18:44:53 +00:00
Steve Holme
83ae98c6c6
examples: Added IMAP APPEND example
2014-01-01 18:02:06 +00:00
Steve Holme
2658da7604
examples: Added IMAP STORE example
2014-01-01 17:25:12 +00:00
Steve Holme
7de2e03258
examples: Added IMAP LIST mailbox example
2013-12-31 16:28:37 +00:00
Steve Holme
ab71241c88
examples: Updated IMAP fetch example for libcurl 7.30.0
2013-12-31 16:13:22 +00:00
Steve Holme
e9625c5bc6
examples: Rename before adding additional email examples
2013-12-31 16:01:31 +00:00
Steve Holme
18a6467c8c
examples: Added SMTP EXPN command example
2013-12-31 14:37:49 +00:00
Steve Holme
7b368e7f94
examples: Added SMTP email verification example
2013-12-31 13:29:32 +00:00
Steve Holme
6e4d4a9b51
examples: Updated copyright year for recent edits
2013-12-31 00:29:14 +00:00
Steve Holme
c68758b621
examples: Corrected incorrect indentation in smtp-multi.c
2013-12-31 00:20:55 +00:00
Steve Holme
73a894170b
examples: Updated SMTP examples to set CURLOPT_UPLOAD
2013-12-31 00:19:10 +00:00
Steve Holme
dc68120e63
curl_easy_getinfo: Post CURLINFO_TLS_SESSION tidy up
...
1) Renamed curl_tlsinfo to curl_tlssessioninfo as discussed on the
mailing list.
2) Renamed curl_ssl_backend to curl_sslbackend so it doesn't follow our
function naming convention.
3) Updated sessioninfo.c example accordingly.
2013-11-30 11:08:56 +00:00
Christian Grothoff
889cb9c982
sessioninfo.c: Added sample code for CURLINFO_TLS_SESSION
...
Added a simple example to show how one can use CURLINFO_TLS_SESSION for
obtaining extensive TLS certificate information.
2013-11-28 07:05:07 +00:00
Gisle Vanem
6fe619be7a
docs/examples/httpput.c: fix build for MSVC
...
"Dan Fandrich" <dan@coneharvesters.com> wrote:
>> But I'm not sure <unistd.h> is needed at all.
>
> It's needed for close(2). But the only reason that's needed is because fstat
> is used instead of stat(2); if you fix that, then you could remove that
> include altogether.
Okay. I've tested the following with MSVC and MingW. htttput.c now
simply uses stat():
2013-10-27 15:48:57 +01:00
Ishan SinghLevett
18ca0aa984
usercertinmem: fix memory leaks
2013-10-15 20:48:22 +02:00
Daniel Stenberg
4d7bf73fc3
getinmemory: remove a comment
...
The comment mentioned the need to free the data, but the example already
does that free
2013-09-29 00:16:21 +02:00
Daniel Stenberg
3c34f453fa
postinmemory: new example
...
This is similar to getinmemory.c but with an initial POST.
Combined-by: Ulf Samuelsson
2013-09-29 00:12:30 +02:00
Daniel Stenberg
12d01cb6fa
CURLOPT_XFERINFOFUNCTION: introducing a new progress callback
...
CURLOPT_XFERINFOFUNCTION is now the preferred progress callback function
and CURLOPT_PROGRESSFUNCTION is considered deprecated.
This new callback uses pure 'curl_off_t' arguments to pass on full
resolution sizes. It otherwise retains the same characteristics: the
same call rate, the same meanings for the arguments and the return code
is used the same way.
The progressfunc.c example is updated to show how to use the new
callback for newer libcurls while supporting the older one if built with
an older libcurl or even built with a newer libcurl while running with
an older.
2013-07-18 23:44:06 +02:00
Dan Fandrich
54f18e5427
examples: Moved usercertinmem.c to COMPLICATED_EXAMPLES
...
This prevents it from being built during a "make check" since it
depends on OpenSSL.
2013-07-03 21:13:12 +02:00
Guenter Knauf
da0db499fd
Use opened body.out file and write content to it.
2013-06-20 22:53:37 +02:00
Daniel Stenberg
ee84c47655
tarball: include the xmlstream example
2013-05-19 11:21:56 +02:00
David Strauss
ce32176db7
xmlstream: XML stream parsing example source code
...
Add an XML stream parsing example using Expat. Add missing ignore for
the binary from an unrelated example.
2013-05-19 11:19:28 +02:00
Guenter Knauf
ae26ee3489
Updated zlib version in build files.
2013-05-11 17:08:00 +02:00
Ishan SinghLevett
993cdcd6ee
usercertinmem.c: add example showing user cert in memory
...
Relies on CURLOPT_SSL_CTX_FUNCTION, which is OpenSSL specific
2013-04-18 23:07:15 +02:00
Kamil Dudka
247b291b12
examples/multi-single.c: fix the order of destructions
...
... so that it adheres to the API documentation.
Reported by: Tomas Mlcoch
2013-04-05 13:10:41 +02:00
Guenter Knauf
cfb7e80991
Added dns and connect time to output.
2013-04-01 14:54:01 +02:00
Clemens Gruber
b1ce7c5a6b
multi-uv.c: remove unused variable
2013-03-27 15:39:42 +01:00
Clemens Gruber
142755fa5c
Added libuv example multi-uv.c
2013-03-27 09:24:49 +01:00
Yang Tse
83a42ee20e
curl.h: stricter CURL_EXTERN linkage decorations logic
...
No API change involved.
Info: http://curl.haxx.se/mail/lib-2013-02/0234.html
2013-03-12 00:27:47 +01:00
Daniel Stenberg
ad361d109b
hiperfifo: updated to use current libevent API
...
Patch by: Myk Taylor
2013-03-10 19:46:19 +01:00
Cédric Deltheil
6645d2ae8f
examples/getinmemory.c: abort the transfer if not enough memory
...
No more use exit(3) but instead tell libcurl that no byte has been
written to let it return a `CURLE_WRITE_ERROR`. In addition, check
curl easy handle return code.
2013-03-09 16:38:18 +01:00
Alessandro Ghedini
b333504327
htmltitle: fix suggested build command
2013-02-10 18:54:56 +01:00