summaryrefslogtreecommitdiff
path: root/docs/examples/cookie_interface.c
Commit message (Collapse)AuthorAgeFilesLines
* cookie_interface: fix -Wcomma warningMarcel Raad2017-05-111-1/+2
| | | | | clang 5.0 complains: possible misuse of comma operator here [-Wcomma]
* cookie_interface.c: changed the other domain to example.com tooDaniel Stenberg2017-04-271-1/+1
|
* cookie_interface.c: fix cookie domain so the example worksDaniel Stenberg2017-04-271-3/+3
|
* examples: adhere to curl code styleDaniel Stenberg2016-02-111-8/+8
| | | | | | | | | | All plain C examples now (mostly) adhere to the curl code style. While they are only examples, they had diverted so much and contained all sorts of different mixed code styles by now. Having them use a unified style helps users and readability. Also, as they get copy-and-pasted widely by users, making sure they're clean and nice is a good idea. 573 checksrc warnings were addressed.
* examples/cookie_interface.c: add cleanup callDaniel Stenberg2016-02-111-6/+13
| | | | | | cleaning up handles is a good idea as we leak memory otherwise Also, line wrapped before 80 columns.
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* examples: add descriptions with <DESC>Daniel Stenberg2015-06-181-2/+5
| | | | | Using this fixed format for example descriptions, we can generate a better list on the web site.
* cookie: Stop exporting any-domain cookiesJay Satiro2015-06-031-1/+6
| | | | | | | Prior to this change any-domain cookies (cookies without a domain that are sent to any domain) were exported with domain name "unknown". Bug: https://github.com/bagder/curl/issues/292
* examples: fix compilation issues - commit 7332a7cafb follow-upYang Tse2012-12-051-2/+2
|
* sources: update source headersDaniel Stenberg2011-03-101-3/+16
| | | | | | All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
* examples: use example.com in example URLsDaniel Stenberg2010-10-051-1/+1
|
* removed trailing whitespaceYang Tse2010-02-141-3/+3
|
* Fixed a surprising number of example programs that were passing int argumentsDan Fandrich2008-05-221-1/+1
| | | | to curl_easy_setopt instead of long.
* Fixed some more simple compile warnings in the examples.Dan Fandrich2007-07-161-1/+2
|
* Fixed some compile warnings and errors and improved portability in theDan Fandrich2007-07-121-2/+2
| | | | | | examples. Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers any longer.
* fixed example since this is how the interface works nowDaniel Stenberg2005-07-281-1/+1
|
* Peteris Krumins added CURLOPT_COOKIELIST and CURLINFO_COOKIELIST, which is aDaniel Stenberg2005-07-271-0/+110
simple interface to extracting and setting cookies in libcurl's internal "cookie jar". See the new cookie_interface.c example code.