~ubuntu-branches/ubuntu/edgy/curl/edgy

« back to all changes in this revision

Viewing changes to docs/examples/httpput.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2005-07-26 19:03:01 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20050726190301-x2m2vmjgc8fwnic5
Tags: 7.14.0-2ubuntu1
Synchronize with Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 *                            | (__| |_| |  _ <| |___
6
6
 *                             \___|\___/|_| \_\_____|
7
7
 *
8
 
 * $Id: httpput.c,v 1.6 2004/11/22 14:41:24 bagder Exp $
 
8
 * $Id: httpput.c,v 1.7 2005/01/19 10:09:15 bagder Exp $
9
9
 */
10
10
 
11
11
#include <stdio.h>
19
19
 * line argument to the URL also given on the command line.
20
20
 *
21
21
 * This example also uses its own read callback.
 
22
 *
 
23
 * Here's an article on how to setup a PUT handler for Apache:
 
24
 * http://www.apacheweek.com/features/put
22
25
 */
23
26
 
24
27
size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream)