gearman_client_add_server

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

gearman_client_add_server - Client Declarations

SYNOPSIS

#include <libgearman/gearman.h>

gearman_return_t gearman_client_add_server(gearman_client_st *client, const char *host, in_port_t port);

DESCRIPTION

Add a job server to a client. This goes into a list of servers that can be used to run tasks. No socket I/O happens here, it is just added to a list. *

PARAMETERS

[in]clientStructurepreviouslyinitializedwith
gearman_client_create() or gearman_client_clone().
[in]hostHostnameorIPaddress(IPv4orIPv6)oftheservertoadd.
[in]portPortoftheservertoadd.

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.