Gearman Public API Documentation

gearman_worker_st Struct Reference
[Worker Declarations]

#include <worker.h>

Public Types

enum  {
  GEARMAN_WORKER_STATE_START, GEARMAN_WORKER_STATE_FUNCTION_SEND, GEARMAN_WORKER_STATE_CONNECT, GEARMAN_WORKER_STATE_GRAB_JOB_SEND,
  GEARMAN_WORKER_STATE_GRAB_JOB_RECV, GEARMAN_WORKER_STATE_PRE_SLEEP
}
enum  { GEARMAN_WORKER_WORK_UNIVERSAL_GRAB_JOB, GEARMAN_WORKER_WORK_UNIVERSAL_FUNCTION, GEARMAN_WORKER_WORK_UNIVERSAL_COMPLETE, GEARMAN_WORKER_WORK_UNIVERSAL_FAIL }

Data Fields

struct {
   bool allocated   LIBGEARMAN_BITFIELD
   bool non_blocking   LIBGEARMAN_BITFIELD
   bool packet_init   LIBGEARMAN_BITFIELD
   bool grab_job_in_use   LIBGEARMAN_BITFIELD
   bool pre_sleep_in_use   LIBGEARMAN_BITFIELD
   bool work_job_in_use   LIBGEARMAN_BITFIELD
   bool change   LIBGEARMAN_BITFIELD
   bool grab_uniq   LIBGEARMAN_BITFIELD
   bool timeout_return   LIBGEARMAN_BITFIELD
options
enum gearman_worker_st:: { ... }  state
enum gearman_worker_st:: { ... }  work_state
uint32_t function_count
uint32_t job_count
size_t work_result_size
void * context
gearman_connection_stcon
gearman_job_stjob
gearman_job_stjob_list
struct _worker_function_st * function
struct _worker_function_st * function_list
struct _worker_function_st * work_function
void * work_result
gearman_universal_st universal
gearman_packet_st grab_job
gearman_packet_st pre_sleep
gearman_job_st work_job

Detailed Description

Definition at line 33 of file worker.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
GEARMAN_WORKER_STATE_START 
GEARMAN_WORKER_STATE_FUNCTION_SEND 
GEARMAN_WORKER_STATE_CONNECT 
GEARMAN_WORKER_STATE_GRAB_JOB_SEND 
GEARMAN_WORKER_STATE_GRAB_JOB_RECV 
GEARMAN_WORKER_STATE_PRE_SLEEP 

Definition at line 46 of file worker.h.

anonymous enum
Enumerator:
GEARMAN_WORKER_WORK_UNIVERSAL_GRAB_JOB 
GEARMAN_WORKER_WORK_UNIVERSAL_FUNCTION 
GEARMAN_WORKER_WORK_UNIVERSAL_COMPLETE 
GEARMAN_WORKER_WORK_UNIVERSAL_FAIL 

Definition at line 54 of file worker.h.


Field Documentation

Definition at line 36 of file worker.h.

Definition at line 37 of file worker.h.

Definition at line 38 of file worker.h.

Definition at line 39 of file worker.h.

Definition at line 40 of file worker.h.

Definition at line 41 of file worker.h.

Definition at line 42 of file worker.h.

Definition at line 43 of file worker.h.

Definition at line 44 of file worker.h.

Definition at line 60 of file worker.h.

Definition at line 61 of file worker.h.

Definition at line 62 of file worker.h.

Definition at line 63 of file worker.h.

Definition at line 64 of file worker.h.

Definition at line 65 of file worker.h.

Definition at line 66 of file worker.h.

struct _worker_function_st* gearman_worker_st::function

Definition at line 67 of file worker.h.

struct _worker_function_st* gearman_worker_st::function_list

Definition at line 68 of file worker.h.

struct _worker_function_st* gearman_worker_st::work_function

Definition at line 69 of file worker.h.

Definition at line 70 of file worker.h.

Definition at line 71 of file worker.h.

Definition at line 72 of file worker.h.

Definition at line 73 of file worker.h.

Definition at line 74 of file worker.h.


The documentation for this struct was generated from the following file:
Generated on Mon Jun 14 15:58:44 2010 by  doxygen 1.6.3