libplist  2.7.0
API Documentation - Return to Homepage

◆ plist_key_val_contains()

PLIST_API int plist_key_val_contains ( plist_t  keynode,
const char *  substr 
)

Helper function to match a given substring in the value of a PLIST_KEY node.

Parameters
keynodenode of type PLIST_KEY
substrvalue to match
Returns
1 if the node's value contains the given substring, or 0 if not.