gearman_worker_add_servers(3) - Linux man page
Name
gearman_worker_add_servers - Worker DeclarationsSynopsis
#include <libgearman/gearman.h>gearman_return_t gearman_worker_add_servers(gearman_worker_st *worker, const char *servers);
Description
Add a list of job servers to a worker. 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] worker Structure previously initialized with
- gearman_worker_create() or gearman_worker_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/gearmandCopying
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.