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.
\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}
\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}