stash.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /***************************************************************/
  2. /* */
  3. /* stash.h in ~/src/Gcost */
  4. /* */
  5. /* This header file declares the global variables and */
  6. /* the structures that are to be used for command */
  7. /* line processing. */
  8. /* */
  9. /***************************************************************/
  10. #ifndef __STASH_H__
  11. #define __STASH_H__
  12. #include <stdio.h>
  13. #define CUM_COST_LAYER 1
  14. #define COST_LAYER 2
  15. #define START_PT 3
  16. #define MOVE_DIR_LAYER 4
  17. struct start_pt
  18. {
  19. int row;
  20. int col;
  21. struct start_pt *next;
  22. };
  23. extern struct start_pt *head_start_pt;
  24. extern struct start_pt *head_end_pt;
  25. int process_answers(char **, struct start_pt **, struct start_pt **);
  26. int time_to_stop(int, int);
  27. #endif /* __STASH_H__ */