manage.h 531 B

1234567891011121314151617181920212223242526
  1. #ifndef GRASS_MANAGE_H
  2. #define GRASS_MANAGE_H
  3. struct list
  4. {
  5. const char **element; /* list of related elements */
  6. char *alias; /* element alias */
  7. const char **desc; /* description of elements */
  8. char *text; /* menu text */
  9. int nelem; /* number of elements */
  10. char status;
  11. char *mainelem; /* main element */
  12. char *maindesc; /* main element description */
  13. };
  14. #define REMOVE 1
  15. #define RENAME 2
  16. #define COPY 3
  17. #define LIST 4
  18. #include <grass/gis.h>
  19. #include <grass/defs/manage.h>
  20. #endif