dac30.c File Reference

Library for Data Acquisition; Network/File access routines. More...

#include "vxWorks.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#include "taskLib.h"
#include "iosLib.h"
#include "ctype.h"
#include "errno.h"
#include "netDrv.h"
#include "nfsLib.h"
#include "dosFsLib.h"
#include "dirent.h"
#include "stat.h"
#include "rlogLib.h"
#include "remLib.h"
#include "application.conf"

Defines

#define FILE_PERMIS_DFLT   0640
#define PTOTAL   parfile
#define PTEMPO   ptempo
#define xIDPAR   ptempo.parmtr.idpar
#define xIDPRG   ptempo.parmtr.idprg
#define xVERSION   ptempo.parmtr.version
#define PTOTAL   parfile
#define HTEMPO   htempo
#define xIDHDR   htempo.hdata.stddat.idhdr
#define xIDPRG   htempo.hdata.stddat.idprg
#define sIDHDR   SPEHDR->hdata.stddat.idhdr
#define sIDPRG   SPEHDR->hdata.stddat.idprg
#define RSHPORT   514
#define PAGELEN   17
#define FORMFEED   0x0c
#define MAXLINE   82
#define WORKAROUND   "./"

Functions

static int checkpath (void)
static int loadpar (void)
static int savepar (void)
static int loadhdr (void)
static int checkhdr (char *idhdr, char *idprg)
static int updhdr (void)
static int crtspe (void)
static int loadspe (void)
static int savespe (int mode)
static int deltspe (void)
static void filerr (int mode, char *line)
static char * mybasename (char *path)
static int oldHelp (void)
int Netwrk (int mode)
int Files (int mode)
int Help (void)
int Globify (char *fname, char *result, int lrslt)


Detailed Description

Library for Data Acquisition; Network/File access routines.

Author:
Kurt Huber; Strahlenzentrum J.L.-Universitaet GIESSEN
Date:
16.09.1998
Version:
15.08.2008
modification history
--------------------
15aug08 kHu	DOXYGEN comments added
15apr03 kHu	globify() -> Globify()
15apr03 kHu	Help mit INFO auf Server
20mar03 kHu	In Save-Par-File war fclose(fp) zuviel
15jan03 kHu	globify(): Aenderung fuer VxWorks, ~/... -> bootHost:/...
02jul02 kHu	uInit(), uReset() -> uClear
27may02 kHu	Permission Bits bei File Create
17apr02 kHu	checkpath(), globify() geaendert, mybasename() neu
10apr02 kHu	ergaenzt fuer NFS-Laufwerke (NOENTs)
18feb02 kHu	Argumente beim Start: PNAME,PTITLE,PARNAM,HLPNAM
19apr00 kHu	savespe() in Modify Mode
10mar00 kHu	IBYTES new
23feb00 kHu	erweitert auf verschiedene Header Typen
11nov99 kHu	Newprog Standard
28okt99 kHu	x.conf x.h neu geordnet
27okt99 kHu	Load Header/Spektrum geaendert
21sep99 kHu	ueberarbeitet
20jan99 kHu	include Header Files geaendert
22dec98 kHu	Trennen in daclib und exlib
17nov98 kHu	Check path
09oct98 kHu	#include TPHDR
16sep98 kHu	new: template version DAP from MCA program
15sep98 kHu	globify(): expansion of '~' in file names 
11sep98 kHu	Help added
25mar96	kHu	Ultrix, VxWorks Portierung (C)
04mar86 kHu	PDP11 Version (F77, Macro-11)

Define Documentation

#define FILE_PERMIS_DFLT   0640

#define FORMFEED   0x0c

#define HTEMPO   htempo

#define MAXLINE   82

#define PAGELEN   17

#define PTEMPO   ptempo

#define PTOTAL   parfile

#define PTOTAL   parfile

#define RSHPORT   514

#define sIDHDR   SPEHDR->hdata.stddat.idhdr

#define sIDPRG   SPEHDR->hdata.stddat.idprg

#define WORKAROUND   "./"

#define xIDHDR   htempo.hdata.stddat.idhdr

#define xIDPAR   ptempo.parmtr.idpar

#define xIDPRG   htempo.hdata.stddat.idprg

#define xIDPRG   ptempo.parmtr.idprg

#define xVERSION   ptempo.parmtr.version


Function Documentation

static int checkhdr ( char *  idhdr,
char *  idprg 
) [static]

static int checkpath ( void   )  [static]

static int crtspe ( void   )  [static]

static int deltspe ( void   )  [static]

static void filerr ( int  mode,
char *  line 
) [static]

int Files ( int  mode  ) 

int Globify ( char *  fname,
char *  result,
int  lrslt 
)

int Help ( void   ) 

static int loadhdr ( void   )  [static]

static int loadpar ( void   )  [static]

static int loadspe ( void   )  [static]

static char * mybasename ( char *  path  )  [static]

int Netwrk ( int  mode  ) 

int oldHelp ( void   )  [static]

static int savepar ( void   )  [static]

static int savespe ( int  mode  )  [static]

static int updhdr ( void   )  [static]


Generated on Wed Oct 15 16:17:14 2008 for Experiment-Software by  doxygen 1.5.6