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
+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.
* 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 */
* 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;
* 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"
*/