Add per-realm parameter block data structure
authorPaul Park <pjpark@mit.edu>
Mon, 17 Jul 1995 19:29:22 +0000 (19:29 +0000)
committerPaul Park <pjpark@mit.edu>
Mon, 17 Jul 1995 19:29:22 +0000 (19:29 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6297 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/adm.h

index ff16047bfc148da1718379424b4fa82ba04fc975..a239f9afabb18b719d792c857ce8451b8447fee1 100644 (file)
 #define        KRB5_ADM_KT_KEY_ETYPE   4
 #define        KRB5_ADM_KT_KEY_KEY     5
 #define        KRB5_ADM_KT_NCOMPS      6
+
+/*
+ * Data structure returned by krb5_read_realm_params()
+ */
+typedef struct __krb5_realm_params {
+    char *             realm_profile;
+    char *             realm_dbname;
+    char *             realm_mkey_name;
+    char *             realm_stash_file;
+    krb5_int32         realm_kdc_pport;
+    krb5_int32         realm_kdc_sport;
+    krb5_int32         realm_kadmind_port;
+    krb5_int32         realm_keytype;
+    krb5_int32         realm_enctype;
+    krb5_deltat                realm_max_life;
+    krb5_deltat                realm_max_rlife;
+    krb5_timestamp     realm_expiration;
+    krb5_flags         realm_flags;
+    unsigned int       realm_kdc_pport_valid:1;
+    unsigned int       realm_kdc_sport_valid:1;
+    unsigned int       realm_kadmind_port_valid:1;
+    unsigned int       realm_keytype_valid:1;
+    unsigned int       realm_enctype_valid:1;
+    unsigned int       realm_max_life_valid:1;
+    unsigned int       realm_max_rlife_valid:1;
+    unsigned int       realm_expiration_valid:1;
+    unsigned int       realm_flags_valid:1;
+    unsigned int       realm_filler:7;
+} krb5_realm_params;
 #endif /* KRB5_ADM_H__ */