Data Structures | |
struct | gearman_conf_option_st |
struct | gearman_conf_st |
Functions | |
gearman_conf_st * | gearman_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) |
gearman_return_t | gearman_conf_parse_args (gearman_conf_st *conf, int argc, char *argv[]) |
void | gearman_conf_usage (gearman_conf_st *conf) |
gearman_conf_st* gearman_conf_create | ( | gearman_conf_st * | conf | ) |
Initialize a gearman conf structure.
void gearman_conf_free | ( | gearman_conf_st * | conf | ) |
Free a gearman conf structure.
gearman_return_t gearman_conf_return | ( | gearman_conf_st * | conf | ) |
Return an return code for the last library error encountered.
const char* gearman_conf_error | ( | gearman_conf_st * | conf | ) |
Return an error string for last library error encountered.
int gearman_conf_errno | ( | gearman_conf_st * | conf | ) |
Value of errno in the case of a GEARMAN_ERRNO return value.
gearman_return_t gearman_conf_parse_args | ( | gearman_conf_st * | conf, | |
int | argc, | |||
char * | argv[] | |||
) |
Parse command line arguments.
void gearman_conf_usage | ( | gearman_conf_st * | conf | ) |
Print usage information to stdout.