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
This commit is contained in:
@@ -35,6 +35,10 @@
|
|||||||
.Os HEIMDAL
|
.Os HEIMDAL
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm krb5_ccache ,
|
.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_close ,
|
||||||
.Nm krb5_cc_copy_cache ,
|
.Nm krb5_cc_copy_cache ,
|
||||||
.Nm krb5_cc_default ,
|
.Nm krb5_cc_default ,
|
||||||
@@ -45,6 +49,7 @@
|
|||||||
.Nm krb5_cc_get_name ,
|
.Nm krb5_cc_get_name ,
|
||||||
.Nm krb5_cc_get_principal ,
|
.Nm krb5_cc_get_principal ,
|
||||||
.Nm krb5_cc_get_type ,
|
.Nm krb5_cc_get_type ,
|
||||||
|
.Nm krb5_cc_get_ops ,
|
||||||
.Nm krb5_cc_get_version ,
|
.Nm krb5_cc_get_version ,
|
||||||
.Nm krb5_cc_initialize ,
|
.Nm krb5_cc_initialize ,
|
||||||
.Nm krb5_cc_register ,
|
.Nm krb5_cc_register ,
|
||||||
@@ -61,6 +66,16 @@ Kerberos 5 Library (libkrb5, -lkrb5)
|
|||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Fd #include <krb5.h>
|
.Fd #include <krb5.h>
|
||||||
.Pp
|
.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
|
.Ft krb5_error_code
|
||||||
.Fo krb5_cc_close
|
.Fo krb5_cc_close
|
||||||
.Fa "krb5_context *context"
|
.Fa "krb5_context *context"
|
||||||
@@ -112,6 +127,12 @@ Kerberos 5 Library (libkrb5, -lkrb5)
|
|||||||
.Ft "const char *"
|
.Ft "const char *"
|
||||||
.Fo krb5_cc_get_type
|
.Fo krb5_cc_get_type
|
||||||
.Fa "krb5_context *context"
|
.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
|
.Fc
|
||||||
.Ft krb5_error_code
|
.Ft krb5_error_code
|
||||||
.Fo krb5_cc_get_version
|
.Fo krb5_cc_get_version
|
||||||
@@ -182,13 +203,20 @@ structure holds a kerberos credential cache.
|
|||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Li krb5_cc_cursor
|
.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.
|
iterating over the cache.
|
||||||
.Pp
|
.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
|
.Li krb5_cc_cursor
|
||||||
nor
|
nor
|
||||||
.Li krb5_cc_cursor that is directly referable.
|
.Li krb5_fcc_ops
|
||||||
|
that is directly referable.
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Li krb5_creds
|
.Li krb5_creds
|
||||||
@@ -262,6 +290,10 @@ Return 0 or an error code.
|
|||||||
returns the type of the ccache
|
returns the type of the ccache
|
||||||
.Fa id .
|
.Fa id .
|
||||||
.Pp
|
.Pp
|
||||||
|
.Fn krb5_cc_get_ops
|
||||||
|
returns the ops of the ccache
|
||||||
|
.Fa id .
|
||||||
|
.Pp
|
||||||
.Fn krb5_cc_get_version
|
.Fn krb5_cc_get_version
|
||||||
returns the version of
|
returns the version of
|
||||||
.Fa id .
|
.Fa id .
|
||||||
|
Reference in New Issue
Block a user