From cfa1543b7e1078eabf39da7c216a3a1a2a11cf8b Mon Sep 17 00:00:00 2001 From: John Kohl Date: Mon, 25 Mar 1991 11:35:38 +0000 Subject: [PATCH] add last_req defines git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1948 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/proto.h | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/include/krb5/proto.h b/src/include/krb5/proto.h index ad63b5fe7..9efdb6114 100644 --- a/src/include/krb5/proto.h +++ b/src/include/krb5/proto.h @@ -31,11 +31,24 @@ #define KRB5_PRIV ((krb5_msgtype)21) /* Private application message */ #define KRB5_ERROR ((krb5_msgtype)30) /* Error response */ +/* LastReq types */ +#define KRB5_LRQ_NONE 0 +#define KRB5_LRQ_ALL_LAST_TGT 1 +#define KRB5_LRQ_ONE_LAST_TGT (-1) +#define KRB5_LRQ_ALL_LAST_INITIAL 2 +#define KRB5_LRQ_ONE_LAST_INITIAL (-2) +#define KRB5_LRQ_ALL_LAST_TGT_ISSUED 3 +#define KRB5_LRQ_ONE_LAST_TGT_ISSUED (-3) +#define KRB5_LRQ_ALL_LAST_RENEWAL 4 +#define KRB5_LRQ_ONE_LAST_RENEWAL (-4) +#define KRB5_LRQ_ALL_LAST_REQ 5 +#define KRB5_LRQ_ONE_LAST_REQ (-5) + /* PADATA types */ -#define KRB5_PADATA_AP_REQ 1 -#define KRB5_PADATA_TGS_REQ KRB5_PADATA_AP_REQ +#define KRB5_PADATA_AP_REQ 1 +#define KRB5_PADATA_TGS_REQ KRB5_PADATA_AP_REQ #define KRB5_PADATA_ENC_TIMESTAMPS 2 -#define KRB5_PADATA_PW_SALT 3 +#define KRB5_PADATA_PW_SALT 3 /* Transited encoding types */ #define KRB5_DOMAIN_X500_COMPRESS 1 -- 2.26.2