view StateList.h @ 59:cd05eee90279

fix code.
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Mon, 07 Feb 2011 03:31:18 +0900
parents b31bed246abd
children
line wrap: on
line source

#ifndef INCLUDE_STATE_LIST
#define INCLUDE_STATE_LIST

#define LIST_NUM 50
#define DATA_LENGTH 10

typedef struct StateList {
  const char *name;
  State state;

} StateList, *StateListPtr;

extern StateList state_list[LIST_NUM];

int GetStateNum(int task_num);
void initStateList();

#endif