sntl_persistence_create Supported in On-premises modeSupported in Lease modeSupported in Connected (Cloud LM) mode

Library Information

This API belongs to the Sentinel RMS persistence initialization library.

Description

Initializes or creates persistence data for standalone licensing only.

Syntax

SNTL_DECLARE(sntl_persistence_status_t) sntl_persistence_create (sntl_persistence_context_t *context,
                                                                 char                       *input);

 

Argument Description
context [in] Pointer to the persistence context object created using the sntl_persistence_context_new API.
input [in] Reserved for future use. Use NULL as the value for this argument.

Usage Notes

>Administrator privileges are required to use this API.

>Time-tamper persistence created using this API is now feature and version-independent. This means, you need not execute this API again for using other time-tamper enabled licenses.

Returns

The status code SNTL_PERSISTENCE_SUCCESS or SNTL_PERSISTENCE_FILE_INFO_EXISTS is returned if successful; otherwise, a specific status code is returned indicating the reason for failure.

NOTE   SNTL_PERSISTENCE_SUCCESS is returned when the API is called and persistence files are created. When all or some of the persistence files already exist, SNTL_PERSISTENCE_FILE_INFO_EXISTS is returned.

For the complete list of error codes, refer to Persistence Library Error Codes.