Reflect the fact that krb5_lock_file and krb5_unlock_file take fd's instead
authorEzra Peisach <epeisach@mit.edu>
Tue, 5 Sep 1995 01:16:40 +0000 (01:16 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 5 Sep 1995 01:16:40 +0000 (01:16 +0000)
of FILE *'s.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6659 dc483132-0cff-0310-8789-dd5450dbe970

doc/api/ChangeLog
doc/api/libos.tex

index 5c576ab66c1976f2bdc32a52e2271585831c8dcc..c73539408d86720512d024895adf8944f920ab25 100644 (file)
@@ -1,3 +1,8 @@
+Mon Sep  4 21:13:36 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * libos.tex: Update krb5_lock_file and krb5_unlock_file no longer
+               take FILE *.
+
 Sun Jun 11 09:17:10 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
        * krb5.tex: Update krb5_auth_context usage.
index 754abc96fed59438efbf37403810e84cb3f66388..d3f6fafe164fc4fdb290b2dc965dbc347b65fae3 100644 (file)
@@ -171,33 +171,26 @@ These functions all relate to disk based I/O.
 
 \begin{funcdecl}{krb5_lock_file}{krb5_error_code}{\funcin}
 \funcarg{krb5_context}{context}
-\funcarg{FILE *}{filep}
-\funcarg{char *}{pathname}
+\funcarg{in}{fd}
 \funcarg{int}{mode}
 \end{funcdecl}
 
 Attempts to lock the file in the given \funcparam{mode}; returns 0 for a
 successful lock, or an error code otherwise.
 
-The caller should arrange that both \funcparam{filep} and
-\funcparam{pathname} refer to the same
-file.  The implementation may use whichever is more convenient.
+The caller should arrange for the file referred by \funcparam{fd} to be
+opened in such a way as to allow the required lock.
 
 Modes are given in {\tt <krb5/libos.h>}
 
-
 \begin{funcdecl}{krb5_unlock_file}{krb5_error_code}{\funcin}
 \funcarg{krb5_context}{context}
-\funcarg{FILE *}{filep}
-\funcarg{char *}{pathname}
+\funcarg{int}{fd}
 \end{funcdecl}
 
 Attempts to (completely) unlock the file.  Returns 0 if successful,
 or an error code otherwise.
 
-The caller should arrange that both \funcparam{filep} and
-\funcparam{pathname} refer to the same file.  The implementation may
-use whichever is more convenient.
 
 \begin{funcdecl}{krb5_create_secure_file}{krb5_error_code}{\funcin}
 \funcarg{krb5_context}{context}