aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
AgeCommit message (Collapse)Author
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
2013-04-01Added dns and connect time to output.Guenter Knauf
2013-03-27multi-uv.c: remove unused variableClemens Gruber
2013-03-27Added libuv example multi-uv.cClemens Gruber
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-03-10hiperfifo: updated to use current libevent APIDaniel Stenberg
Patch by: Myk Taylor
2013-03-09examples/getinmemory.c: abort the transfer if not enough memoryCédric Deltheil
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-02-10htmltitle: fix suggested build commandAlessandro Ghedini
2013-02-09Updated dependency libs.Guenter Knauf
2013-01-30Updated date.Guenter Knauf
2013-01-29Fixed debug.c to work again unchanged.Guenter Knauf
Added CURLOPT_FOLLOWLOCATION since example.com is now redirected.