~clint-fewbar/ubuntu/precise/gearmand/drop-unneeded-patches

« back to all changes in this revision

Viewing changes to docs/man/gearman_worker_add_server.3

  • Committer: Package Import Robot
  • Author(s): Stig Sandbeck Mathisen, Michael Fladischer, Stig Sandbeck Mathisen
  • Date: 2012-01-23 11:31:08 UTC
  • mfrom: (6.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120123113108-wl1yhiba13q9jusb
Tags: 0.27-1
[Michael Fladischer]
* Patch: fix spelling
* Patch: remove dependency on googleanalytics
* Patch: fix tests
* Use non-authenticating URL for Vcs-Git.
* Add "status" action to init script.

[Stig Sandbeck Mathisen]
* New upstream release (Closes: #621486) (LP: #682680)
* Remove build dependency on drizzle
  (until it reaches testing again)
* Build with support for tokyocabinet
* Remove backported ipv6 patch
* Patch: disable hostile build tests, they take hours...
* Patch: workaround duplicate address issue for tests
* Do not build API documentation, the sources are not shipped in
  upstream tarball
* Update debian/copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH "GEARMAN_WORKER_ADD_SERVER" "3" "December 15, 2011" "0.26" "Gearmand"
 
2
.SH NAME
 
3
gearman_worker_add_server \- Gearmand Documentation, http://gearman.info/
 
4
.
 
5
.nr rst2man-indent-level 0
 
6
.
 
7
.de1 rstReportMargin
 
8
\\$1 \\n[an-margin]
 
9
level \\n[rst2man-indent-level]
 
10
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 
11
-
 
12
\\n[rst2man-indent0]
 
13
\\n[rst2man-indent1]
 
14
\\n[rst2man-indent2]
 
15
..
 
16
.de1 INDENT
 
17
.\" .rstReportMargin pre:
 
18
. RS \\$1
 
19
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
 
20
. nr rst2man-indent-level +1
 
21
.\" .rstReportMargin post:
 
22
..
 
23
.de UNINDENT
 
24
. RE
 
25
.\" indent \\n[an-margin]
 
26
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
 
27
.nr rst2man-indent-level -1
 
28
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
 
29
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
 
30
..
 
31
.\" Man page generated from reStructeredText.
 
32
.
 
33
.SH SYNOPSIS
 
34
.sp
 
35
#include <libgearman/gearman.h>
 
36
.INDENT 0.0
 
37
.TP
 
38
.B gearman_return_t gearman_worker_add_server(gearman_worker_st *worker, const char *host, in_port_t port);
 
39
.UNINDENT
 
40
.INDENT 0.0
 
41
.TP
 
42
.B gearman_return_t gearman_worker_add_servers(gearman_worker_st *worker, const char *servers);
 
43
.UNINDENT
 
44
.INDENT 0.0
 
45
.TP
 
46
.B void gearman_worker_remove_servers(gearman_worker_st *worker);
 
47
.UNINDENT
 
48
.sp
 
49
Link with \-lgearman
 
50
.SH DESCRIPTION
 
51
.sp
 
52
\fBgearman_worker_add_server()\fP will add an additional \fBgearmand\fP server to the list of servers that the worker will take work from.
 
53
.sp
 
54
\fBgearman_worker_remove_servers()\fP will remove all servers from the \fBgearman_worker_st\fP.
 
55
.sp
 
56
\fBgearman_worker_add_servers()\fP takes a list of \fBgearmand\fP servers that will be parsed to provide servers for the worker. The format for this is SERVER[:PORT][,SERVER[:PORT]]...
 
57
.sp
 
58
Examples of this are:
 
59
.sp
 
60
.nf
 
61
.ft C
 
62
10.0.0.1,10.0.0.2,10.0.0.3
 
63
localhost234,jobserver2.domain.com:7003,10.0.0.3
 
64
.ft P
 
65
.fi
 
66
.SH RETURN VALUE
 
67
.sp
 
68
\fBgearman_worker_add_server()\fP and \fBgearman_worker_remove_servers()\fP return \fBgearman_return_t\fP.
 
69
.SH HOME
 
70
.sp
 
71
To find out more information please check:
 
72
\fI\%http://gearman.info/\fP
 
73
.IP "See also"
 
74
.sp
 
75
\fBgearmand\fP \fB../libgearman\fP  \fBgearman_worker_st\fP
 
76
.RE
 
77
.SH AUTHOR
 
78
Data Differential http://datadifferential.com/
 
79
.SH COPYRIGHT
 
80
2011, Data Differential, http://datadifferential.com/
 
81
.\" Generated by docutils manpage writer.
 
82
.\" 
 
83
.