aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
AgeCommit message (Collapse)Author
2014-01-12examples: Synchronised comments between SMTP MAIL examplesSteve Holme
2014-01-12examples: Updated SMTP MAIL example to use a read function for dataSteve Holme
Updated to read data from a callback rather than from stdio as this is more realistic to most use cases.
2014-01-05examples: Added required libcurl version information to SMTP examplesSteve Holme
2014-01-05Examples: Renamed SMTP MAIL example to match other email examplesSteve Holme
2014-01-05examples: Added POP3 TLS exampleSteve Holme
2014-01-05examples: Added IMAP NOOP exampleSteve Holme
2014-01-05examples: Added POP3 NOOP exampleSteve Holme
2014-01-05pop3-stat.c: Corrected small typo from commit 91d62e9abd761cSteve Holme
2014-01-05examples: Added POP3 STAT exampleSteve Holme
2014-01-05examples: Added POP3 TOP exampleSteve Holme
2014-01-05examples: Added POP3 DELE exampleSteve Holme
2014-01-05examples: Added POP3 UIDL exampleSteve Holme
2014-01-05examples: Added POP3 RETR exampleSteve Holme
2014-01-05examples: Added return of error code in POP3 examplesSteve Holme
2014-01-05examples: Reworked POP3 examples for additional upcoming POP3 examplesSteve Holme
2014-01-05examples: Added SMTP SSL exampleSteve Holme
2014-01-05examples: Added IMAP SSL and TLS examplesSteve Holme
2014-01-04examples: Standardised username and password settings for all email examplesSteve Holme
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-04examples: Added IMAP COPY exampleSteve Holme
2014-01-04examples: Added IMAP DELETE exampleSteve Holme
2014-01-04examples: Added IMAP CREATE exampleSteve Holme
2014-01-02examples: Added IMAP SEARCH exampleSteve Holme
2014-01-02examples: Added IMAP EXAMINE mailbox folder exampleSteve Holme
2014-01-01examples: Updated SMTP multi example to be more realisticSteve Holme
Updated the contents of the email and payload callback as per the IMAP and other SMTP examples.
2014-01-01examples: Corrected unescaped backslash in imap-store.cSteve Holme
2014-01-01examples: Update SMTP TLS example mail content to be RFC-2821 compliantSteve Holme
...and made some minor coding style changes to better match the curl coding standards as well as the other email related examples.
2014-01-01examples: Added IMAP APPEND exampleSteve Holme
2014-01-01examples: Added IMAP STORE exampleSteve Holme
2013-12-31examples: Added IMAP LIST mailbox exampleSteve Holme
2013-12-31examples: Updated IMAP fetch example for libcurl 7.30.0Steve Holme
2013-12-31examples: Rename before adding additional email examplesSteve Holme
2013-12-31examples: Added SMTP EXPN command exampleSteve Holme
2013-12-31examples: Added SMTP email verification exampleSteve Holme
2013-12-31examples: Updated copyright year for recent editsSteve Holme
2013-12-31examples: Corrected incorrect indentation in smtp-multi.cSteve Holme
2013-12-31examples: Updated SMTP examples to set CURLOPT_UPLOADSteve Holme
2013-11-30curl_easy_getinfo: Post CURLINFO_TLS_SESSION tidy upSteve Holme
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-28sessioninfo.c: Added sample code for CURLINFO_TLS_SESSIONChristian Grothoff
Added a simple example to show how one can use CURLINFO_TLS_SESSION for obtaining extensive TLS certificate information.
2013-10-27docs/examples/httpput.c: fix build for MSVCGisle Vanem
"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-15usercertinmem: fix memory leaksIshan SinghLevett
2013-09-29getinmemory: remove a commentDaniel Stenberg
The comment mentioned the need to free the data, but the example already does that free
2013-09-29postinmemory: new exampleDaniel Stenberg
This is similar to getinmemory.c but with an initial POST. Combined-by: Ulf Samuelsson
2013-07-18CURLOPT_XFERINFOFUNCTION: introducing a new progress callbackDaniel Stenberg
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-03examples: Moved usercertinmem.c to COMPLICATED_EXAMPLESDan Fandrich
This prevents it from being built during a "make check" since it depends on OpenSSL.
2013-06-20Use opened body.out file and write content to it.Guenter Knauf
2013-05-19tarball: include the xmlstream exampleDaniel Stenberg
2013-05-19xmlstream: XML stream parsing example source codeDavid Strauss
Add an XML stream parsing example using Expat. Add missing ignore for the binary from an unrelated example.
2013-05-11Updated zlib version in build files.Guenter Knauf
2013-04-18usercertinmem.c: add example showing user cert in memoryIshan SinghLevett
Relies on CURLOPT_SSL_CTX_FUNCTION, which is OpenSSL specific
2013-04-05examples/multi-single.c: fix the order of destructionsKamil Dudka
... so that it adheres to the API documentation. Reported by: Tomas Mlcoch