gearman_worker_set_options

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

gearman_worker_set_options - Worker Interface

SYNOPSIS

#include <libgearman/gearman.h>

void gearman_worker_set_options(gearman_worker_st *worker, gearman_worker_options_t options, uint32_t data);

DESCRIPTION

Set options for a worker structure.

PARAMETERS

worker
Worker structure previously initialized with gearman_worker_create or gearman_worker_clone.
options
Available options for gearman_worker structs.
data
For options that require parameters, the value of that parameter. For all other option flags, this should be 0 to clear the option or 1 to set.

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.