VLSremoveQueue
Syntax
int VLSremoveQueue (
unsigned char *feature name,
unsigned char *version,
char *log_comment );
Description
This API will provide a mechanism to delete the complete queue for a specified license.
VLSremoveQueue will be available to:
>The user-account who started the License Manager, which actually signifies when the client was put in the queue.
>The root/administrator account.
Returns
The status code LS_SUCCESS is returned if successful. Otherwise, it will return the following error codes:
Error Code |
Description |
VLS_CALLING_ERROR |
>Attempted to use standalone mode with network only library, or network mode with standalone library. >The log comment value has exceeded the maximum allowed buffer size. Up to 50 characters are allowed (excluding the null character). If you plan to have only anonymized characters in the usage log file, then after the anonymization tag <an>, up to 3 words separated by a space can be included. If you plan to have only a part of data as anonymized, then use the following formula to calculate the maximum allowed data: 50 bytes = 17x + y, where "x" is the number of words to be anonymized and "y" is the length of the unanonymized data. >The log comment probably consists of the hash (#) sign in the beginning or end of the string. Also, it should not contain consecutive hash signs. |
VLS_APP_UNNAMED |
>feature_name is NULL >version is NULL >Both feature name and version cannot be NULL. |
VLS_CLIENT_NOT_ AUTHORIZED |
Client not authorized to remove queue. |
VLS_NO_SERVER_ RUNNING |
License Manager on specified host is not available for processing license operation requests. |
VLS_HOST_UNKNOWN |
Invalid hostName was specified. |
VLS_NO_SERVER_FILE |
The License Manager has not been set and is unable to determine which License Manager to use. |
VLS_BAD_SERVER_ MESSAGE |
Message returned by the License Manager could not be understood. |
LS_NO_NETWORK |
Generic error indicating that the network is unavailable for servicing the license operation. |
LS_NORESOURCES |
An error occurred in attempting to allocate memory needed by this function. |
For a complete list of the error codes, see Licensing Library Error and Result Codes.