Gearman Developer Documentation

Private Server Job Functions
[Server Job Handling]

Functions

static uint32_t _server_job_hash (const char *key, size_t key_size)
static gearman_server_job_st_server_job_get_unique (gearman_server_st *server, uint32_t unique_key, gearman_server_function_st *server_function, const char *unique, size_t data_size)

Function Documentation

static uint32_t _server_job_hash ( const char *  key,
size_t  key_size 
) [static]

Generate hash key for job handles and unique IDs.

Definition at line 451 of file job.c.

static gearman_server_job_st * _server_job_get_unique ( gearman_server_st server,
uint32_t  unique_key,
gearman_server_function_st server_function,
const char *  unique,
size_t  data_size 
) [static]

Get a server job structure from the unique ID. If data_size is non-zero, then unique points to the workload data and not a real unique key.

Definition at line 470 of file job.c.


Generated on Tue Oct 13 20:19:22 2009 by  doxygen 1.6.1