Beispiel #1
0
static char *complete_cg(char *line, char *word, int pos, int state)
{

	if(pos == 1) {
		return complete_ch_helper(line, word, pos, state);
	}
	else if(pos >= 2) {
		return complete_exten_at_context(line, word, pos, state);
	}
	return NULL;

}
Beispiel #2
0
static char *complete_ch_4(char *line, char *word, int pos, int state)
{
	return complete_ch_helper(line, word, pos, state, 3);
}