Olaf Hering
f2ed79d8ee
docs/examples: adjust prototypes for CURLOPT_READFUNCTION
...
The type of the buffer in curl_read_callback is 'char *', not 'void *'.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Closes #6392
2020-12-30 22:20:24 +01:00
Daniel Stenberg
ac0a88fd25
copyright: fix year ranges
...
Follow-up from 4d2f800677
2020-11-05 08:22:10 +01:00
Daniel Stenberg
4d2f800677
curl.se: new home
...
Closes #6172
2020-11-04 23:59:47 +01:00
Daniel Stenberg
7ef0c2d861
examples/smtp-mail.c: use separate defines for options and mail
...
... to make it clearer that the options want address-only, while the
headers in an email can also have the real name.
Assisted-by: Sean MacLennan
2017-12-12 15:28:05 +01:00
Viktor Szakats
25fc694a41
examples/mime: minor example code fixes
2017-09-05 10:05:27 +00:00
Daniel Stenberg
3a6563d668
examples: adhere to curl code style
...
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.
2016-02-11 09:44:45 +01:00
Daniel Stenberg
4af40b3646
URLs: change all http:// URLs to https://
2016-02-03 00:19:02 +01:00
Steve Holme
06b288a72d
examples: Added website parse-able descriptions to the e-mail examples
2015-11-22 11:55:10 +00:00
Ville Skyttä
56b7663f73
docs: Spelling fixes
2015-06-08 13:43:31 +02:00
Steve Holme
e473a4d2f3
examples: Updated SMTP MAIL example to return libcurl result code
2014-01-12 15:55:08 +00:00
Steve Holme
7e85964080
examples: Synchronised comments between SMTP MAIL examples
2014-01-12 15:43:07 +00:00
Steve Holme
9bd2fdb8e2
examples: Updated SMTP MAIL example to use a read function for data
...
Updated to read data from a callback rather than from stdio as this is
more realistic to most use cases.
2014-01-12 15:43:05 +00:00
Steve Holme
fc0b4b0d31
examples: Added required libcurl version information to SMTP examples
2014-01-05 23:00:56 +00:00
Steve Holme
149e0c8d10
Examples: Renamed SMTP MAIL example to match other email examples
2014-01-05 17:51:18 +00:00