MIT Kerberos Documentation

krb5_get_init_creds_opt_set_tkt_life - Set the ticket lifetime in initial credential options.

void krb5_get_init_creds_opt_set_tkt_life(krb5_get_init_creds_opt * opt, krb5_deltat tkt_life)
param:

[in] opt - Options structure

[in] tkt_life - Ticket lifetime