From 6ad57fd7829862307c42f21e18c56b0dd931a326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 16 Mar 2003 18:26:01 +0000 Subject: [PATCH] document krb5_cc_get_ops, add more types, add krb5_fcc_ops and krb5_mcc_ops git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11784 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/krb5_ccache.3 | 38 +++++++++++++++++++++++++++++++++++--- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/lib/krb5/krb5_ccache.3 b/lib/krb5/krb5_ccache.3 index 2149e16a1..66dae0b10 100644 --- a/lib/krb5/krb5_ccache.3 +++ b/lib/krb5/krb5_ccache.3 @@ -35,6 +35,10 @@ .Os HEIMDAL .Sh NAME .Nm krb5_ccache , +.Nm krb5_cc_cursor , +.Nm krb5_cc_ops , +.Nm krb5_fcc_ops , +.Nm krb5_mcc_ops , .Nm krb5_cc_close , .Nm krb5_cc_copy_cache , .Nm krb5_cc_default , @@ -45,6 +49,7 @@ .Nm krb5_cc_get_name , .Nm krb5_cc_get_principal , .Nm krb5_cc_get_type , +.Nm krb5_cc_get_ops , .Nm krb5_cc_get_version , .Nm krb5_cc_initialize , .Nm krb5_cc_register , @@ -61,6 +66,16 @@ Kerberos 5 Library (libkrb5, -lkrb5) .Sh SYNOPSIS .Fd #include .Pp +.Li "struct krb5_ccache;" +.Pp +.Li "struct krb5_cc_cursor;" +.Pp +.Li "struct krb5_cc_ops;" +.Pp +.Li "struct krb5_cc_ops *krb5_fcc_ops;" +.Pp +.Li "struct krb5_cc_ops *krb5_mcc_ops;" +.Pp .Ft krb5_error_code .Fo krb5_cc_close .Fa "krb5_context *context" @@ -112,6 +127,12 @@ Kerberos 5 Library (libkrb5, -lkrb5) .Ft "const char *" .Fo krb5_cc_get_type .Fa "krb5_context *context" +.Fa "krb5_ccache id" +.Fc +.Ft "const krb5_cc_ops *" +.Fo krb5_cc_get_ops +.Fa "krb5_context *context" +.Fa "krb5_ccache id" .Fc .Ft krb5_error_code .Fo krb5_cc_get_version @@ -182,13 +203,20 @@ structure holds a kerberos credential cache. .Pp The .Li krb5_cc_cursor -structure the holds current position in a credential cache when +structure holds current position in a credential cache when iterating over the cache. .Pp -There is no component inside neither +The +.Li krb5_cc_ops +structure holds a set of operations that can me preformed on a +credential cache. +.Pp +There is no component inside +.Li krb5_ccache , .Li krb5_cc_cursor nor -.Li krb5_cc_cursor that is directly referable. +.Li krb5_fcc_ops +that is directly referable. .Pp The .Li krb5_creds @@ -262,6 +290,10 @@ Return 0 or an error code. returns the type of the ccache .Fa id . .Pp +.Fn krb5_cc_get_ops +returns the ops of the ccache +.Fa id . +.Pp .Fn krb5_cc_get_version returns the version of .Fa id .