-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlicense.h
21 lines (17 loc) · 1.29 KB
/
license.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/******************************************************************************************/
/**** FILE: license.h ****/
/******************************************************************************************/
#ifndef LICENSE_H
#define LICENSE_H
#define LIC_FILE_NOT_FOUND 0 /**** License file not found (unable to read) ****/
#define LIC_INVALID 1 /**** License file invalid ****/
#define LIC_EXPIRED 654 /**** License file expired ****/
#define LIC_NO_NET_CONN 67684 /**** Unable to get network time ****/
#define LIC_USB_INVALID 55665 /**** Usb key is not livalid ****/
#define LIC_VALID 472689 /**** Valid registration ****/
#define LIC_N 120 /**** Num times can run without getting net time ****/
#define LIC_UPDATE_N 10 /**** Threshold to update N ****/
#define USE_MAC_INFO 0
int install_license_file(char *install_file, char *WiSim_home, unsigned char *reg_info, int ris);
int gen_reg_file(unsigned char *reg_info, int ris, char *name, char *email, char *company, char *®_file_rel, char *®_file_full);
#endif