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

krb5_init_secure_context — Initialize a secure Kerberos context block

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_init_secure_context (
krb5_context *context );

Arguments

context (output) 

A pointer to the context structure to be initialized.

Description

This routine initializes a secure Kerberos context block, preparing it for use by other Kerberos APIs.

Return Values

This routine returns the following KRB5 status codes:

0Successful completion.
ENOMEM

Insufficient memory.

Kerberos errors.