|
Quantum GIS API Documentation
master-ce49b66
|
00001 /* 00002 * Copyright Tim (xtimor@gmail.com) 00003 * 00004 * NMEA library is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU Lesser General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses/> 00016 */ 00017 /* 00018 * 00019 * NMEA library 00020 * URL: http://nmea.sourceforge.net 00021 * Author: Tim (xtimor@gmail.com) 00022 * Licence: http://www.gnu.org/licenses/lgpl.html 00023 * $Id: tok.h 4 2007-08-27 13:11:03Z xtimor $ 00024 * 00025 */ 00026 00027 #ifndef __NMEA_TOK_H__ 00028 #define __NMEA_TOK_H__ 00029 00030 #include "config.h" 00031 #include "stdlib.h" 00032 00033 #ifdef __cplusplus 00034 extern "C" 00035 { 00036 #endif 00037 00038 int nmea_calc_crc( const char *buff, int buff_sz ); 00039 int nmea_atoi( const char *str, size_t str_sz, int radix ); 00040 double nmea_atof( const char *str, int str_sz ); 00041 int nmea_printf( char *buff, int buff_sz, const char *format, ... ); 00042 int nmea_scanf( const char *buff, int buff_sz, const char *format, ... ); 00043 00044 #ifdef __cplusplus 00045 } 00046 #endif 00047 00048 #endif /* __NMEA_TOK_H__ */