reference/gearman/gearmanclient/addoptions.xml
3c0b61c45a5dabe46865510311e57b77ea3dddb7
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="gearmanclient.addoptions" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>GearmanClient::addOptions</refname>
...
...
@@ -9,9 +8,9 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="GearmanClient">
13
12
<modifier>public</modifier> <type>bool</type><methodname>GearmanClient::addOptions</methodname>
14
-
<methodparam><type>int</type><parameter>options</parameter></methodparam>
13
+
<methodparam><type>int</type><parameter>option</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
Adds one or more options to those already set.
...
...
@@ -23,10 +22,16 @@
23
22
<para>
24
23
<variablelist>
25
24
<varlistentry>
26
-
<term><parameter>options</parameter></term>
25
+
<term><parameter>option</parameter></term>
27
26
<listitem>
28
27
<para>
29
-
The options to add
28
+
The options to add.
29
+
One of the following constants, or a combination of
30
+
them using the bitwise OR operator (<quote>|</quote>):
31
+
<constant>GEARMAN_CLIENT_GENERATE_UNIQUE</constant>,
32
+
<constant>GEARMAN_CLIENT_NON_BLOCKING</constant>,
33
+
<constant>GEARMAN_CLIENT_UNBUFFERED_RESULT</constant> or
34
+
<constant>GEARMAN_CLIENT_FREE_TASKS</constant>.
30
35
</para>
31
36
</listitem>
32
37
</varlistentry>
...
...
@@ -42,7 +47,6 @@
42
47
</refsect1>
43
48

44
49
</refentry>
45
-

46
50
<!-- Keep this comment at the end of the file
47
51
Local variables:
48
52
mode: sgml
49
53