* krb5.h (krb5_fulladdr) : Change port to be of type krb5_address.
authorChris Provenzano <proven@mit.edu>
Wed, 26 Apr 1995 03:01:10 +0000 (03:01 +0000)
committerChris Provenzano <proven@mit.edu>
Wed, 26 Apr 1995 03:01:10 +0000 (03:01 +0000)
* krb5.h (krb5_auth_con_genaddrs()) : Added flags for new routine.
* krb5.h (krb5_get_for_creds()) : Removed prototype.
* krb5.h (krb5_get_cred_via_tkt()) : Added prototype.
* krb5.h (krb5_mk_ncred(), krb5_mk_1cred(), krb5_rd_cred()):
Updated prototype to include auth_context.

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

src/include/ChangeLog
src/include/krb5.h

index 5290cb377cea9bd85e7b5112189a1b7af6259521..bb920ba3a17829092b5aa1c02a65debdc3bd1a4f 100644 (file)
@@ -1,3 +1,13 @@
+
+Tue Apr 25 21:58:23 1995  Chris Provenzano  (proven@mit.edu)
+
+       * krb5.h (krb5_fulladdr) : Change port to be of type krb5_address.
+       * krb5.h (krb5_auth_con_genaddrs()) : Added flags for new routine.
+       * krb5.h (krb5_get_for_creds()) : Removed prototype.
+       * krb5.h (krb5_get_cred_via_tkt()) : Added prototype.
+       * krb5.h (krb5_mk_ncred(), krb5_mk_1cred(), krb5_rd_cred()):
+               Updated prototype to include auth_context.
+
 Fri Apr 21 08:58:50 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>
 
        * krb5.h: krb5_princ_aref() doesn't work, and isn't used anywhere.
index a76f55008779dc21d563a5de27f857d12ef15b7e..3a2d456aa974ee986aaf5883f1691a6eab536747 100644 (file)
@@ -245,11 +245,11 @@ typedef struct _krb5_address {
 } krb5_address;
 
 /* per Kerberos v5 protocol spec */
-#define        ADDRTYPE_INET   0x0002
-#define        ADDRTYPE_CHAOS  0x0005
-#define        ADDRTYPE_XNS    0x0006
-#define        ADDRTYPE_ISO    0x0007
-#define ADDRTYPE_DDP   0x0010
+#define        ADDRTYPE_INET           0x0002
+#define        ADDRTYPE_CHAOS          0x0005
+#define        ADDRTYPE_XNS            0x0006
+#define        ADDRTYPE_ISO            0x0007
+#define ADDRTYPE_DDP           0x0010
 /* not yet in the spec... */
 #define ADDRTYPE_ADDRPORT      0x0100
 #define ADDRTYPE_IPPORT                0x0101
@@ -259,9 +259,8 @@ typedef struct _krb5_address {
 
 /* implementation-specific stuff: */
 typedef struct _krb5_fulladdr {
-    krb5_address FAR *address;
-    unsigned long port;                        /* port, for some address types.
-                                          large enough for most protos? */
+    krb5_address FAR * address;
+    krb5_address FAR * port;
 } krb5_fulladdr;
 
 /*
@@ -958,6 +957,12 @@ typedef struct krb5_replay_data {
     krb5_int32          seq; 
 } krb5_replay_data;
 
+/* flags for krb5_auth_con_genaddrs() */
+#define KRB5_AUTH_CONTEXT_GENERATE_LOCAL_ADDR           0x00000001
+#define KRB5_AUTH_CONTEXT_GENERATE_REMOTE_ADDR          0x00000002
+#define KRB5_AUTH_CONTEXT_GENERATE_LOCAL_FULL_ADDR      0x00000004
+#define KRB5_AUTH_CONTEXT_GENERATE_REMOTE_FULL_ADDR     0x00000008
+
 /*
  * end "safepriv.h"
  */
@@ -1254,15 +1259,14 @@ krb5_error_code INTERFACE krb5_get_credentials
                   krb5_ccache,
                   krb5_creds FAR *,
                   krb5_creds FAR * FAR *));
-krb5_error_code krb5_get_for_creds
-       PROTOTYPE((krb5_context,
-                  const krb5_cksumtype,
-                  char *,
-                  krb5_principal,
-                  krb5_keyblock *,
-                  int,
-                  krb5_data * ));
-krb5_error_code krb5_mk_req
+krb5_error_code INTERFACE krb5_get_cred_via_tkt
+        PROTOTYPE((krb5_context,
+                   krb5_creds *,
+                   const krb5_flags,
+                   krb5_address * const *,
+                   krb5_creds *,
+                   krb5_creds **));
+krb5_error_code INTERFACE krb5_mk_req
        PROTOTYPE((krb5_context,
                   krb5_auth_context **,
                   const krb5_flags,
@@ -1765,14 +1769,19 @@ krb5_error_code krb5_walk_realm_tree
               krb5_principal **,
               int));
 
-krb5_error_code krb5_mk_cred
+krb5_error_code INTERFACE krb5_mk_ncred
        PROTOTYPE((krb5_context,
-                   krb5_kdc_rep *,
-                   krb5_enctype,
-                   krb5_keyblock *,
-                   krb5_address *,
-                   krb5_address *,
-                   krb5_data *));
+                   krb5_auth_context *,
+                   krb5_creds **,
+                   krb5_data **,
+                   krb5_replay_data *));
+
+krb5_error_code INTERFACE krb5_mk_1cred
+        PROTOTYPE((krb5_context,
+                   krb5_auth_context *,
+                   krb5_creds *,
+                   krb5_data **,
+                   krb5_replay_data *));
 
 krb5_error_code krb5_auth_con_init
        PROTOTYPE((krb5_context,