Previous section.

Systems Management: Software License Use Management (XSLM)
Copyright © 1999 The Open Group

NAME

xslm_basic_confirm

SYNOPSIS

#include <libxslm.h>

xslm_uint32 xslm_basic_confirm(
    xslm_handle lic_handle,
    xslm_uint32 * status
);


DESCRIPTION

xslm_basic_confirm() confirms that a license is currently in use. Should the license server not receive any confirmation from the application within the default time period specified in the certificate, the license server will assume the license is no longer in use and will release the license, and, if it is of the CONCURRENT type, return the respective number of units.

INPUT PARAMETERS

lic_handle

A reference returned by xslm_basic_request_license().

OUTPUT PARAMETERS

status

Completion status. Detailed error code directly processable by the caller. This value is set to XSLM_STATUS_OK if no error occurred. For other messages, see ERRORS.

RETURN VALUE

XSLM_OK

License obtained

XSLM_COMM_ERR

Communications problem

XSLM_CERT_ERR

Problem with license and/or certificate

XSLM_RESRC_UNAVL

Local resources unavailable

XSLM_PARM_ERR

Parameter error

ERRORS

The function return value gives an overall indication of the success or failure of the call. In addition, the status parameter will be set to one of the following values, to further help point to the reason for a failed request.
Note:
In the future, additional values may be defined for the status variable. An application must not rely upon these being the only possible values.

Return Value Status Value Explanation
XSLM_OK XSLM_STATUS_OK No errors occurred
XSLM_COMM_ERR XSLM_LIC_SYS_NOT_RESP The licensing system does not respond
XSLM_RESRC_UNAVL XSLM_NO_RES Platform dependent
XSLM_PARM_ERR XSLM_BAD_LICENSE_HANDLE The handle is invalid, perhaps because the xslm_confirm() call was issued too late
  XSLM_BAD_PARM One or more parameters were not correct
  XSLM_INVALID_API_USE Attempt to combine basic and advanced API for same handle

SEE ALSO

xslm_basic_request_license().

Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.

Contents Next section Index