* 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

@ -66,9 +66,13 @@ void *clixon_str2fn(char *name, void *handle, char **error);
int clicon_eval(clicon_handle h, char *cmd, cg_obj *match_obj, cvec *vr);
#ifdef USE_CLIGEN44
int clicon_parse(clicon_handle h, char *cmd, char **modenamep, int *evalres);
char *clicon_cliread(clicon_handle h);
#else
int clicon_parse(clicon_handle h, char *cmd, char **mode, cligen_result *result, int *evalres);
int clicon_cliread(clicon_handle h, char **stringp);
#endif
int cli_plugin_finish(clicon_handle h);