Man Linux: Main Page and Category List

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