[OpenAFS-devel] afs/auth.h - ktc_token

Sean O'Malley omalleys@msu.edu
Thu, 4 Jan 2007 11:34:26 -0500 (EST)


im looking at struct ktc_token in auth/auth.h or afs/auth.h

struct ktc_token {
    afs_int32 startTime;
    afs_int32 endTime;
    short kvno;                 /* XXX UNALIGNED */
    int ticketLen;
    char ticket[MAXKTCTICKETLEN];
};

Should the types of afs_int32's be changes to time_t's since they are time
values?

I am -assuming- since solaris is defining time_t as a long in part of the
code clean-up to get some of the 64-bit stuff working it was improperly
defined as an afs_int32 or it was declared that way for platforms that
don't have a time.h file defining time_t.