From 44dedb90f005bb0de9bddbd592a5c78f28bc67d1 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Tue, 10 May 2016 22:42:11 +0100 Subject: Replace cmd first part --- cmd.h | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 cmd.h (limited to 'cmd.h') diff --git a/cmd.h b/cmd.h deleted file mode 100644 index 436feac..0000000 --- a/cmd.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef __IHE_CMD_H -#define __IHE_CMD_H - -#include -#include -#include -#include -#include - -typedef struct cmd_arg -{ - int argc; - char **argv; -} cmd_arg; - - -typedef struct cmd_table -{ - char *cmd; - int (*clb)(cmd_arg*); -} cmd_table; - - -int cnt_sep( char *s ); -char* cmd_line( char *prompt ); -cmd_arg* cmd_parse( char *str ); -int cmd_exec( cmd_arg *cmd, cmd_table *table ); -void cmd_arg_free( cmd_arg *arg ); -void cmd_sub_arg_free( cmd_arg *arg ); -cmd_arg* sub_cmd( cmd_arg *arg ); - - -#endif -- cgit v1.2.3