krb5.h: krb5_princ_aref() doesn't work, and isn't used anywhere.
authorTheodore Tso <tytso@mit.edu>
Sat, 22 Apr 1995 00:35:43 +0000 (00:35 +0000)
committerTheodore Tso <tytso@mit.edu>
Sat, 22 Apr 1995 00:35:43 +0000 (00:35 +0000)
Removed.  (So all of macros.h is gone.)

krb5.h, k5-int.h: Moved struct _krb5_context to k5-int.h

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

src/include/ChangeLog
src/include/k5-int.h
src/include/krb5.h

index 6537129a1188f425da19048a4af3dcfbe5d5fec7..f547242bf8714148096c53440f9d7c32301a1772 100644 (file)
@@ -1,3 +1,8 @@
+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.
+               Removed.
+
 Thu Apr 20 12:15:54 1995 Keith Vetter (keithv@fusion.com)
 
        * krb5.h: Needs SIZEOF_INT, SIZEOF_LONG defined for the PC.
index 6f6069143825a9176038b9b744567147a079144e..e071eabab5340f719c2ce7572fc4a3d8b2959db2 100644 (file)
@@ -7,6 +7,9 @@
  * John Gilmore, Cygnus Support, Sat Jan 21 22:45:52 PST 1995
  */
 
+#ifndef _KRB5_INT_H
+#define _KRB5_INT_H
+
 #include "k5-config.h"
 
 #include "krb5.h"
 #include "preauth.h"
 #include "rsa-md5.h"
 /* #include "krb5/wordsize.h" -- comes in through base-defs.h. */
+#include "profile.h"
+
+struct _krb5_context {
+       krb5_magic      magic;
+       krb5_enctype  FAR *etypes;
+       int             etype_count;
+       void          FAR *os_context;
+       char          FAR *default_realm;
+       profile_t     profile;
+};
+#endif /* _KRB5_INT_H */
index c1a8323a86c7d049ce75f1c30afc4bbf482bb760..a76f55008779dc21d563a5de27f857d12ef15b7e 100644 (file)
@@ -268,13 +268,9 @@ typedef struct _krb5_fulladdr {
  * end "hostaddr.h"
  */
 
-typedef struct _krb5_context {
-       krb5_magic      magic;
-       krb5_enctype  FAR *etypes;
-       int             etype_count;
-       void          FAR *os_context;
-       char          FAR *default_realm;
-} FAR * krb5_context;
+
+struct _krb5_context;
+typedef struct _krb5_context FAR * krb5_context;
 
 struct _krb5_auth_context;
 typedef struct _krb5_auth_context krb5_auth_context;
@@ -672,16 +668,6 @@ extern int krb5_max_cksum;         /* max entry in array */
  * end "proto.h"
  */
 
-/*
- * begin "macros.h"
- */
-
-#define krb5_princ_aref(princ, n, plen) (char FAR *)(*plen = princ[n]->length, princ[n]->data)
-
-/*
- * end "macros.h"
- */
-
 /*
  * begin "error_def.h"
  */