This is our new RELEASE-4_0 branch which was taken from ansto/93d9a7c Conflicts: .gitignore SICSmain.c asynnet.c confvirtualmot.c counter.c devexec.c drive.c event.h exebuf.c exeman.c histmem.c interface.h motor.c motorlist.c motorsec.c multicounter.c napi.c napi.h napi4.c network.c nwatch.c nxscript.c nxxml.c nxxml.h ofac.c reflist.c scan.c sicshipadaba.c sicsobj.c site_ansto/docs/Copyright.txt site_ansto/instrument/lyrebird/config/tasmad/sicscommon/nxsupport.tcl site_ansto/instrument/lyrebird/config/tasmad/taspub_sics/tasscript.tcl statusfile.c tasdrive.c tasub.c tasub.h tasublib.c tasublib.h
34 lines
989 B
C
34 lines
989 B
C
|
|
/*-----------------------------------------------------------------------
|
|
N X S C R I P T
|
|
|
|
This is a class for scripting the contents of NeXus files from
|
|
SICS.
|
|
|
|
copyright: see file COPYRIGHT
|
|
|
|
Mark Koennecke, February 2003
|
|
------------------------------------------------------------------------*/
|
|
#ifndef NXSCRIPT
|
|
#define NXSCRIPT
|
|
#include "napi.h"
|
|
#include "nxdict.h"
|
|
|
|
int MakeNXScript(SConnection * pCon, SicsInterp * pSics, void *pData,
|
|
int argc, char *argv[]);
|
|
int NXScriptAction(SConnection * pCon, SicsInterp * pSics, void *pData,
|
|
int argc, char *argv[]);
|
|
|
|
char *makeFilename(SicsInterp * pSics, SConnection * pCon);
|
|
void changeExtension(char *filename, char *newExtension);
|
|
int isNXScriptWriting(void);
|
|
/*============== a personal data structure ============================*/
|
|
typedef struct {
|
|
pObjectDescriptor pDes;
|
|
NXhandle fileHandle;
|
|
NXdict dictHandle;
|
|
int timeDivisor;
|
|
} NXScript, *pNXScript;
|
|
|
|
#endif
|