* Compile-time option: USE_CLIGEN44 for running clixon-45 with cligen-44.

* Temporary fix since cligen-45 have some non-backward compatible behaviour.
This commit is contained in:
Olof hagsand 2020-05-01 00:42:54 +02:00
parent b8ec6a4957
commit 772759e42f
9 changed files with 252 additions and 3 deletions

View file

@ -193,6 +193,15 @@ cli_interrupt_hook(clicon_handle h,
return cligen_interrupt_hook(ch, fn);
}
#ifdef USE_CLIGEN44
char *
cli_nomatch(clicon_handle h)
{
cligen_handle ch = cligen(h);
return cligen_nomatch(ch);
}
#endif
int
cli_prompt_set(clicon_handle h,
char *prompt)