1
.TH "GEARMAN_CLIENT_REMOVE_SERVERS" "3" "December 15, 2011" "0.26" "Gearmand"
3
gearman_client_remove_servers \- Gearmand Documentation, http://gearman.info/
5
.nr rst2man-indent-level 0
9
level \\n[rst2man-indent-level]
10
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
17
.\" .rstReportMargin pre:
19
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20
. nr rst2man-indent-level +1
21
.\" .rstReportMargin post:
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
31
.\" Man page generated from reStructeredText.
35
#include <libgearman/gearman.h>
38
.B gearman_return_t gearman_client_add_server(gearman_client_st *client, const char *host, in_port_t port);
42
.B gearman_return_t gearman_client_add_servers(gearman_client_st *client, const char *servers);
46
.B void gearman_client_remove_servers(gearman_client_st *client);
50
\fBgearman_client_add_server()\fP will add an additional \fBgearmand\fP server to the list of servers that the client will take work from.
52
\fBgearman_client_remove_servers()\fP will remove all servers from the \fBgearman_client_st\fP.
54
\fBgearman_client_add_servers()\fP takes a list of \fBgearmand\fP servers that will be parsed to provide servers for the client. The format for this is SERVER[:PORT][,SERVER[:PORT]]...
57
.B Examples of this are::
58
10.0.0.1,10.0.0.2,10.0.0.3
59
localhost234,jobserver2.domain.com:7003,10.0.0.3
63
\fBgearman_client_add_server()\fP and \fBgearman_client_remove_servers()\fP return \fBgearman_return_t\fP.
66
To find out more information please check:
67
\fI\%http://gearman.info/\fP
71
\fIgearmand(8)\fP \fIlibgearman(3)\fP \fIgearman_client_st\fP
73
Data Differential http://datadifferential.com/
75
2011, Data Differential, http://datadifferential.com/
76
.\" Generated by docutils manpage writer.