navit 0.5.3-trunk
Loading...
Searching...
No Matches
garmin.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2007 Alexander Atanasov <aatanasov@gmail.com>
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; version 2 of the License.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12
13 You should have received a copy of the GNU General Public License
14 along with this program; if not, write to the Free Software
15 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
16 MA 02110-1301 USA
17
18 Garmin and MapSource are registered trademarks or trademarks
19 of Garmin Ltd. or one of its subsidiaries.
20
21*/
22
23#define dlog(x,y ...) logfn(__FILE__,__LINE__,x, ##y)
24#ifdef HARDDEBUG
25#define ddlog(x,y ...) logfn(__FILE__,__LINE__,x, ##y)
26#else
27#define ddlog(x,y ...)
28#endif
29
30extern int garmin_debug;
31void logfn(char *file, int line, int level, char *fmt, ...);
32
void logfn(char *file, int line, int level, char *fmt,...)
Definition garmin.c:79
int garmin_debug
Definition garmin.c:77
Definition file.h:36
Definition garmin_img.c:476