Subversion Repositories SvarDOS

Rev

Rev 397 | Rev 421 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 397 Rev 405
Line 1... Line 1...
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_rmod, 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