libplist  2.7.0
API Documentation - Return to Homepage

◆ plist_get_string_val()

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

Get the value of a PLIST_STRING node.

This function does nothing if node is not of type PLIST_STRING

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