gearmand_con_create
gearmand_con_create
Section: Gearman (3) Updated: 2009-09-29 Local index
Up
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, gearman_con_add_fn *add_fn);
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.
- add_fn
-
Optional callback to use when adding the connection to an
I/O thread.
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.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- PARAMETERS
-
- RETURN VALUE
-
- SEE ALSO
-
- BUGS
-
- COPYING
-
This document was created by
man2html,
using the manual pages.
Time: 22:37:13 GMT, April 16, 2011