shishi_tkt_valid_at_time_p(3) API function

SYNOPSIS

#include <shishi.h>

int shishi_tkt_valid_at_time_p(Shishi_tkt * tkt, time_t now);

ARGUMENTS

Shishi_tkt * tkt
input variable with ticket info.
time_t now
time to check for.

DESCRIPTION

Determine if ticket is valid at a specific point in time.

RETURN VALUE

Returns non-0 iff ticket is valid (not expired and after starttime) at specified time.

REPORTING BUGS

Report bugs to <[email protected]>.

COPYRIGHT

Copyright © 2002-2010 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.