Metropoli BBS
VIEWER: script.h MODE: TEXT (ASCII)
/*
 * SCRIPT
 */

 #define MIN_VC_NUM	2

 struct SCRIPT_OP_DEF
 {
  char	*str;
  FLAG  (*func)(struct SCRIPT_OBJ *);
  };

/*
 * Script Object
 *
 * file_op_num - File operation number.  When errors are reported, they
 * are refernce the operationm number causeing the error.
 *
 * req_outs - Number of outstanding requests that can exist at any given
 * time. E.g. 1 outstanding request implies single threaded behavior.
 */

 struct SCRIPT_OBJ
 {
  int	file_op_num;
  FILE	*file;
  FLAG	single_step;
  FLAG	abort;
  FLAG	loop;
  int	aspi_allow_reqs;
  };

 FLAG script_file(char *);
 void script_parse(void);
[ RETURN TO DIRECTORY ]