*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> krb5_init_context (3)              
Title
Content
Arch
Section
 

KRB5_CONTEXT(3)

Contents


NAME    [Toc]    [Back]

     krb5_init_context, krb5_free_context - create and delete krb5_context
     structures

LIBRARY    [Toc]    [Back]

     Kerberos 5 Library (libkrb5, -lkrb5)

SYNOPSIS    [Toc]    [Back]

     #include <krb5/krb5.h>

     krb5_error_code
     krb5_init_context(krb5_context *context);

     void
     krb5_free_context(krb5_context context);

DESCRIPTION    [Toc]    [Back]

     The krb5_init_context() function initializes the context structure and
     reads the configration file /etc/krb5.conf.

     The structure should be freed by calling krb5_free_context() when it is
     no longer being used.

RETURN VALUES    [Toc]    [Back]

     krb5_init_context() returns 0 to indicate success.  Otherwise an errno
     code is returned.  Failure means either that something bad happened during
 initialization (typically [ENOMEM]) or that Kerberos should not be
     used [ENXIO].

SEE ALSO    [Toc]    [Back]

      
      
     errno(2), krb5_context(3), kerberos(8)

BSD                            January 21, 2001                            BSD
[ Back ]
 Similar pages
Name OS Title
crtmainwin IRIX create or delete window
menu_new NetBSD create or delete a menu
menu_item_new NetBSD create or delete menu item
crtinterp IRIX create and delete Tcl command interpreters
vxassist HP-UX create, relayout, convert, mirror, backup, grow, shrink, delete, and move volumes
pstruct OpenBSD Dump C structures as generated from "cc -g
pmap_pinit0 FreeBSD initialize pmap structures
pmap_pinit2 FreeBSD initialize pmap structures
c2ph OpenBSD Dump C structures as generated from "cc -g
SSL_SESSION_cmp Tru64 Compare two SSL_SESSION structures
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service