reference/curl/functions/curl-share-close.xml
52dc204a77076e1404257cf39f179882b90b5780
...
...
@@ -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-close" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>curl_share_close</refname>
...
...
@@ -11,8 +10,9 @@
11
10
&reftitle.description;
12
11
<methodsynopsis>
13
12
<type>void</type><methodname>curl_share_close</methodname>
14
-
<methodparam><type>resource</type><parameter>sh</parameter></methodparam>
13
+
<methodparam><type>CurlShareHandle</type><parameter>share_handle</parameter></methodparam>
15
14
</methodsynopsis>
15
+
&note.resource-migration-8.0-dead-function;
16
16
<para>
17
17
Closes a cURL share handle and frees all resources.
18
18
</para>
...
...
@@ -22,14 +22,7 @@
22
22
<refsect1 role="parameters">
23
23
&reftitle.parameters;
24
24
<variablelist>
25
-
<varlistentry>
26
-
<term><parameter>sh</parameter></term>
27
-
<listitem>
28
-
<para>
29
-
A cURL share handle returned by <function>curl_share_init</function>
30
-
</para>
31
-
</listitem>
32
-
</varlistentry>
25
+
&curl.sh.description;
33
26
</variablelist>
34
27
</refsect1>
35
28

...
...
@@ -40,7 +33,24 @@
40
33
</para>
41
34
</refsect1>
42
35
43
-
<refsect1 role="examples">
36
+
<refsect1 role="changelog">
37
+
&reftitle.changelog;
38
+
<informaltable>
39
+
<tgroup cols="2">
40
+
<thead>
41
+
<row>
42
+
<entry>&Version;</entry>
43
+
<entry>&Description;</entry>
44
+
</row>
45
+
</thead>
46
+
<tbody>
47
+
&curl.changelog.share-handle-param;
48
+
</tbody>
49
+
</tgroup>
50
+
</informaltable>
51
+
</refsect1>
52
+

53
+
<refsect1 role="examples">
44
54
&reftitle.examples;
45
55
<para>
46
56
<example>
...
...
@@ -94,7 +104,6 @@ curl_close($ch2);
94
104
</refsect1>
95
105

96
106
</refentry>
97
-

98
107
<!-- Keep this comment at the end of the file
99
108
Local variables:
100
109
mode: sgml
101
110