libplist  2.7.0
API Documentation - Return to Homepage

◆ plist_set_string_val()

PLIST_API void plist_set_string_val ( plist_t  node,
const char *  val 
)

Set the value of a node.

Forces type of node to PLIST_STRING

Parameters
nodethe node
valthe string value. The string is copied when set and will be freed by the node.