navit  0.5.3-trunk
main.c File Reference
#include <locale.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <signal.h>
#include <glib.h>
#include <sys/types.h>
#include "config.h"
#include <sys/wait.h>
#include "file.h"
#include "debug.h"
#include "main.h"
#include "navit.h"
#include "gui.h"
#include "item.h"
#include "xmlconfig.h"
#include "coord.h"
#include "route.h"
#include "navigation.h"
#include "event.h"
#include "callback.h"
#include "navit_nls.h"
#include "util.h"

Functions

static void main_setup_environment (int mode)
 
void main_init (const char *program)
 

Variables

struct map_datamap_data_default
 
struct callback_listcbl
 
static char * environment_vars [][6]
 

Function Documentation

◆ main_init()

void main_init ( const char *  program)

◆ main_setup_environment()

static void main_setup_environment ( int  mode)
static

Variable Documentation

◆ cbl

◆ environment_vars

char* environment_vars[][6]
static
Initial value:
= {
{"NAVIT_LIBDIR", ":", ":/"LIB_DIR, ":\\lib", ":/lib", ":\\lib"},
{"NAVIT_SHAREDIR", ":", ":/"SHARE_DIR, ":", ":/share", ":"},
{"NAVIT_LOCALEDIR", ":/../locale",":/"LOCALE_DIR, ":\\locale", ":/locale", ":\\locale"},
{"NAVIT_USER_DATADIR",":", "~/"HOMECONFIG_DIR, ":\\data", ":/home", "~\\navit"},
{"NAVIT_LOGFILE", NULL, NULL, ":\\navit.log",NULL, ":\\navit.log"},
{"NAVIT_LIBPREFIX", "*/.libs/", NULL, NULL, NULL, NULL},
{NULL, NULL, NULL, NULL, NULL, NULL},
}

Referenced by main_setup_environment().

◆ map_data_default

struct map_data* map_data_default

Navit, a modular navigation system. Copyright (C) 2005-2008 Navit Team

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.