sntl_persistence_attr_new 


Library Information
This API belongs to:
•Sentinel RMS persistence initialization library
•Sentinel RMS persistence cleaning library
Description
Creates a new attribute object in the attr output parameter. An attribute object is a collection of {key, value} pairs that defines an API function's additional input parameters.
Syntax
SNTL_DECLARE(sntl_persistence_status_t) sntl_persistence_attr_new(sntl_persistence_attr_t **attr);
Argument | Description |
---|---|
attr [out] |
Pointer to the attribute object created. This API allocates memory resources , which can be released using the sntl_persistence_attr_delete API. |
Returns
The status code SNTL_PERSISTENCE_SUCCESS is returned, if successful. Otherwise, a specific status code is returned indicating the reason for failure.
For the complete list of error codes, refer to Persistence Library Error Codes.