OPTFLAG_AND
#define OPTFLAG_AND(x) ret->x = (primary->x == 1) && (additional->x == 1)
#undef OPTFLAG_AND