diff options
author | John Kohl <jtkohl@mit.edu> | 1991-04-30 13:12:30 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1991-04-30 13:12:30 +0000 |
commit | 2c85d9e7e475b15dc1b54354b8e0dd5df1c560ba (patch) | |
tree | 38cb14c03d93e051183be69ff2c1441524a5be6b /src | |
parent | 5318a151c0d8c93dead3358ab5472a49270b350d (diff) | |
download | krb5-2c85d9e7e475b15dc1b54354b8e0dd5df1c560ba.tar.gz krb5-2c85d9e7e475b15dc1b54354b8e0dd5df1c560ba.tar.xz krb5-2c85d9e7e475b15dc1b54354b8e0dd5df1c560ba.zip |
add krb5_princ_aref
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2068 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r-- | src/include/krb5/macros.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/krb5/macros.h b/src/include/krb5/macros.h index 83e6f2dc5..997aa6403 100644 --- a/src/include/krb5/macros.h +++ b/src/include/krb5/macros.h @@ -16,4 +16,6 @@ #ifndef KRB5_MACROS__ #define KRB5_MACROS__ +#define krb5_princ_aref(princ, n, plen) (char *)(*plen = princ[n]->length, princ[n]->data) + #endif /* KRB5_MACROS__ */ |