Get Function
Description
Retrieves administration or monitoring information from a License Manager specified by a License Manager context.
Syntax
sntl_admin_status_t SNTL_ADMIN_CALLCONV sntl_admin_get(
sntl_admin_context_t * admin_context,
const char * scope,
const char * format, char ** info
)
Parameters
|
Pointer to the License Manager context to be used. |
||||||||||||
scope
|
Definition of the data that is to be searched, in XML format. For more information, see Scope XML Tags. |
||||||||||||
|
Definition of the data to be retrieved, in XML format. For more information, see Format XML Tags. |
||||||||||||
|
Pointer to the information that is retrieved, in XML format, including status information. For Sentinel protection keys, the type of key is as described below.
For Sentinel SL keys: <hasp> The values for keyType and keyConfiguration are as follows:
For HASP HL keys: <hasp> The value for keyType is one of the following: HASP HL NetTime 250+
For Sentinel HL keys: <hasp> The value for keyType is the same as for HASP HL keys, but Sentinel replaces HASP. For example: Sentinel HL Max The value for keyConfiguration is one of the following: >Sentinel HL (HASP configuration) keys: hasphl,sentinelhl >Sentinel HL (Driverless configuration) keys: sentinelhl,driverless |
Return Values
SNTL_ADMIN_SCOPE_RESULTS_EMPTY
Usage Notes
This function allocates memory for the information it retrieves. To release allocated memory resources, use the Free function.
NOTE When using the Get function to retrieve a list of identities, if the scope specified in the call returns no identities, the return code depends on the version of the Run-time Environment:
>With RTE <= 8.43, the return code is 0 (SNTL_ADMIN_STATUS_OK)
>With RTE >= 8.51, the return code is 6019 (SNTL_ADMIN_SCOPE_RESULTS_EMPTY)