command data structure in c