HOPS
HOPS class reference
Classes | Macros | Functions
fstruct.h File Reference

Go to the source code of this file.

Classes

struct  fstruct
 

Macros

#define BADBASE   0x004
 
#define BADFNUM   0x008
 
#define BADFORM   0x002
 
#define BADFREQ   0x010
 
#define BADMALLOC   0x100
 
#define BADROOT   0x040
 
#define BADSRC   0x020
 
#define BADSTAT   0x080
 
#define BADSTRING   0x001
 
#define FALSE   0
 
#define LEGALPOLCHARS   "HVLRXY"
 
#define MAXFILES   500000
 
#define MAXFNDIGITS   4
 
#define TRUE   1
 

Functions

int check_name (char *, fstruct *)
 
int extract_filenames (char *, int, fstruct **, int *, int *, int *)
 
int get_filelist (int, char **, int, fstruct **)
 
void prep_fstruct (fstruct *)
 

Class Documentation

◆ fstruct

struct fstruct
Class Members
char baseline[3]
short done
int filenum
float floatparm[4]
char freq_code
int intparm[4]
char * name
int namealloc
int order
char poln[3]
char rootcode[7]
char source[32]
char station
short type

Macro Definition Documentation

◆ BADBASE

#define BADBASE   0x004

◆ BADFNUM

#define BADFNUM   0x008

◆ BADFORM

#define BADFORM   0x002

◆ BADFREQ

#define BADFREQ   0x010

◆ BADMALLOC

#define BADMALLOC   0x100

◆ BADROOT

#define BADROOT   0x040

◆ BADSRC

#define BADSRC   0x020

◆ BADSTAT

#define BADSTAT   0x080

◆ BADSTRING

#define BADSTRING   0x001

◆ FALSE

#define FALSE   0

◆ LEGALPOLCHARS

#define LEGALPOLCHARS   "HVLRXY"

◆ MAXFILES

#define MAXFILES   500000

◆ MAXFNDIGITS

#define MAXFNDIGITS   4

◆ TRUE

#define TRUE   1

Function Documentation

◆ check_name()

int check_name ( char *  name,
fstruct f_info 
)

◆ extract_filenames()

int extract_filenames ( char *  directory,
int  type,
fstruct **  files,
int *  nalloc,
int *  filenum,
int *  depth 
)

◆ get_filelist()

int get_filelist ( int  argc,
char **  argv,
int  type,
fstruct **  files 
)

◆ prep_fstruct()

void prep_fstruct ( fstruct f_info)