local_proto.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /****************************************************************************
  2. *
  3. * MODULE: r.describe
  4. *
  5. * AUTHOR(S): Michael Shapiro - CERL
  6. *
  7. * PURPOSE: Prints terse list of category values found in a raster
  8. * map layer.
  9. *
  10. * COPYRIGHT: (C) 2006 by the GRASS Development Team
  11. *
  12. * This program is free software under the GNU General Public
  13. * License (>=v2). Read the file COPYING that comes with GRASS
  14. * for details.
  15. *
  16. ***************************************************************************/
  17. #ifndef __R_DESC_LOCAL_PROTO_H__
  18. #define __R_DESC_LOCAL_PROTO_H__
  19. #include <grass/raster.h>
  20. /* describe.c */
  21. int describe(const char *, int, char *, int, int, int, int, int);
  22. /* dumplist.c */
  23. int long_list(struct Cell_stats *, DCELL, DCELL, char *, int, RASTER_MAP_TYPE,
  24. int);
  25. int compact_list(struct Cell_stats *, DCELL, DCELL, char *, int,
  26. RASTER_MAP_TYPE, int);
  27. int compact_range_list(CELL, CELL, CELL, CELL, CELL, CELL, char *, int);
  28. int range_list(CELL, CELL, CELL, CELL, CELL, CELL, char *, int);
  29. /* main.c */
  30. int main(int, char *[]);
  31. /* tree.c */
  32. int plant_tree(void);
  33. int add_node_to_tree(register CELL);
  34. int first_node(void);
  35. int next_node(void);
  36. int first_cat(CELL *);
  37. int next_cat(CELL *);
  38. #endif /* __R_DESC_LOCAL_PROTO_H__ */