gearman_client_add_servers(3) - Linux man page

Name

gearman_client_add_servers - Client Declarations

Synopsis

#include <libgearman/gearman.h>

gearman_return_t gearman_client_add_servers(gearman_client_st *client, const char *servers);

Description

Add a list of job servers to a client. The format for the server list is: SERVER[:PORT][,SERVER[:PORT]]... Some examples are: 10.0.0.1,10.0.0.2,10.0.0.3 localhost LIBGEARMAN_BITFIELD234,jobserver2.domain.com:7003,10.0.0.3 *

Parameters

[in] client Structure previously initialized with
gearman_client_create() or gearman_client_clone().
[in] servers Server list described above.

Return Value

Standard gearman return value.

See Also

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

Bugs

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

Copying

Copyright © 2008 Brian Aker, Eric Day. All rights reserved.

Use and distribution licensed under the BSD license. See the COPYING file in the original source for full text.