1
.TH gearman_worker_add_servers 3 2010-06-30 "Gearman" "Gearman"
3
gearman_worker_add_servers \- Worker Declarations
5
.B #include <libgearman/gearman.h>
7
.BI " gearman_return_t gearman_worker_add_servers(gearman_worker_st " *worker ", const char *servers);"
9
Add a list of job servers to a worker. The format for the server list is:
10
SERVER[:PORT][,SERVER[:PORT]]...
12
10.0.0.1,10.0.0.2,10.0.0.3
13
localhost LIBGEARMAN_BITFIELD234,jobserver2.domain.com:7003,10.0.0.3
18
[in] worker Structure previously initialized with
19
gearman_worker_create() or gearman_worker_clone().
22
[in] servers Server list described above.
24
Standard gearman return value.
26
The Gearman homepage: http://www.gearman.org/
28
Bugs should be reported at https://bugs.launchpad.net/gearmand
30
Copyright (C) 2008 Brian Aker, Eric Day. All rights reserved.
32
Use and distribution licensed under the BSD license. See the COPYING file in the original source for full text.