Man Linux: Main Page and Category List

NAME

       gearman_worker_context - Worker Declarations

SYNOPSIS

       #include <libgearman/gearman.h>

        void *gearman_worker_context(const gearman_worker_st *worker);

DESCRIPTION

       Get the application context for a worker.  *

PARAMETERS

              [in]    worker    Structure    previously    initialized    with
              gearman_worker_create() or gearman_worker_clone().

RETURN VALUE

       Application context that was previously set, or 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.