move principal to base-defs
authorJohn Kohl <jtkohl@mit.edu>
Wed, 17 Jan 1990 10:49:55 +0000 (10:49 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 17 Jan 1990 10:49:55 +0000 (10:49 +0000)
change names of types to have krb5_ prefix

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@97 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/krb5.h

index b663c9ad025cb1d48ff190a190b943150fb32bcf..c8d24d3e221482e8547d3ceb383df29119c4d157 100644 (file)
 
 #include <krb5/base-defs.h>
 #include <krb5/hostaddr.h>
-
-typedef        krb5_data **    krb5_principal; /* array of strings */
-                                       /* CONVENTION: realm is first elem. */
-
 #include <krb5/encryption.h>
 #include <krb5/fieldbits.h>
 #include <krb5/errors.h>
@@ -51,7 +47,7 @@ typedef struct _krb5_ticket_times {
 typedef struct _krb5_authdata {
     krb5_authdatatype ad_type;
     int length;
-    octet contents[1];                 /* actually can be more, depending
+    krb5_octet contents[1];                    /* actually can be more, depending
                                           on length */
 } krb5_authdata;
 
@@ -107,7 +103,7 @@ typedef struct _krb5_credentials {
 /* Last request fields */
 typedef struct _krb5_last_req_entry {
     krb5_ui_4 value;
-    octet lr_type;
+    krb5_octet lr_type;
 } krb5_last_req_entry;
 
 typedef struct _krb5_as_req {
@@ -173,7 +169,7 @@ typedef struct _krb5_ap_rep_enc_part {
 } krb5_ap_rep_enc_part;
 
 typedef struct _krb5_response {
-    octet message_type;
+    krb5_octet message_type;
     krb5_data *response;
 } krb5_response;