Function wyrd_get_merge_strategy
Defined in File properties.h
Function Documentation
-
wyrd_error_t wyrd_get_merge_strategy(struct wyrd_handle *handle, char const *path, wyrd_merge_strategy *strategy)
Retrieve the merge strategy of a property.
- Parameters
handle – [in] A handle to an opened resource.
path – [in] The path to the property.
strategy – [out] The curent merge strategy.
- Return values
WYRD_ERR_SUCCESS – If the given merge strategy matches the current merge strategy.
WYRD_ERR_INVALID_VALUE – If any of the parameters are invalid, such as e.g. NULL when they should not be, etc.
WYRD_ERR_PROPERTY_NOT_FOUND – If the specified property does not exist.