NCEPLIBS-bufr
11.7.0
|
Define a comparison between two master Code/Flag table entries. More...
Go to the source code of this file.
Functions | |
int | cmpstia2 (const void *pe1, const void *pe2) |
This function defines a comparison between two entries within the internal memory structure for storage of master Code/Flag table entries. More... | |
Define a comparison between two master Code/Flag table entries.
Definition in file cmpstia2.c.
int cmpstia2 | ( | const void * | pe1, |
const void * | pe2 | ||
) |
This function defines a comparison between two entries within the internal memory structure for storage of master Code/Flag table entries.
The comparison is used by the intrinsic C function bsearch, and it differs from the the comparison in function cmpstia1() because it only compares the iffxyn and ifval components of the structure, whereas cmpstia1() compares all of the iffxyn, ifval, iffxynd and ifvald components of the structure.
[in] | pe1 | – struct code_flag_entry*: First master Code/Flag table entry |
[in] | pe2 | – struct code_flag_entry*: Second master Code/Flag table entry |
Program history log:
Date | Programmer | Comments |
---|---|---|
2017-11-13 | J. Ator | Original author |
Definition at line 34 of file cmpstia2.c.
References code_flag_entry::iffxyn, and code_flag_entry::ifval.
Referenced by srchtbf().