enh: support display unlimited for expiration time
This commit is contained in:
parent
7c429e5799
commit
780ce7aa95
|
@ -29,8 +29,8 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
#define GRANT_HEART_BEAT_MIN 2
|
||||
#define GRANT_MAX_EXPIRE_SEC (31556995201)
|
||||
#define GRANT_EXPIRE_UNLIMITED(v) ((v) == GRANT_MAX_EXPIRE_SEC)
|
||||
#define GRANT_EXPIRE_VALUE (31556995201)
|
||||
#define GRANT_EXPIRE_UNLIMITED(v) ((v) == GRANT_EXPIRE_VALUE)
|
||||
#define GRANT_ACTIVE_CODE "activeCode"
|
||||
#define GRANT_FLAG_ALL (0x01)
|
||||
#define GRANT_FLAG_AUDIT (0x02)
|
||||
|
|
Loading…
Reference in New Issue