ses_getthdr
static int ses_getthdr(uchar_t *, int, int, SesThdr *);
if (ses_getthdr((uchar_t *)sdata, amt, i, &thdr)) {