Subversion Repositories SvarDOS

Rev

Rev 372 | Rev 405 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 372 Rev 397
1
#ifndef CMD_H
1
#ifndef CMD_H
2
#define CMD_H
2
#define CMD_H
3
 
3
 
4
/* process internal commands */
4
/* process internal commands */
5
int cmd_process(unsigned short env_seg, const char far *cmdline, char *BUFFER);
5
int cmd_process(unsigned short env_seg, const char far *cmdline, char *BUFFER);
6
 
6
 
7
/* explodes a command into an array of arguments where last arg is NULL
7
/* explodes a command into an array of arguments where last arg is NULL
8
 * returns number of args */
8
 * returns number of args */
9
unsigned short cmd_explode(char *buff, const char far *s, char const **argvlist);
9
unsigned short cmd_explode(char *buff, const char far *s, char const **argvlist);
10
 
10
 
11
#endif
11
#endif
12
 
12