proto.h 572 B

123456789101112131415161718192021222324
  1. #include <grass/raster.h>
  2. #undef MIN
  3. #undef MAX
  4. #define MIN(a,b) ((a) < (b) ? (a) : (b))
  5. #define MAX(a,b) ((a) > (b) ? (a) : (b))
  6. struct input
  7. {
  8. const char *name;
  9. const char *mapset;
  10. int maptype;
  11. struct Cell_head cellhd;
  12. };
  13. /* link.c */
  14. void make_cell(const char *, int);
  15. void make_link(const struct input *, int, const char *);
  16. void write_fp_format(const char *, int);
  17. void write_fp_quant(const char *);
  18. void create_map(const struct input *, int, const char *,
  19. struct Cell_head *, int, DCELL, DCELL,
  20. int, struct R_stats *, const char *);