gearmand_con_create

Langue: en

Version: 293741 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

gearmand_con_create - Gearmand Connections

SYNOPSIS

#include <libgearman/gearman.h>

gearman_return_t gearmand_con_create(gearmand_st *gearmand, int fd, const char *host, const char *port);

DESCRIPTION

Create a new gearmand connection.

PARAMETERS

gearmand
Server instance structure previously initialized with gearmand_create.
fd
File descriptor of new connection.
host
Host of peer connection.
port
Port of peer connection.

RETURN VALUE

Pointer to an allocated gearmand structure.

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.