NAME
gearman_worker_create - Worker Declarations
SYNOPSIS
#include <libgearman/gearman.h>
gearman_worker_st *gearman_worker_create(gearman_worker_st *worker);
DESCRIPTION
Initialize a worker structure. Always check the return value even if
passing in a pre-allocated structure. Some other initialization may
have failed. It is not required to memset() a structure before
providing it. *
PARAMETERS
[in] worker Caller allocated structure, or NULL to allocate one.
RETURN VALUE
On success, a pointer to the (possibly allocated) structure. On failure
this will be NULL.
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.