~ubuntu-branches/ubuntu/feisty/curl/feisty

« back to all changes in this revision

Viewing changes to docs/libcurl/curl_multi_add_handle.3

  • Committer: Bazaar Package Importer
  • Author(s): Domenico Andreoli
  • Date: 2004-06-04 19:09:25 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040604190925-wy048bp31320r2z6
Tags: 7.12.0.is.7.11.2-1
* Reverted to version 7.11.2 (closes: #252348).
* Disabled support for libidn (closes: #252367). This is to leave
  curl in unstable as much similar as possible to the one in testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" $Id: curl_multi_add_handle.3,v 1.4 2004/04/13 14:27:47 bagder Exp $
 
2
.\"
 
3
.TH curl_multi_add_handle 3 "4 March 2002" "libcurl 7.9.5" "libcurl Manual"
 
4
.SH NAME
 
5
curl_multi_add_handle - add an easy handle to a multi session
 
6
.SH SYNOPSIS
 
7
#include <curl/curl.h>
 
8
 
 
9
CURLMcode curl_multi_add_handle(CURLM *multi_handle, CURL *easy_handle);
 
10
.ad
 
11
.SH DESCRIPTION
 
12
Adds a standard easy handle to the multi stack. This function call will make
 
13
this \fImulti_handle\fP control the specified \fIeasy_handle\fP.
 
14
 
 
15
When an easy handle has been added to a multi stack, you can not and you must
 
16
not use \fIcurl_easy_perform(3)\fP on that handle!
 
17
 
 
18
The easy handle will remain added until you remove it again with
 
19
\fIcurl_multi_remove_handle(3)\fP. You should remove the easy handle from the
 
20
multi stack before you terminate first the easy handle and then the multi
 
21
handle:
 
22
 
 
23
1 - \fIcurl_multi_remove_handle(3)\fP
 
24
 
 
25
2 - \fIcurl_easy_cleanup(3)\fP
 
26
 
 
27
3 - \fIcurl_multi_cleanup(3)\fP
 
28
.SH RETURN VALUE
 
29
CURLMcode type, general libcurl multi interface error code.
 
30
.SH "SEE ALSO"
 
31
.BR curl_multi_cleanup "(3)," curl_multi_init "(3)"