summaryrefslogtreecommitdiffstats
path: root/doc/kadm5/api-funcspec.tex
diff options
context:
space:
mode:
authorBarry Jaspan <bjaspan@mit.edu>1996-05-17 15:42:30 +0000
committerBarry Jaspan <bjaspan@mit.edu>1996-05-17 15:42:30 +0000
commitbe61d9661ba9f960790e6d995bcbbdaaa5100f93 (patch)
tree21939c2feffd2426c004cd36eb0135e4413772f3 /doc/kadm5/api-funcspec.tex
parentaebfe751f67a015464698034557ce2f96227f9b7 (diff)
downloadkrb5-be61d9661ba9f960790e6d995bcbbdaaa5100f93.tar.gz
krb5-be61d9661ba9f960790e6d995bcbbdaaa5100f93.tar.xz
krb5-be61d9661ba9f960790e6d995bcbbdaaa5100f93.zip
define USE_KADM5_API_VERSION_n
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8039 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'doc/kadm5/api-funcspec.tex')
-rw-r--r--doc/kadm5/api-funcspec.tex17
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/kadm5/api-funcspec.tex b/doc/kadm5/api-funcspec.tex
index 54c4ec600f..c5a9db0faf 100644
--- a/doc/kadm5/api-funcspec.tex
+++ b/doc/kadm5/api-funcspec.tex
@@ -586,14 +586,17 @@ below, as well as all Admin API data structures, type definitions and
defines mentioned in this document.
Before \v{\#include}ing $<$kadm5/admin.h$>$, the programmer can
-\v{\#define} the version symbol that the program will use, such as
-KADM5_API_VERSION_2. This will ensure that the correct functional
-protoypes and data structures are defined. If no version symbol is
-defined, the most recent version supported by the header files will be
-used.
+\v{\#define} the version symbol that the program will use prefixed by
+USE_, such as USE_KADM5_API_VERSION_2. This will ensure that the
+correct functional protoypes and data structures are defined. If no
+version symbol is defined, the most recent version supported by the
+header files will be used.
Some of the defines and their values contained in $<$kadm5/admin.h$>$
-include the following (whose KADM5_ prefixes have been removed):
+include the following, whose KADM5_ prefixes have been removed.
+Symbols that do not exist in KADM5_API_VERSION_2 do not have a KADM5_
+prefix, but instead retain only with OVSEC_KADM_ prefix for
+compatibility.
\begin{description}
\item[admin service principal] ADMIN_SERVICE (``kadmin/admin'')
\item[admin history key] HIST_PRINCIPAL (``kadmin/history'')
@@ -1719,7 +1722,7 @@ values returned from one of those two functions.
\subsection{kadm5_free_key_data}
\begin{verbatim}
-void kadm5_free_key_data(void *server_handle, krb5_key_data
+void kadm5_free_key_data(void *server_handle,
krb5_int16 *n_key_data, krb5_key_data *key_data)
\end{verbatim}