global.h 694 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #include <grass/config.h>
  2. #ifndef TIME_WITH_SYS_TIME
  3. #ifdef HAVE_TIME
  4. #include <time.h>
  5. #endif
  6. #ifdef HAVE_SYS_TIME_H
  7. #include <sys/time.h>
  8. #endif
  9. #else
  10. #include <time.h>
  11. #include <sys/time.h>
  12. #endif
  13. #include <grass/imagery.h>
  14. #include <grass/cluster.h>
  15. extern struct Cluster C;
  16. extern struct Signature in_sig;
  17. extern int maxclass;
  18. extern double conv;
  19. extern double sep;
  20. extern int iters;
  21. extern int mcs;
  22. extern char *group;
  23. extern char *subgroup;
  24. extern struct Ref ref;
  25. extern char *outsigfile;
  26. extern char *insigfile;
  27. extern char *reportfile;
  28. extern DCELL **cell;
  29. extern int *cellfd;
  30. extern FILE *report;
  31. extern int sample_rows, sample_cols;
  32. extern int verbose;
  33. extern time_t start_time;