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

krb5_get_init_creds_opt_set_tkt_life — Initialize the ticket lifetime for krb5_get_init_creds* routines

 » Table of Contents

 » Glossary

 » Index

C Prototype

void krb5_get_init_creds_opt_set_tkt_life (
krb5_get_init_creds_opt *opt,
krb5_deltat tkt_life );

Arguments

opt (input/output)  

A pointer to a structure containing flags and options.

tkt_life (input) 

The ticket lifetime.

Description

This routine initializes the ticket lifetime information in preparation for calling krb5_get_init_creds* routines. It sets the ticket lifetime flag in the options flag field, and initializes the ticket lifetime in opt to tkt_life.

Return Values

None.