22 #ifndef FREERDP_LICENSE_H
23 #define FREERDP_LICENSE_H
25 #include <freerdp/api.h>
26 #include <freerdp/types.h>
35 LICENSE_STATE_INITIAL,
36 LICENSE_STATE_CONFIGURED,
37 LICENSE_STATE_REQUEST,
38 LICENSE_STATE_NEW_REQUEST,
39 LICENSE_STATE_PLATFORM_CHALLENGE,
40 LICENSE_STATE_PLATFORM_CHALLENGE_RESPONSE,
41 LICENSE_STATE_COMPLETED,
47 LICENSE_TYPE_INVALID = 0,
52 typedef struct rdp_license rdpLicense;
54 FREERDP_API rdpLicense* license_get(rdpContext* context);
55 FREERDP_API LICENSE_STATE license_get_state(
const rdpLicense* license);
56 FREERDP_API LICENSE_TYPE license_get_type(
const rdpLicense* license);