xdrtoken.c 741 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*!
  2. \file lib/db/dbmi_base/xdrtoken.c
  3. \brief DBMI Library (base) - external data representation (token)
  4. (C) 1999-2009, 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 Joel Jones (CERL/UIUC), Radim Blazek, Brad Douglas, Markus Neteler
  8. \author Doxygenized by Martin Landa <landa.martin gmail.com> (2011)
  9. */
  10. #include <grass/dbmi.h>
  11. /*!
  12. \brief Send token
  13. \param token
  14. \return
  15. */
  16. int db__send_token(dbToken * token)
  17. {
  18. return db__send_int(*token);
  19. }
  20. /*!
  21. \brief Receive token
  22. \param token
  23. \return
  24. */
  25. int db__recv_token(dbToken * token)
  26. {
  27. return db__recv_int(token);
  28. }