You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
691 B
31 lines
691 B
/* |
|
* |
|
* NMEA library |
|
* URL: http://nmea.sourceforge.net |
|
* Author: Tim (xtimor@gmail.com) |
|
* Licence: http://www.gnu.org/licenses/lgpl.html |
|
* $Id: tok.h 4 2007-08-27 13:11:03Z xtimor $ |
|
* |
|
*/ |
|
|
|
#ifndef __NMEA_TOK_H__ |
|
#define __NMEA_TOK_H__ |
|
|
|
#include "config.h" |
|
#include <string.h> |
|
|
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
|
|
int nmea_calc_crc(const char *buff, int buff_sz); |
|
int nmea_atoi(const char *str, int str_sz, int radix); |
|
float nmea_atof(const char *str, int str_sz); |
|
int nmea_printf(char *buff, int buff_sz, const char *format, ...); |
|
int nmea_scanf(const char *buff, int buff_sz, const char *format, ...); |
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
#endif /* __NMEA_TOK_H__ */
|
|
|