projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87d9703
)
add #define of krb5_princ_realm()
author
John Kohl
<jtkohl@mit.edu>
Fri, 9 Feb 1990 16:22:57 +0000
(16:22 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Fri, 9 Feb 1990 16:22:57 +0000
(16:22 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@332
dc483132
-0cff-0310-8789-
dd5450dbe970
src/include/krb5/base-defs.h
patch
|
blob
|
history
diff --git
a/src/include/krb5/base-defs.h
b/src/include/krb5/base-defs.h
index fe01f2310c1f4f9fc2d70c1d1f7d2ff857cf51ad..25c51b93249b245efeee465cc1d12f391e27f1d0 100644
(file)
--- a/
src/include/krb5/base-defs.h
+++ b/
src/include/krb5/base-defs.h
@@
-53,6
+53,8
@@
typedef struct _krb5_data {
typedef krb5_data ** krb5_principal; /* array of strings */
/* CONVENTION: realm is first elem. */
+#define krb5_princ_realm(princ) ((princ)[0])
+
#ifdef __STDC__
typedef void * krb5_pointer;
#define PROTOTYPE(x) x