Navit SVN

/work/compile/navit/src/navit/util.h

00001 
00020 #ifndef NAVIT_types_H
00021 #define NAVIT_types_H
00022 
00023 #include <ctype.h>
00024 #include "config.h"
00025 
00026 void strtoupper(char *dest, const char *src);
00027 void strtolower(char *dest, const char *src);
00028 GList * g_hash_to_list(GHashTable *h);
00029 GList * g_hash_to_list_keys(GHashTable *h);
00030 gchar * g_strconcat_printf(gchar *buffer, gchar *fmt, ...);
00031 #if defined(_WIN32) || defined(__CEGCC__) || defined (__APPLE__) || defined(HAVE_API_ANDROID)
00032 #if defined(_UNICODE)
00033 wchar_t* newSysString(const char *toconvert);
00034 #else
00035 char * newSysString(const char *toconvert);
00036 #endif
00037 #endif
00038 unsigned int iso8601_to_secs(char *iso8601);
00039 char * current_to_iso8601(void);
00040 
00041 #if defined(_MSC_VER) || (!defined(HAVE_GETTIMEOFDAY) && defined(HAVE_API_WIN32_BASE))
00042 
00043 #include <winsock.h>
00044 
00045 int gettimeofday(struct timeval *time, void *);
00046 
00047 #endif
00048 
00049 struct spawn_process_info;
00050 char * shell_escape(char *arg);
00051 struct spawn_process_info* spawn_process(char **argv);
00052 int spawn_process_check_status(struct spawn_process_info *pi,int block);
00053 
00054 void spawn_process_info_free(struct spawn_process_info *pi);
00055 void spawn_process_init(void);
00056 
00057 #endif
00058