NCEPLIBS-bufr 11.7.1
sorttbf.c
Go to the documentation of this file.
1
4#include "bufrlib.h"
5#include "cfe.h"
6
20void sorttbf( void )
21{
22 qsort( &cfe[0], ( size_t ) nmtf, sizeof( struct code_flag_entry ),
23 ( int (*) ( const void *, const void * ) ) cmpstia1 );
24}
Define signatures to enable a number of BUFRLIB subprograms to be called directly from C application ...
Define signatures and declare variables for internal storage of master Code/Flag table entries.
f77int nmtf
Number of stored master Code/Flag table entries in cfe, up to a maximum of MXMTBF.
int cmpstia1(const void *, const void *)
This function defines a comparison between two entries within the internal memory structure for stora...
Definition: cmpstia1.c:34
struct code_flag_entry * cfe
Master Code/Flag table entries.
This structure contains array and variable declarations used to store a master Code/Flag table entry.
Definition: cfe.h:33
void sorttbf(void)
This subroutine sorts the entries within the internal memory structure for storage of master Code/Fla...
Definition: sorttbf.c:20