27 #define MAX_MISMATCH 100 37 #if defined(_WIN32) || defined(__CEGCC__) || defined (__APPLE__) || defined(HAVE_API_ANDROID) 39 wchar_t* newSysString(
const char *toconvert);
41 char * newSysString(
const char *toconvert);
50 #if defined(_MSC_VER) || (!defined(HAVE_GETTIMEOFDAY) && defined(HAVE_API_WIN32_BASE)) 54 int gettimeofday(
struct timeval *time,
void *);
void spawn_process_init(void)
Definition: util.c:1047
char * time_to_iso8601(time_t time)
Converts time to ISO8601 format.
Definition: util.c:696
static double s1
Definition: geod_for.c:27
GList * g_hash_to_list_keys(GHashTable *h)
Definition: util.c:352
char * shell_escape(char *arg)
Definition: util.c:745
char * current_to_iso8601(void)
Outputs local system time in ISO 8601 format.
Definition: util.c:714
gchar * g_strconcat_printf(gchar *buffer, gchar *fmt,...)
Definition: util.c:359
void strtoupper(char *dest, const char *src)
Definition: util.c:41
int navit_utf8_strcasecmp(const char *s1, const char *s2)
Definition: util.c:84
struct spawn_process_info * spawn_process(char **argv)
Definition: util.c:854
struct _GList GList
Definition: navit.h:30
GList * g_hash_to_list(GHashTable *h)
Definition: util.c:340
dest
Definition: startup.py:4
void strtolower(char *dest, const char *src)
Definition: util.c:47
time_t iso8601_to_time(char *iso8601)
Converts an ISO 8601-style time string into time_t.
Definition: util.c:634
Definition: maptool.h:168
static char * argv[]
Definition: graphics_qt_qpainter.cpp:513
int spawn_process_check_status(struct spawn_process_info *pi, int block)
Definition: util.c:942
void spawn_process_info_free(struct spawn_process_info *pi)
Definition: util.c:1010
unsigned int iso8601_to_secs(char *iso8601)
Converts an ISO 8601-style time string into epoch time.
Definition: util.c:553
int compare_name_systematic(const char *s1, const char *s2)
Compares two name_systematic strings.
Definition: util.c:249
void get_compass_direction(char *buffer, int angle, int mode)
Get printable compass direction from an angle.
Definition: util.c:1074
time_t mkgmtime(struct tm *pt)
Converts a tm structure to time_t
Definition: util.c:599
unsigned int uint_sqrt(unsigned int n)
Fast compute of square root for unsigned ints.
Definition: util.c:59