Gearman Developer Documentation

Private Functions
[Gearman Core Interface]

Functions

GEARMAN_LOCAL void gearman_error_set (gearman_st *gearman, const char *function, const char *format,...)
GEARMAN_LOCAL gearman_return_t gearman_parse_servers (const char *servers, gearman_parse_server_fn *callback, const void *context)

Variables

static const char * _verbose_name [GEARMAN_VERBOSE_MAX]

Function Documentation

GEARMAN_LOCAL void gearman_error_set ( gearman_st gearman,
const char *  function,
const char *  format,
  ... 
)

Utility function used for error logging

Parameters:
[in] gearman Structure previously initialized with gearman_create() or gearman_clone().
[in] function Name of function the error happened in.
[in] format Format and variable argument list of message.

Definition at line 686 of file gearman.c.

GEARMAN_LOCAL gearman_return_t gearman_parse_servers ( const char *  servers,
gearman_parse_server_fn callback,
const void *  context 
)

Utility function used for parsing server lists.

Definition at line 723 of file gearman.c.


Variable Documentation

const char* _verbose_name[GEARMAN_VERBOSE_MAX] [static]
Initial value:
{
  "FATAL",
  "ERROR",
  "INFO",
  "DEBUG",
  "CRAZY"
}

Names of the verbose levels provided.

Definition at line 29 of file gearman.c.


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