do_list.c 567 B

12345678910111213141516171819202122232425262728
  1. /*!
  2. \file lib/manage/do_list.c
  3. \brief Manage Library - List elements
  4. (C) 2001-2011 by the GRASS Development Team
  5. This program is free software under the GNU General Public License
  6. (>=v2). Read the file COPYING that comes with GRASS for details.
  7. \author Original author CERL
  8. */
  9. #include <grass/gis.h>
  10. #include "manage_local_proto.h"
  11. /*!
  12. \brief List elements
  13. \param n element id
  14. \param mapset name of mapset
  15. */
  16. void M_do_list(int n, const char *mapset)
  17. {
  18. G_list_element(list[n].element[0], list[n].desc[0], mapset, (int (*)())0);
  19. }