aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1991-01-08 14:29:59 +0000
committerJohn Kohl <jtkohl@mit.edu>1991-01-08 14:29:59 +0000
commit5bf6f5071fe88e572175f414c2f5a7d2c781ac29 (patch)
tree1d253dfcc6e7a50261dfd2b6398a84cf55e32bd4 /doc
parent5b487d9845a21dd8e207dde74ba2d67d95f916dc (diff)
downloadkrb5-5bf6f5071fe88e572175f414c2f5a7d2c781ac29.zip
krb5-5bf6f5071fe88e572175f414c2f5a7d2c781ac29.tar.gz
krb5-5bf6f5071fe88e572175f414c2f5a7d2c781ac29.tar.bz2
revision to replay cache to generalize
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1619 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'doc')
-rw-r--r--doc/api/krb5.tex9
-rw-r--r--doc/api/rcache.tex6
-rw-r--r--doc/implement/rcache-i.tex6
3 files changed, 15 insertions, 6 deletions
diff --git a/doc/api/krb5.tex b/doc/api/krb5.tex
index 6f26457..a02318c 100644
--- a/doc/api/krb5.tex
+++ b/doc/api/krb5.tex
@@ -750,3 +750,12 @@ Copy a principal structure, filling in \funcparam{*outprinc} to point to
the newly allocated copy, which should be freed with
\funcname{krb5_free_principal}.
+\begin{funcdecl}{krb5_auth_to_rep}{krb5_error_code}{\funcin}
+\funcarg{krb5_tkt_authent *}{auth}
+\funcout
+\funcarg{krb5_donot_replay *}{rep}
+\end{funcdecl}
+Extract the relevant parts of \funcparam{auth} and fill them into the
+structure pointed to by \funcparam{rep}. \funcparam{rep{\ptsto}client}
+and \funcparam{rep{\ptsto}server} are set to allocated storage and
+should be freed when \funcparam{*rep} is no longer needed.
diff --git a/doc/api/rcache.tex b/doc/api/rcache.tex
index 5d49116..8b2ad1a 100644
--- a/doc/api/rcache.tex
+++ b/doc/api/rcache.tex
@@ -52,12 +52,12 @@ Errors: permission errors
\begin{funcdecl}{krb5_rc_store}{krb5_error_code}{\funcin}
\funcarg{krb5_rcache}{id}
-\funcarg{krb5_tkt_authent *}{tkt_auth}
+\funcarg{krb5_dont_replay *}{rep}
\end{funcdecl}
-Stores \funcparam{tkt_auth} in the replay cache \funcparam{id}.
+Stores \funcparam{rep} in the replay cache \funcparam{id}.
Requires that \funcparam{id} identifies a valid replay cache.
-Returns KRB5KRB_AP_ERR_REPEAT if \funcparam{tkt_auth} is already in the
+Returns KRB5KRB_AP_ERR_REPEAT if \funcparam{rep} is already in the
cache. May also return permission errors, storage failure errors.
\begin{funcdecl}{krb5_rc_expunge}{krb5_error_code}{\funcin}
diff --git a/doc/implement/rcache-i.tex b/doc/implement/rcache-i.tex
index 5d49116..8b2ad1a 100644
--- a/doc/implement/rcache-i.tex
+++ b/doc/implement/rcache-i.tex
@@ -52,12 +52,12 @@ Errors: permission errors
\begin{funcdecl}{krb5_rc_store}{krb5_error_code}{\funcin}
\funcarg{krb5_rcache}{id}
-\funcarg{krb5_tkt_authent *}{tkt_auth}
+\funcarg{krb5_dont_replay *}{rep}
\end{funcdecl}
-Stores \funcparam{tkt_auth} in the replay cache \funcparam{id}.
+Stores \funcparam{rep} in the replay cache \funcparam{id}.
Requires that \funcparam{id} identifies a valid replay cache.
-Returns KRB5KRB_AP_ERR_REPEAT if \funcparam{tkt_auth} is already in the
+Returns KRB5KRB_AP_ERR_REPEAT if \funcparam{rep} is already in the
cache. May also return permission errors, storage failure errors.
\begin{funcdecl}{krb5_rc_expunge}{krb5_error_code}{\funcin}