Functions | |
| char * | oyPolicyToXML (oyGROUP group, int add_header, oyAllocFunc_t allocate_func) |
| int | oyReadXMLPolicy (oyGROUP group, const char *xml) |
| char* oyPolicyToXML | ( | oyGROUP | group, | |
| int | add_header, | |||
| oyAllocFunc_t | allocate_func | |||
| ) |
Save a group of policy settings.
Write only such variables, which are available and ignore unknown ones. This currently produces pseudo xml configuration files.
| group | the policy group | |
| add_header | add description | |
| allocate_func | user provided function for allocating the strings memory |
| int oyReadXMLPolicy | ( | oyGROUP | group, | |
| const char * | xml | |||
| ) |
Load a group of policy settings.
use xml-ish input produced by oyPolicyToXML()
| group | the policy group | |
| xml | xml configuration string |
1.5.5