Gearman Developer Documentation

Gearman Conf Interface

Data Structures

struct  gearman_conf_st
struct  gearman_conf_option_st

Enumerations

enum  gearman_conf_options_t { GEARMAN_CONF_ALLOCATED = (1 << 0) }

Functions

gearman_conf_stgearman_conf_create (gearman_conf_st *conf)
void gearman_conf_free (gearman_conf_st *conf)
gearman_return_t gearman_conf_return (gearman_conf_st *conf)
const char * gearman_conf_error (gearman_conf_st *conf)
int gearman_conf_errno (gearman_conf_st *conf)
void gearman_conf_set_options (gearman_conf_st *conf, gearman_conf_options_t options, uint32_t data)
gearman_return_t gearman_conf_parse_args (gearman_conf_st *conf, int argc, char *argv[])
void gearman_conf_usage (gearman_conf_st *conf)

Enumeration Type Documentation

Options for gearman_conf_st.

Enumerator:
GEARMAN_CONF_ALLOCATED 

Definition at line 167 of file constants.h.


Function Documentation

gearman_conf_st* gearman_conf_create ( gearman_conf_st conf  ) 

Initialize a gearman conf structure.

Definition at line 20 of file conf.c.

void gearman_conf_free ( gearman_conf_st conf  ) 

Free a gearman conf structure.

Definition at line 56 of file conf.c.

gearman_return_t gearman_conf_return ( gearman_conf_st conf  ) 

Return an return code for the last library error encountered.

Definition at line 84 of file conf.c.

const char* gearman_conf_error ( gearman_conf_st conf  ) 

Return an error string for last library error encountered.

Definition at line 89 of file conf.c.

int gearman_conf_errno ( gearman_conf_st conf  ) 

Value of errno in the case of a GEARMAN_ERRNO return value.

Definition at line 94 of file conf.c.

void gearman_conf_set_options ( gearman_conf_st conf,
gearman_conf_options_t  options,
uint32_t  data 
)

Set options for a gearman conf structure.

Definition at line 99 of file conf.c.

gearman_return_t gearman_conf_parse_args ( gearman_conf_st conf,
int  argc,
char *  argv[] 
)

Parse command line arguments.

Definition at line 108 of file conf.c.

void gearman_conf_usage ( gearman_conf_st conf  ) 

Print usage information to stdout.

Definition at line 172 of file conf.c.


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