aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
AgeCommit message (Collapse)Author
2008-09-06remove unnecessary typecasting of malloc()Yang Tse
2008-09-06remove unnecessary typecasting of realloc()Yang Tse
2008-09-05- Introducing CURLOPT_CERTINFO and the corresponding CURLINFO_CERTINFO. ByDaniel Stenberg
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!
2008-08-31MSVC adjustmentYang Tse
2008-08-17Pick-up programs from Makefile.inc.Gisle Vanem
2008-08-14Fixed unused variable warningDan Fandrich
2008-08-13httpcustomheader.c is a new tiny example showing a HTTP request with a customDaniel Stenberg
header replacing an internal one
2008-08-07Initial support of curlbuild.h and curlrules.h which allowsYang Tse
to have a curl_off_t data type no longer gated to off_t.
2008-07-15add comment for include pathsYang Tse
2008-07-08Added libidn libs as needed. Added compilation of sendrecv.cGisle Vanem
and cookie_interface.c.
2008-05-22Fixed a surprising number of example programs that were passing int argumentsDan Fandrich
to curl_easy_setopt instead of long.
2008-05-19change the code style to be more curlish, and changed some of the outputDaniel Stenberg
to be more descriptive and finally set VERBOSE mode to 1 by default
2008-05-16removed lots of warningsDaniel Stenberg
2008-05-15Included stdint.h to get the intptr_t type (needed on OpenBSD at least).Dan Fandrich
2008-05-12- Introducing curl_easy_send() and curl_easy_recv(). They can be used to sendDaniel Stenberg
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.
2008-05-09Internal time differences now use monotonic time source if available.Yang Tse
This also implies the removal of the winmm.lib dependency for WIN32.
2008-04-12return 0 not -1 at end of data!Daniel Stenberg
2008-04-04Give a hint as to why a url_fopen failed.Dan Fandrich
2008-04-03Made sure that curl_global_init is called in all the multithreadedDan Fandrich
example programs.
2008-04-02removed unused var.Gunter Knauf
2008-03-31Changed the makefile so the doc/examples/ programs are never built in aDan Fandrich
normal build/install (only with the 'make check' target), so that a build failure in the examples isn't fatal.
2008-03-13fix code that is normally #ifdef'ed outDaniel Stenberg
2008-02-27Michal Marek's cleanup of how curl_easy_setopt() is used in examples andDaniel Stenberg
test code. Thanks to his curl_easy_setopt() typechecker work...
2008-02-23now builds and runs with GnuTLS-built libcurls tooDaniel Stenberg
2008-02-21fixed missing header; changed bail out from exit() to return().Gunter Knauf
Mentioned on the list by Michal Marek.
2008-02-20reformatted comment.Gunter Knauf
2008-02-20added read callback function in order to prevent crashs on Win32 when linked ↵Gunter Knauf
against DLL:
2008-02-19fix for new codestyle.Gunter Knauf
2008-02-19made changes to work with Win32;Gunter Knauf
replaced fstat() with stat() call and bail out if local file not found.
2008-02-18added makefile for MingW32 to build most of the samples.Gunter Knauf
2008-02-18moved sample program defines into separate Makefile.inc so that other ↵Gunter Knauf
makefiles can pick up the defines from there.
2008-02-03threaded-ssl.c is a little example that does multi-threaded downloads fromDaniel Stenberg
HTTPS sites with OpenSSL-enabled libcurl (and pthreads) and thus do the thread-locking and things openssl-style.
2008-01-20This is a multi threaded application that uses a progress bar to showDaniel Stenberg
status. It uses Gtk+ to make a smooth pulse. Written by Jud Bishop
2007-11-17Andres Garcia made the examples build fine on Windows (mingw + msys) whenDaniel Stenberg
the lib was built staticly.
2007-11-07Add a call to curl_global_cleanup to show how to do a proper shutdown.Dan Fandrich
2007-11-05Andres Garcia made it build and run on windowsDaniel Stenberg
2007-09-13Compile samples with -DCURL_NO_OLDIESDan Fandrich
2007-09-13Remove remaining traces of ftp3rdparty.c and mention htmltidy.cDan Fandrich
2007-08-30Renamed several libcurl error codes and options to make them more generalDan Fandrich
and allow reuse by multiple protocols. Several unused error codes were removed. In all cases, macros were added to preserve source (and binary) compatibility with the old names. These macros are subject to removal at a future date, but probably not before 2009. An application can be tested to see if it is using any obsolete code by compiling it with the CURL_NO_OLDIES macro defined. Documented some newer error codes in libcurl-error(3)
2007-08-17ignore all the binaries and the .deps and .libsDaniel Stenberg
2007-08-11Patrick Monnerat modified the LDAP code and approach in curl. Starting now,Daniel Stenberg
the configure script checks for openldap and friends and we link with those libs just like we link all other third party libraries, and we no longer dlopen() those libraries. Our private header file lib/ldap.h was renamed to lib/curl_ldap.h due to this. I set a tag in CVS (curl-7_17_0-preldapfix) just before this commit, just in case.
2007-07-16Fixed some more simple compile warnings in the examples.Dan Fandrich
2007-07-13The examples don't need access to curl internal source files.Dan Fandrich
2007-07-12Fixed some compile warnings and errors and improved portability in theDan Fandrich
examples. Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers any longer.
2007-07-12make it compile fineDaniel Stenberg
2007-07-12fix include pathDaniel Stenberg
2007-07-12Compile most of the example apps in docs/examples when doing a 'make check'.Dan Fandrich
2007-07-06add note about windows and dlls with CURLOPT_WRITEDATADaniel Stenberg
2007-06-27James Bursa's improvementDaniel Stenberg
2007-06-27fix little flaw that could make the transfer loop end prematurelyDaniel Stenberg