/* Function codes. */
#define LICENSE_F_ADD_LICENSE                 801
#define LICENSE_F_CHECK_LICENSE               802
#define LICENSE_F_CHECK_STORE                 803
#define LICENSE_F_GET_PAYLOAD                 804
#define LICENSE_F_SAVE_LICENSE_FILE           805

/* Reason codes. */
#define LICENSE_R_NO_ERROR		      900
#define LICENSE_R_ERROR_INTERNAL	      901
#define LICENSE_R_ERROR_LOAD_LICENSE	      902
#define LICENSE_R_ERROR_TOKEN_FORMAT	      903
#define LICENSE_R_ERROR_SIGN		      904
#define LICENSE_R_ERROR_PARSING		      905
#define LICENSE_R_ERROR_STUCTURE              906
#define LICENSE_R_ERROR_PRODUCT		      907
#define LICENSE_R_ERROR_EXPIRED_TIME          908
#define LICENSE_R_ERROR_NOT_STARTED           909
#define LICENSE_R_ERROR_OPERATION_BLOCK       910

#define LICENSE_R_ERROR_NO_LICENSE_IN_STORE   911
#define LICENSE_R_ERROR_STORE_IS_LOCKED       912
#define LICENSE_R_ERROR_SAVE_LICENSE	      913

#define LICENSE_R_ERROR_LOAD_ITM	      914
#define LICENSE_R_ERROR_SAVE_ITM              915
#define LICENSE_R_ERROR_INTERNAL_ITM	      916
#define LICENSE_R_ERROR_TRIAL_EXPIRED_ITM     917
#define LICENSE_R_ERROR_ITM_ALREADY_EXISTS    918

#define LICENSE_R_ERROR_NO_VALIDY             919