NCEPLIBS-bufr  12.0.0
ardllocc.c
Go to the documentation of this file.
1 
7 #include "bufrlib.h"
8 #include "cread.h"
9 #include "mstabs.h"
10 
20 void
21 ardllocc(void)
22 {
23 
24 /*
25 ** cread arrays
26 */
27 
28  free( pb );
29  free( lstpos );
30 
31 /*
32 ** mstabs arrays
33 */
34 
35  free( ibfxyn_c );
36  free( cbscl_c );
37  free( cbsref_c );
38  free( cbbw_c );
39  free( cbunit_c );
40  free( cbmnem_c );
41  free( cbelem_c );
42  free( idfxyn_c );
43  free( cdseq_c );
44  free( cdmnem_c );
45  free( ndelem_c );
46  free( idefxy_c );
47 
48 }
49 
void ardllocc(void)
Free all dynamically-allocated memory within internal C language arrays.
Definition: ardllocc.c:21
Enable a number of NCEPLIBS-bufr subprograms to be called from within the C part of the library.
Declare variables for reading or writing BUFR messages via a C language interface.
FILE ** pb
File pointers.
fpos_t * lstpos
Byte positions of last successful reads from files corresponding to pb, for files that were opened fo...
Declare variables for internal storage of master Table B and Table D entries.
char(* cbunit_c)[24]
Master Table B units; copied from Fortran cbunit array.
int * idfxyn_c
Bit-wise representations of master Table D FXY numbers; copied from Fortran idfxyn array.
char(* cdmnem_c)[8]
Master Table D mnemonics; copied from Fortran cdmnem array.
char(* cbelem_c)[120]
Master Table B element names; copied from Fortran cbelem array.
int * ndelem_c
Number of child descriptors for master Table D sequence; copied from Fortran ndelem array.
int * idefxy_c
Bit-wise representations of child descriptors for master Table D sequence; copied from Fortran idefxy...
char(* cbbw_c)[4]
Master Table B bit widths; copied from Fortran cbbw array.
char(* cbsref_c)[12]
Master Table B reference value; copied from Fortran cbsref array.
char(* cdseq_c)[120]
Master Table D sequence names; copied from Fortran cdseq array.
int * ibfxyn_c
Bit-wise representations of master Table B FXY numbers; copied from Fortran ibfxyn array.
char(* cbscl_c)[4]
Master Table B scale factors; copied from Fortran cbscl array.
char(* cbmnem_c)[8]
Master Table B mnemonics; copied from Fortran cbmnem array.