In reply to shankar_srininvasan: You need a typedef if you want more than one variable to share the same enumerations.