NCEPLIBS-bufr  11.5.0
 All Data Structures Files Functions Variables Pages
cfe.h
Go to the documentation of this file.
1 
8 #define MAX_MEANING_LEN 150
9 
10 #ifdef UNDERSCORE
11 #define cmpstia1 cmpstia1_
12 #define cmpstia2 cmpstia2_
13 #define dlloctbf dlloctbf_
14 #define inittbf inittbf_
15 #define sorttbf sorttbf_
16 #define srchtbf srchtbf_
17 #define strtbfe strtbfe_
18 #endif
19 
20 int cmpstia1( const void *, const void * );
21 int cmpstia2( const void *, const void * );
22 void dlloctbf( void );
23 void inittbf( void );
24 void sorttbf( void );
25 void srchtbf( f77int *, f77int *, f77int *, f77int *, f77int *,
26  char *, f77int *, f77int *, f77int * );
27 void strtbfe( f77int *, f77int *, char *, f77int *, f77int *, f77int * );
28 
51  f77int iffxyn;
52  f77int ifval;
53  char ifmeaning[MAX_MEANING_LEN+1];
54  f77int iffxynd;
55  f77int ifvald;
56 };
57 
71 #ifdef IN_INITTBF
72  struct code_flag_entry *cfe; /* will automatically initialize to NULL */
73  f77int mxmtbf;
74  f77int nmtf;
75 #else
76  extern struct code_flag_entry *cfe;
77  extern f77int mxmtbf;
78  extern f77int nmtf;
79 #endif
f77int mxmtbf
Maximum number of master Code/Flag table entries, counting across all individual Code/Flag tables...
f77int ifval
Code figure or bit number.
Definition: cfe.h:52
void sorttbf(void)
This subroutine sorts the entries within the internal memory structure for storage of master Code/Fla...
Definition: sorttbf.c:18
f77int iffxynd
Bitwise representation of FXY number upon which this entry is dependent, if any.
Definition: cfe.h:54
int cmpstia1(const void *, const void *)
This function defines a comparison between two entries within the internal memory structure for stora...
Definition: cmpstia1.c:32
char ifmeaning[MAX_MEANING_LEN+1]
Meaning corresponding to ifval.
Definition: cfe.h:53
void inittbf(void)
This subroutine initializes the internal memory structure for storage of master Code/Flag table entri...
Definition: inittbf.c:20
void strtbfe(f77int *, f77int *, char *, f77int *, f77int *, f77int *)
This subroutine adds a new entry to the internal memory structure for storage of master Code/Flag tab...
Definition: strtbfe.c:31
f77int nmtf
Number of stored master Code/Flag table entries in cfe, up to a maximum of MXMTBF.
int cmpstia2(const void *, const void *)
This function defines a comparison between two entries within the internal memory structure for stora...
Definition: cmpstia2.c:32
This structure contains array and variable declarations used to store a master Code/Flag table entry...
Definition: cfe.h:33
f77int ifvald
Code figure or bit number upon which this entry is dependent, if any.
Definition: cfe.h:55
f77int iffxyn
Bitwise representation of FXY number to which this entry belongs.
Definition: cfe.h:51
struct code_flag_entry * cfe
Master Code/Flag table entries.
void dlloctbf(void)
This subroutine frees any memory that was dynamically allocated during a previous call to subroutine ...
Definition: dlloctbf.c:18
void srchtbf(f77int *, f77int *, f77int *, f77int *, f77int *, char *, f77int *, f77int *, f77int *)
This subroutine searches for a specified FXY number and associated value (code figure or bit number) ...
Definition: srchtbf.c:72