global.h 519 B

123456789101112131415161718192021
  1. #include <stdio.h>
  2. #include <grass/raster.h>
  3. extern RASTER_MAP_TYPE in_type;
  4. extern RASTER_MAP_TYPE out_type;
  5. extern struct FPReclass rcl_struct;
  6. extern CELL old_min, old_max;
  7. extern DCELL old_dmin, old_dmax;
  8. extern int in_fd, out_fd, no_mask, align_wind, make_dcell, nrules, rule_size;
  9. extern char *name, *result, *title;
  10. extern char **rules;
  11. /* read_rules.c */
  12. int report_range(void);
  13. int read_rules(FILE *);
  14. int update_type(RASTER_MAP_TYPE *, DCELL);
  15. int update_rules(char *);
  16. /* recode.c */
  17. int do_recode(void);