rax_value_cmp

int rax_value_cmp(rax_type_t type,
 u_rax_value_t val1,
 u_rax_value_t val2);
 

Compare two values of the same type. If the values are equal, the function returns 0. If val1 is less than val2 then the function returns an integer < 0. If val1 is greater than val2 then the function returns an integer > 0.