Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

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_mk_error — Format an error message

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_mk_error(
krb5_context context,
const krb5_error *dec_err,
krb5_data *enc_err );

Arguments

context (input/output) 

The context structure.

dec_err (input) 

The error structure to format.

enc_err (output) 

The formatted error buffer.

Description

This routine formats the error structure *dec_err into an error buffer *enc_err.

The error buffer storage (enc_err->data) is allocated, and should be freed by the caller when finished.

Return Values

This routine returns the following KRB5 status code:

0

Successful completion.

 

Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2012 Hewlett-Packard Development Company, L.P.