cal_parse
if (cal_parse(cal_fopen(walk), out))
if (cal_parse(fpin, fpout))
static int cal_parse(FILE *in, FILE *out);