NCEPLIBS-bufr  11.6.0
 All Data Structures Files Functions Variables Pages
sorttbf.c
Go to the documentation of this file.
1 
4 #include "bufrlib.h"
5 #include "cfe.h"
6 
20 void 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 ...
void sorttbf(void)
This subroutine sorts the entries within the internal memory structure for storage of master Code/Fla...
Definition: sorttbf.c:20
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
f77int nmtf
Number of stored master Code/Flag table entries in cfe, up to a maximum of MXMTBF.
This structure contains array and variable declarations used to store a master Code/Flag table entry...
Definition: cfe.h:33
struct code_flag_entry * cfe
Master Code/Flag table entries.
Define signatures and declare variables for internal storage of master Code/Flag table entries...