topdownRB.h: void treewalker(); // Lab 3, Spring 2013 topdownRB.c: // New code for lab assignment below typedef enum {goLeft,goRight,retreat,stay,searchFail} direction; // Globals to reduce # of arguments being passed around. int command,x,j,k,targetRank,iterationsLeft; direction getNextCommand(link h,int hRank) direction command1(link h,int countInorder,int hRank,Key hKey) direction command2(link h,int countInorder,int hRank,Key hKey) direction command3(link h,int countInorder,int hRank,Key hKey) direction command4(link h,int countInorder,int hRank,Key hKey) direction treewalkerR(link h,int countInorder) void treewalker() topdownRB.driver.c: main() { ... treewalker(); }