10 #ifndef __BRP_BALTECH_API_CMDS_LIC_H__    11 #define __BRP_BALTECH_API_CMDS_LIC_H__    12 #include "../typedefs.h"    16 #define BRP_Lic_ErrNoLicCard BRP_ERR_STATUS(0x0B00, 0x01)    20 #define BRP_Lic_ErrAccess BRP_ERR_STATUS(0x0B00, 0x02)    28 #define BRP_Lic_ErrNotSupported BRP_ERR_STATUS(0x0B00, 0x03)    32 #define BRP_Lic_ErrAlreadyActive BRP_ERR_STATUS(0x0B00, 0x04)    36 #define BRP_Lic_ErrNoFreeLicense BRP_ERR_STATUS(0x0B00, 0x05)    43 #define BRP_Lic_ErrActivation BRP_ERR_STATUS(0x0B00, 0x06) 
unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions. 
 
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol. 
 
brp_errcode brp_Lic_GetLicenses(brp_protocol protocol, brp_LicenseBitMask *LicenseBitMask)
This command retrieves a bit mask of the licenses that are activated on the reader. 
 
brp_errcode brp_Lic_ReadLicCard(brp_protocol protocol)
This command reads and evaluates a LicenseCard.