+1998-12-05 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * krb.h: Add prototypes for krb_set_key() and decomp_ticket().
+
1998-11-13 Theodore Ts'o <tytso@rsts-11.mit.edu>
* Makefile.in: Set the myfulldir and mydir variables (which are
x = (unsigned short) _krb_swap_sh_tmp; \
}
+/*
+ * New byte swapping routines, much cleaner
+ */
+#define krb4_swab16(val) (((val) >> 8) | ((val) << 8))
+#define krb4_swab32(val) (((val)>>24) | (((val)>>8)&0xFF00) | \
+ (((val)<<8)&0xFF0000) | ((val)<<24))
+
/* Kerberos ticket flag field bit definitions */
#define K_FLAG_ORDER 0 /* bit 0 --> lsb */
#define K_FLAG_1 /* reserved */
void krb_set_tkt_string
PROTOTYPE((char *));
+/*
+ * Internal prototypes
+ */
+extern int krb_set_key
+ PROTOTYPE((char *key, int cvt));
+extern int decomp_ticket
+ PROTOTYPE((KTEXT tkt, unsigned char *flags, char *pname,
+ char *pinstance, char *prealm, unsigned KRB4_32 *paddress,
+ C_Block session, int *life, unsigned KRB4_32 *time_sec,
+ char *sname, char *sinstance, C_Block,
+ Key_schedule key_s));
+
#ifdef _WINDOWS
HINSTANCE get_lib_instance(void);
unsigned int krb_get_notification_message(void);