ses_enchdr
static int ses_enchdr(uint8_t *, int, uint8_t, SesEncHdr *);
if (ses_enchdr((uint8_t *) sdata, amt, i, &hd)) {