/[zanavi_public1]/navit/navit/util.h
ZANavi

Contents of /navit/navit/util.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 28 21:19:04 2011 UTC (8 years, 9 months ago) by zoff99
File MIME type: text/plain
File size: 1851 byte(s)
import files
1 /**
2 * Navit, a modular navigation system.
3 * Copyright (C) 2005-2008 Navit Team
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public License
7 * version 2 as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public
15 * License along with this program; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18 */
19
20 #ifndef NAVIT_types_H
21 #define NAVIT_types_H
22
23 #include <ctype.h>
24 #include "config.h"
25
26 void strtoupper(char *dest, const char *src);
27 void strtolower(char *dest, const char *src);
28 GList * g_hash_to_list(GHashTable *h);
29 GList * g_hash_to_list_keys(GHashTable *h);
30 gchar * g_strconcat_printf(gchar *buffer, gchar *fmt, ...);
31 #if defined(_WIN32) || defined(__CEGCC__) || defined (__APPLE__) || defined(HAVE_API_ANDROID)
32 #if defined(_UNICODE)
33 wchar_t* newSysString(const char *toconvert);
34 #else
35 char * newSysString(const char *toconvert);
36 #endif
37 #endif
38 unsigned int iso8601_to_secs(char *iso8601);
39 char * current_to_iso8601(void);
40
41 #if defined(_MSC_VER) || (!defined(HAVE_GETTIMEOFDAY) && defined(HAVE_API_WIN32_BASE))
42
43 #include <winsock.h>
44
45 int gettimeofday(struct timeval *time, void *);
46
47 #endif
48
49 struct spawn_process_info;
50 char * shell_escape(char *arg);
51 struct spawn_process_info* spawn_process(char **argv);
52 int spawn_process_check_status(struct spawn_process_info *pi,int block);
53
54 void spawn_process_info_free(struct spawn_process_info *pi);
55 void spawn_process_init(void);
56
57 #endif
58

   
Visit the ZANavi Wiki