gearman_worker_add_servers

Langue: en

Autres versions - même langue

Version: 381831 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

gearman_worker_add_servers - Worker Declarations

SYNOPSIS

#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]workerStructurepreviouslyinitializedwith
gearman_worker_create() or gearman_worker_clone().
[in]serversServerlistdescribedabove.

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 (C) 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.