1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

point out that this describes the easy interface and also make a more

general statement about language bindings
This commit is contained in:
Daniel Stenberg 2002-03-19 09:31:05 +00:00
parent e65993bccb
commit b8a0fb1dfe

View File

@ -2,7 +2,7 @@
.\" nroff -man [file] .\" nroff -man [file]
.\" $Id$ .\" $Id$
.\" .\"
.TH libcurl 5 "14 August 2001" "libcurl 7.8.1" "libcurl overview" .TH libcurl 5 "19 March 2001" "libcurl 7.8.1" "libcurl overview"
.SH NAME .SH NAME
libcurl \- client-side URL transfers libcurl \- client-side URL transfers
.SH DESCRIPTION .SH DESCRIPTION
@ -11,17 +11,17 @@ specific man pages for each function mentioned in here. There's also the
libcurl-the-guide document for a complete tutorial to programming with libcurl-the-guide document for a complete tutorial to programming with
libcurl. libcurl.
libcurl can also be used directly from within your Java, PHP, Perl, Ruby or There are a dozen custom bindings that bring libcurl access to your favourite
Tcl programs as well, look elsewhere for documentation on this! language. Look elsewhere for documentation on those.
All applications that use libcurl should call \fIcurl_global_init()\fP exactly All applications that use libcurl should call \fIcurl_global_init()\fP exactly
once before any libcurl function can be used. After all usage of libcurl is once before any libcurl function can be used. After all usage of libcurl is
complete, it \fBmust\fP call \fIcurl_global_cleanup()\fP. In between those two complete, it \fBmust\fP call \fIcurl_global_cleanup()\fP. In between those two
calls, you can use libcurl as described below. calls, you can use libcurl as described below.
When using libcurl you init your session and get a handle, which you use as When using libcurl's "easy" interface you init your session and get a handle,
input to the following interface functions you use. Use \fIcurl_easy_init()\fP which you use as input to the easy interface functions you use. Use
to get the handle. \fIcurl_easy_init()\fP to get the handle.
You continue by setting all the options you want in the upcoming transfer, You continue by setting all the options you want in the upcoming transfer,
most important among them is the URL itself (you can't transfer anything most important among them is the URL itself (you can't transfer anything