Poster of Linux kernelThe best gift for a Linux geek
gearman_worker_add_server

gearman_worker_add_server

Section: Gearman (3) Updated: 2010-06-30
Local index Up
 

NAME

gearman_worker_add_server - Worker Declarations  

SYNOPSIS

#include <libgearman/gearman.h>

gearman_return_t gearman_worker_add_server(gearman_worker_st *worker, const char *host, in_port_t port);  

DESCRIPTION

Add a job server to a worker. 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] worker Structure previously initialized with gearman_worker_create() or gearman_worker_clone().
[in] host Hostname or IP address (IPv4 or IPv6) of the server to add.
[in] port Port of the server to add.
 

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.


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
RETURN VALUE
SEE ALSO
BUGS
COPYING

This document was created by man2html, using the manual pages.
Time: 21:46:33 GMT, April 16, 2011