gearman_worker_grab_job(3) - Linux man page
Name
gearman_worker_grab_job - Worker DeclarationsSynopsis
#include <libgearman/gearman.h>gearman_job_st *gearman_worker_grab_job(gearman_worker_st *worker, gearman_job_st *job, gearman_return_t *ret_ptr);
Description
Parameters
- [in] worker Structure previously initialized with
- gearman_worker_create() or gearman_worker_clone().
- [in] job Caller allocated structure, or NULL to allocate one.
- [out] ret_ptr Standard gearman return value.
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/gearmandCopying
Copyright © 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.