summaryrefslogtreecommitdiffstats
path: root/doc/api
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/ChangeLog5
-rw-r--r--doc/api/libos.tex15
2 files changed, 9 insertions, 11 deletions
diff --git a/doc/api/ChangeLog b/doc/api/ChangeLog
index 5c576ab66..c73539408 100644
--- a/doc/api/ChangeLog
+++ b/doc/api/ChangeLog
@@ -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.
diff --git a/doc/api/libos.tex b/doc/api/libos.tex
index 754abc96f..d3f6fafe1 100644
--- a/doc/api/libos.tex
+++ b/doc/api/libos.tex
@@ -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}