1gearman_client_add_servers(3) Gearman gearman_client_add_servers(3)
2
3
4
6 gearman_client_add_servers - Client Declarations
7
9 #include <libgearman/gearman.h>
10
11 gearman_return_t gearman_client_add_servers(gearman_client_st *client,
12 const char *servers);
13
15 Add a list of job servers to a client. The format for the server list
16 is: SERVER[:PORT][,SERVER[:PORT]]... Some examples are:
17 10.0.0.1,10.0.0.2,10.0.0.3 localhost LIBGEARMAN_BITFIELD234,job‐
18 server2.domain.com:7003,10.0.0.3 *
19
21 [in] client Structure previously initialized with gear‐
22 man_client_create() or gearman_client_clone().
23
24 [in] servers Server list described above.
25
27 Standard gearman return value.
28
30 The Gearman homepage: http://www.gearman.org/
31
33 Bugs should be reported at https://bugs.launchpad.net/gearmand
34
36 Copyright (C) 2008 Brian Aker, Eric Day. All rights reserved.
37
38 Use and distribution licensed under the BSD license. See the COPYING
39 file in the original source for full text.
40
41
42
43Gearman 2010-03-15 gearman_client_add_servers(3)