Data Structures | |
struct | gearman_conf_module_st |
Functions | |
gearman_conf_module_st * | gearman_conf_module_create (gearman_conf_st *conf, gearman_conf_module_st *module, const char *name) |
void | gearman_conf_module_free (gearman_conf_module_st *module) |
gearman_conf_module_st * | gearman_conf_module_find (gearman_conf_st *conf, const char *name) |
void | gearman_conf_module_add_option (gearman_conf_module_st *module, const char *name, int short_name, const char *value_name, const char *help) |
bool | gearman_conf_module_value (gearman_conf_module_st *module, const char **name, const char **value) |
gearman_conf_module_st* gearman_conf_module_create | ( | gearman_conf_st * | conf, |
gearman_conf_module_st * | module, | ||
const char * | name | ||
) |
Initialize a gearman conf module structure.
void gearman_conf_module_free | ( | gearman_conf_module_st * | module | ) |
Free a gearman conf module structure.
gearman_conf_module_st* gearman_conf_module_find | ( | gearman_conf_st * | conf, |
const char * | name | ||
) |
Find a gearman conf module structure by name.
void gearman_conf_module_add_option | ( | gearman_conf_module_st * | module, |
const char * | name, | ||
int | short_name, | ||
const char * | value_name, | ||
const char * | help | ||
) |
Add option for a module.
bool gearman_conf_module_value | ( | gearman_conf_module_st * | module, |
const char ** | name, | ||
const char ** | value | ||
) |
Loop through all values that were given for a set of module options.