tok.h 672 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. *
  3. * NMEA library
  4. * URL: http://nmea.sourceforge.net
  5. * Author: Tim (xtimor@gmail.com)
  6. * Licence: http://www.gnu.org/licenses/lgpl.html
  7. * $Id: tok.h 4 2007-08-27 13:11:03Z xtimor $
  8. *
  9. */
  10. #ifndef __NMEA_TOK_H__
  11. #define __NMEA_TOK_H__
  12. #include "config.h"
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. int nmea_calc_crc(const char *buff, int buff_sz);
  17. int nmea_atoi(const char *str, int str_sz, int radix);
  18. double nmea_atof(const char *str, int str_sz);
  19. int nmea_printf(char *buff, int buff_sz, const char *format, ...);
  20. int nmea_scanf(const char *buff, int buff_sz, const char *format, ...);
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24. #endif /* __NMEA_TOK_H__ */