~ubuntu-branches/ubuntu/dapper/curl/dapper-updates

« back to all changes in this revision

Viewing changes to docs/libcurl/curl_easy_init.html

  • 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
 
<HTML>
2
 
<BODY>
3
 
<PRE>
4
 
<!-- Manpage converted by man2html 3.0.1 -->
5
 
 
6
 
</PRE>
7
 
<H2>NAME</H2><PRE>
8
 
     curl_easy_init - Start a libcurl easy session
9
 
 
10
 
 
11
 
</PRE>
12
 
<H2>SYNOPSIS</H2><PRE>
13
 
     <B>#include</B> <B>&lt;curl/curl.h&gt;</B>
14
 
 
15
 
     <B>CURL</B> <B>*curl_easy_init(</B> <B>);</B>
16
 
 
17
 
 
18
 
</PRE>
19
 
<H2>DESCRIPTION</H2><PRE>
20
 
     This  function  must  be  the first function to call, and it
21
 
     returns a CURL easy handle that you must  use  as  input  to
22
 
     other  easy-functions.  curl_easy_init  intializes  curl and
23
 
     this   call   MUST   have   a    corresponding    call    to
24
 
     <I>curl</I><B>_</B><I>easy</I><B>_</B><I>cleanup</I> when the operation is complete.
25
 
 
26
 
 
27
 
 
28
 
</PRE>
29
 
<H2>RETURN VALUE</H2><PRE>
30
 
     If  this function returns NULL, something went wrong and you
31
 
     cannot use the other curl functions.
32
 
 
33
 
 
34
 
</PRE>
35
 
<H2>SEE ALSO</H2><PRE>
36
 
     <B>curl_easy_cleanup(3)</B>, <B>curl_global_init(3)</B>
37
 
 
38
 
 
39
 
</PRE>
40
 
<H2>BUGS</H2><PRE>
41
 
     Surely there are some, you tell me!
42
 
 
43
 
 
44
 
 
45
 
 
46
 
 
47
 
 
48
 
 
49
 
 
50
 
 
51
 
 
52
 
 
53
 
 
54
 
 
55
 
 
56
 
 
57
 
 
58
 
 
59
 
 
60
 
 
61
 
 
62
 
 
63
 
 
64
 
 
65
 
 
66
 
 
67
 
 
68
 
 
69
 
</PRE>
70
 
<HR>
71
 
<ADDRESS>
72
 
Man(1) output converted with
73
 
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
74
 
</ADDRESS>
75
 
</BODY>
76
 
</HTML>
 
1
<html><head>
 
2
<title>curl_easy_init man page</title>
 
3
<meta name="generator" content="roffit 0.7">
 
4
<STYLE type="text/css">
 
5
P.level0 {
 
6
 padding-left: 2em;
 
7
}
 
8
 
 
9
P.level1 {
 
10
 padding-left: 4em;
 
11
}
 
12
 
 
13
P.level2 {
 
14
 padding-left: 6em;
 
15
}
 
16
 
 
17
span.emphasis {
 
18
 font-style: italic;
 
19
}
 
20
 
 
21
span.bold {
 
22
 font-weight: bold;
 
23
}
 
24
 
 
25
span.manpage {
 
26
 font-weight: bold;
 
27
}
 
28
 
 
29
h2.nroffsh {
 
30
 background-color: #e0e0e0;
 
31
}
 
32
 
 
33
span.nroffip {
 
34
 font-weight: bold;
 
35
 font-size: 120%;
 
36
 font-family: monospace;
 
37
}
 
38
 
 
39
p.roffit {
 
40
 text-align: center;
 
41
 font-size: 80%;
 
42
}
 
43
</STYLE>
 
44
</head><body>
 
45
 
 
46
<p class="level0"><a name="NAME"></a><h2 class="nroffsh">NAME</h2>
 
47
<p class="level0">curl_easy_init - Start a libcurl easy session <a name="SYNOPSIS"></a><h2 class="nroffsh">SYNOPSIS</h2>
 
48
<p class="level0"><span Class="bold">#include &lt;curl/curl.h&gt;</span> 
 
49
<p class="level0"><span Class="bold">CURL *curl_easy_init( );</span> 
 
50
<p class="level0"><a name="DESCRIPTION"></a><h2 class="nroffsh">DESCRIPTION</h2>
 
51
<p class="level0">This function must be the first function to call, and it returns a CURL easy handle that you must use as input to other easy-functions. curl_easy_init initializes curl and this call <span Class="bold">MUST</span> have a corresponding call to <a class="emphasis" href="./curl_easy_cleanup.html">curl_easy_cleanup(3)</a> when the operation is complete. 
 
52
<p class="level0"><a name="RETURN"></a><h2 class="nroffsh">RETURN VALUE</h2>
 
53
<p class="level0">If this function returns NULL, something went wrong and you cannot use the other curl functions. <a name="SEE"></a><h2 class="nroffsh">SEE ALSO</h2>
 
54
<p class="level0"><a class="manpage" href="./curl_easy_cleanup.html">curl_easy_cleanup (3)</a> <a class="manpage" href="./curl_global_init.html">  curl_global_init (3)</a> <p class="roffit">
 
55
 This HTML page was made with <a href="http://daniel.haxx.se/projects/roffit/">roffit</a>.
 
56
</body></html>