gearman_worker_clone

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

gearman_worker_clone - Worker Interface

SYNOPSIS

#include <libgearman/gearman.h>

gearman_worker_st *gearman_worker_clone(gearman_worker_st *worker, gearman_worker_st *from);

DESCRIPTION

Clone a worker structure.

PARAMETERS

worker
Caller allocated worker structure, or NULL to allocate one.
from
Worker structure to use as a source to clone from.

RETURN VALUE

Pointer to an allocated worker structure if worker parameter was NULL, or the worker parameter pointer if it was not 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.