projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cli: Share a common write_cmd() implementation
[mech_eap.git]
/
src
/
common
/
cli.h
diff --git
a/src/common/cli.h
b/src/common/cli.h
index
4caf321
..
9f9f851
100644
(file)
--- a/
src/common/cli.h
+++ b/
src/common/cli.h
@@
-38,5
+38,7
@@
int cli_txt_list_add_word(struct dl_list *txt_list, const char *txt,
char ** cli_txt_list_array(struct dl_list *txt_list);
int get_cmd_arg_num(const char *str, int pos);
+int write_cmd(char *buf, size_t buflen, const char *cmd, int argc,
+ char *argv[]);
#endif /* CLI_H */