* Removed string limit on cli prompt and cli mode name
This commit is contained in:
parent
f07f291bdd
commit
e176330a74
4 changed files with 152 additions and 145 deletions
|
|
@ -37,13 +37,6 @@
|
|||
#ifndef _CLIXON_CLI_API_H_
|
||||
#define _CLIXON_CLI_API_H_
|
||||
|
||||
/*
|
||||
* Constants
|
||||
*/
|
||||
/* Max prompt length */
|
||||
#define CLI_PROMPT_LEN 64
|
||||
#define CLI_DEFAULT_PROMPT "cli> "
|
||||
|
||||
/*
|
||||
* Function Declarations
|
||||
*/
|
||||
|
|
@ -53,7 +46,6 @@ char *cli_syntax_mode(clicon_handle h);
|
|||
int cli_syntax_load(clicon_handle h);
|
||||
int cli_handler_err(FILE *fd);
|
||||
int cli_set_prompt(clicon_handle h, const char *mode, const char *prompt);
|
||||
char *cli_prompt(clicon_handle h, char *fmt);
|
||||
int cli_ptpush(clicon_handle h, char *mode, char *string, char *op);
|
||||
int cli_ptpop(clicon_handle h, char *mode, char *op);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue