Function Name: Compare CCs

Definition

Compares 2 EDCS Classification Codes (ECCs); the function is not case- sensitive. This function's signature is compatible with qsort.

Returns

-1 if *a_ptr < *b_ptr

0 if *a_ptr == *b_ptr

1 if *a_ptr > *b_ptr

Prototype


extern int
EDCS_CompareCCs
(
constEDCS_CC_ID *a_ptr, (notes)
constEDCS_CC_ID *b_ptr (notes)
);

Parameters Notes

a_ptr

 pointer to 1st EDCS Classification Code (ECC) to be compared

b_ptr

 pointer to 2nd EDCS Classification Code (ECC) to be compared

Prev: Compare ACs. Next: Get AC Definition. Up:Index.