00001 #ifndef _MSCRIPT_H__
00002 #define _MSCRIPT_H_
00003
00004
00005
00006
00007 #include <DAQ1000/rdo_cmds.h>
00008
00009
00010
00011 #define MINI_RUN_NUMBER 1
00012 #define MINI_ID 2
00013
00014
00015
00016 #ifdef linux
00017
00018
00019
00020
00021
00022
00023 #define MAX_MSCRIPT_LEN 1000
00024
00025 struct ParsedScript
00026 {
00027 char _fn[256];
00028 char *fn;
00029 int num;
00030
00031 u_int data[MAX_MSCRIPT_LEN];
00032 u_int n;
00033 };
00034
00035 int parse(ParsedScript *script, char *str, int batch=0);
00036
00037 #else
00038
00039
00040 int runList(u_int *prog, char *outputbuff, u_int sz);
00041 #endif
00042
00043
00044
00045 #endif