#define CUR_CELL (CUR_TABLE[current_col][current_row])
extern Workspace *c_ws;
-extern Workspace *workspaces;
-extern int num_workspaces;
+extern TAILQ_HEAD(workspaces_head, Workspace) *workspaces;
+//extern int num_workspaces;
extern int current_col;
extern int current_row;
* Performs simple bounds checking for the given column/row
*
*/
-bool cell_exists(int col, int row);
+bool cell_exists(Workspace *ws, int col, int row);
/**
* Shrinks the table by "compacting" it, that is, removing completely empty