CLI plugin API restructuring completed. Now all plugin APIs have the generic form
documented in README and FAQ.
This commit is contained in:
parent
afb6aa31db
commit
2e00411621
19 changed files with 317 additions and 551 deletions
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
/*
|
||||
* Prototypes
|
||||
* Internal prototypes. For exported functions see clicon_cli_api.h
|
||||
* Internal prototypes. For exported functions see clixon_cli_api.h
|
||||
*/
|
||||
int cli_parse_file(clicon_handle h,
|
||||
FILE *f,
|
||||
|
|
@ -47,7 +47,9 @@ int cli_parse_file(clicon_handle h,
|
|||
parse_tree *pt,
|
||||
cvec *globals);
|
||||
|
||||
int cli_susp_hook(clicon_handle h, cli_susphook_t *fn);
|
||||
int cli_susp_hook(clicon_handle h, cligen_susp_cb_t *fn);
|
||||
|
||||
int cli_interrupt_hook(clicon_handle h, cligen_interrupt_cb_t *fn);
|
||||
|
||||
char *cli_nomatch(clicon_handle h);
|
||||
|
||||
|
|
@ -56,8 +58,8 @@ int cli_prompt_set(clicon_handle h, char *prompt);
|
|||
int cli_logsyntax_set(clicon_handle h, int status);
|
||||
|
||||
/* Internal functions for handling cli groups */
|
||||
|
||||
cli_syntax_t *cli_syntax(clicon_handle h);
|
||||
|
||||
int cli_syntax_set(clicon_handle h, cli_syntax_t *stx);
|
||||
|
||||
#endif /* _CLI_HANDLE_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue