libplist  2.7.0
API Documentation - Return to Homepage

◆ plist_uid_val_compare()

PLIST_API int plist_uid_val_compare ( plist_t  uidnode,
uint64_t  cmpval 
)

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

Parameters
uidnodenode of type PLIST_UID
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.