1
.TH gearman_worker_add_servers 3 2009-07-19 "Gearman" "Gearman"
3
gearman_worker_add_servers \- Worker Interface
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:1234,jobserver2.domain.com:7003,10.0.0.3
17
Worker structure previously initialized with
18
gearman_worker_create or gearman_worker_clone.
21
Server list described above.
23
Standard gearman return value.
25
The Gearman homepage: http://www.gearman.org/
27
Bugs should be reported at https://bugs.launchpad.net/gearmand
29
Copyright (C) 2008 Brian Aker, Eric Day. All rights reserved.
31
Use and distribution licensed under the BSD license. See the COPYING file in the original source for full text.