1gearman_worker_add_servers(3)       Gearman      gearman_worker_add_servers(3)
2
3
4

NAME

6       gearman_worker_add_servers - Worker Declarations
7

SYNOPSIS

9       #include <libgearman/gearman.h>
10
11        gearman_return_t gearman_worker_add_servers(gearman_worker_st *worker,
12       const char *servers);
13

DESCRIPTION

15       Add a list of job servers to a worker. 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

PARAMETERS

21              [in]   worker   Structure   previously  initialized  with  gear‐
22              man_worker_create() or gearman_worker_clone().
23
24              [in] servers Server list described above.
25

RETURN VALUE

27       Standard gearman return value.
28

SEE ALSO

30       The Gearman homepage: http://www.gearman.org/
31

BUGS

33       Bugs should be reported at https://bugs.launchpad.net/gearmand
34

COPYING

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_worker_add_servers(3)
Impressum