29 lines
1.2 KiB
C
29 lines
1.2 KiB
C
#include "MemRdWt.h"/*..\..\Slfio\*/
|
|
#include "BaseFun.h"
|
|
#include "math.h"
|
|
|
|
void Test(char *FileName);
|
|
void lrcls(unsigned char ctype,int *idrt,int *lrtype) ;
|
|
void pratr(unsigned char chatr1,unsigned char chatr2,int *pmatr);
|
|
void rdbufp(FILE *fp,unsigned char *buff,int lbuff,int lrtype,int istats,int maxrl,int nbyte,int ngpbyte);
|
|
//
|
|
//- read a logical record length from disk file.
|
|
void rdbuf(FILE *fp,unsigned char *buff,int *lbuff,int *lrtype,int *istats,int maxrl,int *nbyte,int ngpbyte);
|
|
CString reelhd(char *buff);
|
|
CString tapehd(char *buff);
|
|
CString filehd(char *buff,int *maxrl);
|
|
float unitfactor(char *depunit,int len);
|
|
CString formsp(char *buff,int lbuff,int iswitab);
|
|
void convrt(float *value,unsigned char *buff,int lbuff,int ips,int irecod,int nsamp);
|
|
CString infrec(char *buff,int lbuff,int iswitab);
|
|
int lbytes(int ircode);
|
|
int lwbytes(int ircode);
|
|
int idtype(int ircode);
|
|
void scdtype(char *cdtype,int ircode);
|
|
void fsinglc(char *cha,float value,int *nbyte);
|
|
void fsinglb(char *cha,float *value,int npoints,int *nbyte);
|
|
void snormb(char *cha,short *ivalue,int npoints,int *nbyte);
|
|
void snormb(uchar *cha,ushort *ivalue,int npoints,int *nbyte);
|
|
void slongb(char *cha,int *ivalue,int npoints,int *nbyte);
|
|
CString CharToCstring(char *buf,int len);
|