cli: Share a common tokenize_cmd() implementation
[mech_eap.git] / src / common / cli.h
index 9f9f851..41ef329 100644 (file)
@@ -41,4 +41,7 @@ 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[]);
 
+#define max_args 10
+int tokenize_cmd(char *cmd, char *argv[]);
+
 #endif /* CLI_H */