From 9cacd2ea5d07cdb25cdd4aaf0c985ad1ee824961 Mon Sep 17 00:00:00 2001 From: Barry Jaspan Date: Sat, 6 Nov 1993 22:39:10 +0000 Subject: [PATCH] add osa_adb_iter_T_func git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2799 dc483132-0cff-0310-8789-dd5450dbe970 --- doc/kadm5/api-server-design.tex | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/kadm5/api-server-design.tex b/doc/kadm5/api-server-design.tex index cd378ad04..919c21606 100644 --- a/doc/kadm5/api-server-design.tex +++ b/doc/kadm5/api-server-design.tex @@ -289,6 +289,19 @@ void osa_adb_free_T(osa_T_ent_t); Frees the memory associated with an osa_T_ent_t allocated by osa_adb_get_T. +\begin{verbatim} +typedef void (*osa_adb_iter_T_func)(void *data, + ovsec_kadm_T_ent_t entry); + +void osa_adb_iter_T(osa_adb_T_t db, osa_adb_iter_T_func func, + void *data); +\end{verbatim} + +Iterates over every entry in the database. For each entry ent in the +database db, the function (*func)(data, ent) is called. The function +func is permitted to access the database, but the consequences of +modifying the database during the iteration are undefined. + \subsection{Kerberos Database} Kerberos uses dbm to store krb5_db_entry records. It can be accessed -- 2.26.2