change random_confounder interface to fill in the area requested
authorJohn Kohl <jtkohl@mit.edu>
Tue, 23 Oct 1990 14:48:28 +0000 (14:48 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 23 Oct 1990 14:48:28 +0000 (14:48 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1312 dc483132-0cff-0310-8789-dd5450dbe970

doc/api/libos.tex
doc/implement/libos-i.tex

index 7fe801b3dc31bd0d60ed1205c3e854227602d178..a9ef373305fc1f974de03ffb41ade5d8637849d5 100644 (file)
@@ -263,7 +263,12 @@ Given a Kerberos principal \funcparam{principal}, and a local username
 determine whether user is authorized to login to the account \funcparam{luser}.
 Returns TRUE if authorized, FALSE if not authorized.
 
-\begin{funcdecl}{krb5_random_confounder}{krb5_confounder}{\funcvoid}
+\begin{funcdecl}{krb5_random_confounder}{krb5_error_code}{\funcin}
+\funcarg{int}{size}
+\funcout
+\funcarg{krb5_pointer}{fillin}
 \end{funcdecl}
 
-Generate a random confounder.
+Given a length and a pointer, fills in the area pointed to by
+\funcparam{fillin} with \funcparam{size} random octets suitable for use
+in a confounder.
index 7fe801b3dc31bd0d60ed1205c3e854227602d178..a9ef373305fc1f974de03ffb41ade5d8637849d5 100644 (file)
@@ -263,7 +263,12 @@ Given a Kerberos principal \funcparam{principal}, and a local username
 determine whether user is authorized to login to the account \funcparam{luser}.
 Returns TRUE if authorized, FALSE if not authorized.
 
-\begin{funcdecl}{krb5_random_confounder}{krb5_confounder}{\funcvoid}
+\begin{funcdecl}{krb5_random_confounder}{krb5_error_code}{\funcin}
+\funcarg{int}{size}
+\funcout
+\funcarg{krb5_pointer}{fillin}
 \end{funcdecl}
 
-Generate a random confounder.
+Given a length and a pointer, fills in the area pointed to by
+\funcparam{fillin} with \funcparam{size} random octets suitable for use
+in a confounder.