skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_rd_cred  Read a KRB_CRED message krb5_rd_cred Read a KRB_CRED message
go to next page: krb5_rd_priv  Parse a KRB_PRIV messagekrb5_rd_priv Parse a KRB_PRIV message
end of book navigation links

krb5_rd_error -- Read an error protocol message  



C Prototype 

krb5_error_code krb5_rd_error (
        krb5_context    context,
        const krb5_data *enc_errbuf,
        krb5_error      **dec_error );

Arguments 

context
(input)
 The context structure.
enc_errbuf (input) A pointer to the error protocol message.
dec_error (output)  A pointer to allocated storage containing the error message.

Description 

Parses an error protocol message from enc_errbuf and fills in *dec_error with a pointer to allocated storage containing the error message. The caller is responsible for freeing this structure by using krb5_free_error.

Return Values 

This routine returns one of the following KRB5 status code:

0
Successful completion.


go to previous page: krb5_rd_cred  Read a KRB_CRED message krb5_rd_cred Read a KRB_CRED message
go to next page: krb5_rd_priv  Parse a KRB_PRIV messagekrb5_rd_priv Parse a KRB_PRIV message