|
WSB_EXPORT WSB_UInt32 | WSB_License_GetId (const WSB_License *license) |
| Gets the license ID for a specified license. More...
|
|
WSB_EXPORT WSB_ByteArray | WSB_License_GetData (const WSB_License *license) |
| Gets the license data (the bytes representing the license) for a specified license. More...
|
|
WSB_EXPORT WSB_Int32 | WSB_License_GetExpirationDate (const WSB_License *license) |
| Gets the license expiration date for a specified license. More...
|
|
WSB_EXPORT WSB_Int32 | WSB_License_GetPriority (const WSB_License *license) |
| Gets the license priority for a specified license. More...
|
|
WSB_EXPORT WSB_Int32 | WSB_License_GetInsertionDate (const WSB_License *license) |
| Gets the license insertion date (the date it was inserted into the License Store) for a specified license. More...
|
|
WSB_EXPORT const char * | WSB_License_GetTag (const WSB_License *license) |
| Gets the license tag for a specified license. More...
|
|
WSB_EXPORT WSB_Result | WSB_LicenseStore_Open (WSB_LicenseStore **store) |
| Opens the License Store and creates a new WSB_LicenseStore object to refer to it. More...
|
|
WSB_EXPORT WSB_Result | WSB_LicenseStore_AddLicense (WSB_LicenseStore *store, const void *data, WSB_Size data_size, const char *tag, WSB_UInt32 *lid) |
| Adds a license into the License Store. More...
|
|
WSB_EXPORT WSB_Result | WSB_LicenseStore_FindLicensesByContentIds (WSB_LicenseStore *store, const char **cids, WSB_Cardinal id_count, SHI_Data **licenses) |
| Finds in the License Store the license(s) with specified content ID(s). More...
|
|
WSB_EXPORT WSB_Result | WSB_LicenseStore_FindContentIdsByLicense (WSB_LicenseStore *store, WSB_UInt32 lid, SHI_Data **cids) |
| Finds in the License Store the content ID(s) governed by the license with the specified license ID. More...
|
|
WSB_EXPORT WSB_Result | WSB_LicenseStore_GetLicenseById (WSB_LicenseStore *store, WSB_UInt32 lid, SHI_Data **license) |
| Obtains from the License Store the license with a specified license ID. More...
|
|
WSB_EXPORT WSB_Result | WSB_LicenseStore_EnumerateLicenses (WSB_LicenseStore *store, WSB_Flags flags, SHI_Data **licenses) |
| Obtains from the License Store all licenses. More...
|
|
WSB_EXPORT WSB_Result | WSB_LicenseStore_EnumerateContentIds (WSB_LicenseStore *store, SHI_Data **cids) |
| Obtains from the License Store all content IDs governed by the licenses in the License Store. More...
|
|
WSB_EXPORT WSB_Result | WSB_LicenseStore_ExpungeExpiredLicenses (WSB_LicenseStore *store) |
| Expunges from the License Store all the expired licenses and vacuums the database. More...
|
|
WSB_EXPORT WSB_Result | WSB_LicenseStore_RemoveLicense (WSB_LicenseStore *store, WSB_UInt32 lid) |
| Removes from the License Store the license with a specified license ID. More...
|
|
WSB_EXPORT WSB_Result | WSB_LicenseStore_Close (WSB_LicenseStore *store) |
| Closes the License Store and releases the specified WSB_LicenseStore object referring to it. More...
|
|
Wasabi License Store API.