libplist  2.2.0
API Documentation - Return to Homepage

◆ plist_uint_val_compare()

int plist_uint_val_compare ( plist_t  uintnode,
uint64_t  cmpval 
)

Helper function to compare the value of a PLIST_UINT node against a given value.

Parameters
uintnodenode of type PLIST_UINT
cmpvalvalue to compare against
Returns
0 if the node's value and cmpval are equal, 1 if the node's value is greater than cmpval, or -1 if the node's value is less than cmpval.