Section: Gearman (3) Updated: 2009-09-29 Local index
gearman_con_add - Gearman Core Interface
gearman_con_st *gearman_con_add(gearman_st *gearman, gearman_con_st *con, const char *host, in_port_t port);
Create a connection structure with the given host and port.
[in] gearman Structure previously initialized with gearman_create() or
[in] con Caller allocated structure, or NULL to allocate one.
[in] host Host or IP address to connect to.
[in] port Port to connect to.
On success, a pointer to the (possibly allocated) structure. On
failure this will be NULL.
The Gearman homepage: http://www.gearman.org/
Bugs should be reported at https://bugs.launchpad.net/gearmand
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.
- RETURN VALUE
- SEE ALSO
This document was created by
using the manual pages.
Time: 22:37:12 GMT, April 16, 2011