summaryrefslogtreecommitdiffstats
path: root/src/include/krb5
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1989-12-04 14:13:42 +0000
committerJohn Kohl <jtkohl@mit.edu>1989-12-04 14:13:42 +0000
commit95d20ff39fecc264ff8ba6e368663161f8e59fdc (patch)
tree65c4cf566f8928a6d28750be9bfc6c0750a0d58e /src/include/krb5
parent1534d91cf0b596c4d30a48a874a041399cb7755d (diff)
downloadkrb5-95d20ff39fecc264ff8ba6e368663161f8e59fdc.tar.gz
krb5-95d20ff39fecc264ff8ba6e368663161f8e59fdc.tar.xz
krb5-95d20ff39fecc264ff8ba6e368663161f8e59fdc.zip
fix bogus field name (cmsec vs. ctime)
add krb5_tkt_authent, krb5_error git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@45 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/krb5')
-rw-r--r--src/include/krb5/krb5.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/include/krb5/krb5.h b/src/include/krb5/krb5.h
index b862cf1d9..fa4743fb8 100644
--- a/src/include/krb5/krb5.h
+++ b/src/include/krb5/krb5.h
@@ -60,9 +60,14 @@ typedef struct _krb5_authenticator {
krb5_principal client; /* client name/realm */
krb5_checksum *checksum; /* checksum, includes type */
krb5_ui_2 cmsec; /* client msec portion */
- krb5_timestamp cmsec; /* client sec portion */
+ krb5_timestamp ctime; /* client sec portion */
} krb5_authenticator;
+typedef struct _krb5_tkt_authent {
+ krb5_ticket ticket;
+ krb5_authenticator authenticator;
+} krb5_tkt_authent;
+
/* credentials: Ticket, session key, etc. */
typedef struct _krb5_credentials {
krb5_principal client; /* client's principal identifier */
@@ -95,4 +100,18 @@ typedef struct _krb5_kdc_rep {
krb5_principal server; /* server's principal identifier */
krb5_address **caddrs; /* array of ptrs to addresses */
} krb5_kdc_rep;
+
+/* error message structure */
+typedef struct _krb5_error {
+ /* some of these may be meaningless in certain contexts */
+ krb5_timestamp ctime; /* client sec portion */
+ krb5_ui_2 cmsec; /* client msec portion */
+ krb5_ui_2 smsec; /* server msec portion */
+ krb5_timestamp stime; /* server sec portion */
+ krb5_ui_4 error; /* error code (protocol error #'s) */
+ krb5_principal client; /* client's principal identifier */
+ krb5_principal server; /* client's principal identifier */
+ krb5_string text; /* descriptive text */
+} krb5_error;
+
#endif /* __KRB5_GENERAL__ */