+2001-01-24 Tom Yu <tlyu@mit.edu>
+
+ * prot.h: Add prototype for decode_kdc_request() and some rough
+ starting points for KRB4PROT_* error codes.
+
2001-01-23 Tom Yu <tlyu@mit.edu>
* krb.h: Remove internal prototypes and macros.
char *, char *, char *,
unsigned long, unsigned long, char *,
int, int, KTEXT);
+extern int KRB5_CALLCONV krb4prot_decode_kdc_request(
+ KTEXT,
+ int *, char *, char *, char *,
+ long *, int *, char *sname, char *sinst);
/* Message types , always leave lsb for byte order */
#define KERB_ERR_PREAUTH_SHORT 11
#define KERB_ERR_PREAUTH_MISMATCH 12
+/* Return codes from krb4prot_ encoders/decoders */
+
+#define KRB4PROT_OK 0
+#define KRB4PROT_ERR_UNDERRUN 1
+#define KRB4PROT_ERR_OVERRUN 2
+#define KRB4PROT_ERR_PROT_VERS 3
+#define KRB4PROT_ERR_MSG_TYPE 4
+#define KRB4PROT_ERR_GENERIC 255
+
#endif /* PROT_DEFS */