gearman_worker_add_function

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

gearman_worker_add_function - Worker Interface

SYNOPSIS

#include <libgearman/gearman.h>

gearman_return_t gearman_worker_add_function(gearman_worker_st *worker, const char *function_name, uint32_t timeout, gearman_worker_fn *worker_fn, const void *fn_arg);

DESCRIPTION

Register and add callback function for worker.

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.