~brianaker/gearmand/warning-usage

« back to all changes in this revision

Viewing changes to docs/man/gearman_client_remove_servers.3

  • Committer: Brian Aker
  • Date: 2012-05-04 03:46:04 UTC
  • Revision ID: brian@tangent.org-20120504034604-5t22ae4v2o45zjkq
Update for libtest, documentation, and fix for root bzr dir.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "GEARMAN_CLIENT_REMOVE_SERVERS" "3" "April 17, 2012" "0.32" "Gearmand"
 
1
.TH "GEARMAN_CLIENT_REMOVE_SERVERS" "3" "May 03, 2012" "0.33" "Gearmand"
2
2
.SH NAME
3
3
gearman_client_remove_servers \- Gearmand Documentation, http://gearman.info/
4
4
.
35
35
#include <libgearman/gearman.h>
36
36
.INDENT 0.0
37
37
.TP
38
 
.B gearman_return_t gearman_client_add_server(gearman_client_st *client, const char *host, in_port_t port);
39
 
.UNINDENT
40
 
.INDENT 0.0
41
 
.TP
42
 
.B gearman_return_t gearman_client_add_servers(gearman_client_st *client, const char *servers);
43
 
.UNINDENT
44
 
.INDENT 0.0
45
 
.TP
46
 
.B void gearman_client_remove_servers(gearman_client_st *client);
 
38
.B gearman_return_t gearman_client_add_server(gearman_client_st\fI\ *client\fP, const char\fI\ *host\fP, in_port_t\fI\ port\fP)
 
39
.UNINDENT
 
40
.INDENT 0.0
 
41
.TP
 
42
.B gearman_return_t gearman_client_add_servers(gearman_client_st\fI\ *client\fP, const char\fI\ *servers\fP)
 
43
.UNINDENT
 
44
.INDENT 0.0
 
45
.TP
 
46
.B void gearman_client_remove_servers(gearman_client_st\fI\ *client\fP)
47
47
.UNINDENT
48
48
.SH DESCRIPTION
49
49
.sp
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.
51
 
.sp
52
 
\fBgearman_client_remove_servers()\fP will remove all servers from the \fBgearman_client_st\fP.
53
 
.sp
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]]...
 
50
\fI\%gearman_client_add_server()\fP will add an additional \fBgearmand\fP server to the list of servers that the client will take work from.
 
51
.sp
 
52
\fI\%gearman_client_remove_servers()\fP will remove all servers from the \fBgearman_client_st\fP.
 
53
.sp
 
54
\fI\%gearman_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]]...
55
55
.INDENT 0.0
56
56
.TP
57
57
.B Examples of this are::
60
60
.UNINDENT
61
61
.SH RETURN VALUE
62
62
.sp
63
 
\fBgearman_client_add_server()\fP and \fBgearman_client_remove_servers()\fP return \fBgearman_return_t\fP.
 
63
\fI\%gearman_client_add_server()\fP and \fI\%gearman_client_remove_servers()\fP return \fBgearman_return_t\fP.
64
64
.SH HOME
65
65
.sp
66
66
To find out more information please check: