~ubuntu-branches/ubuntu/hoary/curl/hoary-security

« back to all changes in this revision

Viewing changes to docs/libcurl/curl_global_init.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
1
.\" You can view this file with:
2
2
.\" nroff -man [file]
3
 
.\" $Id: curl_global_init.3,v 1.1 2002/03/04 10:09:49 bagder Exp $
 
3
.\" $Id: curl_global_init.3,v 1.2 2004/02/27 15:34:06 bagder Exp $
4
4
.\"
5
5
.TH curl_global_init 3 "13 Nov 2001" "libcurl 7.9.1" "libcurl Manual"
6
6
.SH NAME
14
14
This function should only be called once (no matter how many threads or
15
15
libcurl sessions that'll be used) by every application that uses libcurl.
16
16
 
17
 
If this function hasn't been invoked when \fIcurl_easy_init\fP is called, it
18
 
will be done automatically by libcurl.
 
17
If this function hasn't been invoked when \fIcurl_easy_init(3)\fP is called,
 
18
it will be done automatically by libcurl.
19
19
 
20
20
The flags option is a bit pattern that tells libcurl exact what features to
21
21
init, as described below. Set the desired bits by ORing the values together.
22
22
 
23
 
You must however \fBalways\fP use the \fIcurl_global_cleanup\fP function, as
24
 
that cannot be called automatically for you by libcurl.
 
23
You must however \fBalways\fP use the \fIcurl_global_cleanup(3)\fP function,
 
24
as that cannot be called automatically for you by libcurl.
25
25
 
26
26
Calling this function more than once will cause unpredictable results.
27
27
 
28
 
This function was added in libcurl 7.8.
29
28
.SH FLAGS
30
29
.TP 5
31
30
.B CURL_GLOBAL_ALL
35
34
Initialize SSL
36
35
.TP
37
36
.B CURL_GLOBAL_WIN32
38
 
Initialize the Win32 socket libraries. (added in libcurl 7.8.1)
 
37
Initialize the Win32 socket libraries.
39
38
.TP
40
39
.B CURL_GLOBAL_NOTHING
41
40
Initialise nothing extra. This sets no bit.
44
43
other curl functions.
45
44
.SH "SEE ALSO"
46
45
.BR curl_global_cleanup "(3), "
47
 
.SH BUGS
48
 
None.
 
46
 
49
47