libplist  2.7.0
API Documentation - Return to Homepage

◆ plist_get_key_val()

PLIST_API void plist_get_key_val ( plist_t  node,
char **  val 
)

Get the value of a PLIST_KEY node.

This function does nothing if node is not of type PLIST_KEY

Parameters
nodethe node
vala pointer to a C-string. This function allocates the memory, caller is responsible for freeing it.
Note
Use plist_mem_free() to free the allocated memory.