reference/curl/functions/curl-share-init.xml
b7f8c11e56ff1c57a2993e2ed7e5c5ace18637fd
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="function.curl-share-init" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>curl_share_init</refname>
...
...
@@ -10,8 +9,8 @@
10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
11
<methodsynopsis>
13
-
<type>resource</type><methodname>curl_share_init</methodname>
14
-
<void />
12
+
<type>CurlShareHandle</type><methodname>curl_share_init</methodname>
13
+
<void/>
15
14
</methodsynopsis>
16
15
<para>
17
16
Allows to share data between cURL handles.
...
...
@@ -27,10 +26,33 @@
27
26
<refsect1 role="returnvalues">
28
27
&reftitle.returnvalues;
29
28
<para>
30
-
Returns resource of type "cURL Share Handle".
29
+
Returns a cURL share handle.
31
30
</para>
32
31
</refsect1>
33
32
33
+
<refsect1 role="changelog">
34
+
&reftitle.changelog;
35
+
<informaltable>
36
+
<tgroup cols="2">
37
+
<thead>
38
+
<row>
39
+
<entry>&Version;</entry>
40
+
<entry>&Description;</entry>
41
+
</row>
42
+
</thead>
43
+
<tbody>
44
+
<row>
45
+
<entry>8.0.0</entry>
46
+
<entry>
47
+
This function returns a <classname>CurlShareHandle</classname> instance now;
48
+
previously, a <type>resource</type> was returned.
49
+
</entry>
50
+
</row>
51
+
</tbody>
52
+
</tgroup>
53
+
</informaltable>
54
+
</refsect1>
55
+

34
56
<refsect1 role="examples">
35
57
&reftitle.examples;
36
58
<para>
...
...
@@ -86,7 +108,6 @@ curl_close($ch2);
86
108
</refsect1>
87
109

88
110
</refentry>
89
-

90
111
<!-- Keep this comment at the end of the file
91
112
Local variables:
92
113
mode: sgml
93
114