Subversion Repositories SvarDOS

Rev

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

Rev 987 Rev 1001
Line 28... Line 28...
28
#define FLAG_EXEC_AND_QUIT    1
28
#define FLAG_EXEC_AND_QUIT    1
29
#define FLAG_PERMANENT        2
29
#define FLAG_PERMANENT        2
30
#define FLAG_ECHOFLAG         4
30
#define FLAG_ECHOFLAG         4
31
#define FLAG_ECHO_BEFORE_BAT  8
31
#define FLAG_ECHO_BEFORE_BAT  8
32
#define FLAG_SKIP_AUTOEXEC   16
32
#define FLAG_SKIP_AUTOEXEC   16
-
 
33
#define FLAG_STEPBYSTEP      32
-
 
34
 
33
 
35
 
34
/* batch context structure used to track what batch file is being executed,
36
/* batch context structure used to track what batch file is being executed,
35
 * at what line, arguments, whether or not it has a parent batch... */
37
 * at what line, arguments, whether or not it has a parent batch... */
36
struct batctx {
38
struct batctx {
37
  char fname[130];            /* truename of batch file being processed */
39
  char fname[130];            /* truename of batch file being processed */
38
  char argv[130];             /* args of the batch call (0-separated) */
40
  char argv[130];             /* args of the batch call (0-separated) */
-
 
41
  unsigned char flags;        /* used for step-by-step execution */
39
  unsigned long nextline;     /* offset in file of next bat line to process */
42
  unsigned long nextline;     /* offset in file of next bat line to process */
40
  struct batctx far *parent;  /* parent context if this batch was CALLed */
43
  struct batctx far *parent;  /* parent context if this batch was CALLed */
41
};
44
};
42
 
45
 
43
struct rmod_props {
46
struct rmod_props {