[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

Content starts here
HP Open Source Security for OpenVMS Volume 3: Kerberos > Chapter 6 KRB5 (Kerberos V5) Application Programming Interface

krb5_init_context — Initialize a Kerberos context structure

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_init_context(
krb5_context *context );

Arguments

context (output) 

A pointer to the context structure that has been initialized.

Description

This routine initializes the context for the application. The context contains the encryption types, a pointer to operating specific data and the default realm. In the future, the context may also contain thread specific data. The data in the context should be freed with krb5_free_context.

Return Values

This routine returns the following KRB5 status code:

0

Successful completion.

ENOMEM Insufficient memory.