20 #include "secClientMocks.h"
24 int32_t SecClient_AcquireLicense(
const char *serviceHostUrl,
25 uint8_t numberOfRequestMetadataKeys,
26 const char *requestMetadata[][2],
27 uint8_t numberOfAccessAttributes,
28 const char *accessAttributes[][2],
29 const char *contentMetadata,
30 size_t contentMetadataLength,
31 const char *licenseRequest,
32 size_t licenseRequestLength,
33 const char *keySystemId,
34 const char *mediaUsage,
35 const char *accessToken,
36 char **licenseResponse,
37 size_t *licenseResponseLength,
38 uint32_t *refreshDurationSeconds,
39 SecClient_ExtendedStatus *statusInfo)
42 return g_mockSecClient->SecClient_AcquireLicense(serviceHostUrl,
43 numberOfRequestMetadataKeys,
45 numberOfAccessAttributes,
48 contentMetadataLength,
55 licenseResponseLength,
56 refreshDurationSeconds);
59 int32_t SecClient_FreeResource(
const char *resource)
61 return g_mockSecClient->SecClient_FreeResource(resource);