Listing 2

#define MAXACTIONS 25

typedef struct circle_actions
   {
   int (*pactions[MAXACTIONS])();
   } CIRCLE_ACTIONS;

typedef struct circle
   {
   int color;
   CIRCLE_ACTIONS *pcact;
   } CIRCLE;

/* End of File */