apps/app_selective.c
static int say_status(struct ast_channel *chan, struct ast_str *strbuf, char *buf, struct selective_proc *f)
{
	int active = feature_status(chan, strbuf, f);
	ast_verb(4, "Current status of %s feature is %s", f->name, active ? "enabled" : "disabled");
	return selective_read(chan, buf, BUFFER_SIZE, MAIN_MENU_TERM, 0, active ? f->prompt_on : f->prompt_off);
}
/*! \brief Announce whether the feature is currently on or off */
\brief Announce whether the feature is currently on or off
\ brief Announce whether the feature is currently on or off
static int say_status(struct ast_channel *chan, struct ast_str *strbuf, char *buf, struct selective_proc *f)
{
	int active = feature_status(chan, strbuf, f);
	ast_verb(4, "Current status of %s feature is %s", f->name, active ? "enabled" : "disabled");
	return selective_read(chan, buf, BUFFER_SIZE, MAIN_MENU_TERM, 0, active ? f->prompt_on : f->prompt_off);
}
static int say_status ( struct ast_channel * chan , struct ast_str * strbuf , char * buf , struct selective_proc * f ) { int active = feature_status ( chan , strbuf , f ) ; ast_verb ( 4 , " " , f -> name , active ? " " : " " ) ; return selective_read ( chan , buf , BUFFER_SIZE , MAIN_MENU_TERM , 0 , active ? f -> prompt_on : f -> prompt_off ) ; }
\brief Announce whether the feature is currently on or off
\ brief Announce whether the feature is currently on or off