|
u32 | gf_sys_clock () |
| System clock query. More...
|
|
void | gf_sleep (u32 ms) |
| Sleeps thread/process. More...
|
|
GF_Err | gf_rmdir (char *DirPathName) |
| Delete Directory. More...
|
|
GF_Err | gf_mkdir (char *DirPathName) |
| Create Directory. More...
|
|
static Bool | delete_dir (void *cbck, char *item_name, char *item_path) |
|
GF_Err | gf_cleanup_dir (char *DirPathName) |
| Create Directory. More...
|
|
GF_Err | gf_delete_file (const char *fileName) |
| File Deletion. More...
|
|
GF_Err | gf_move_file (const char *fileName, const char *newFileName) |
| File Move. More...
|
|
void | gf_rand_init (Bool Reset) |
| PseudoRandom Integer Generation Initialization. More...
|
|
u32 | gf_rand () |
| PseudoRandom Integer Generation. More...
|
|
u64 | gf_file_modification_time (const char *filename) |
| File Modification Time. More...
|
|
FILE * | gf_temp_file_new () |
| Temporary File Creation. More...
|
|
void | gf_utc_time_since_1970 (u32 *sec, u32 *msec) |
| gets UTC time More...
|
|
void | gf_get_user_name (char *buf, u32 buf_size) |
| user name More...
|
|
GF_Err | gf_enum_directory (const char *dir, Bool enum_directory, gf_enum_dir_item enum_dir_fct, void *cbck, const char *filter) |
| Directory enumeration. More...
|
|
char * | my_str_upr (char *str) |
|
char * | my_str_lwr (char *str) |
|
u64 | gf_f64_tell (FILE *fp) |
| large file position query More...
|
|
u64 | gf_f64_seek (FILE *fp, s64 offset, s32 whence) |
| large file seeking More...
|
|
FILE * | gf_f64_open (const char *file_name, const char *mode) |
| large file opening More...
|
|
size_t | gf_fwrite (const void *ptr, size_t size, size_t nmemb, FILE *stream) |
| file writing helper More...
|
|
static void | init_keyboard () |
|
static void | close_keyboard (Bool new_line) |
|
void | gf_prompt_set_echo_off (Bool echo_off) |
| turns prompt echo on/off More...
|
|
Bool | gf_prompt_has_input () |
| Prompt checking. More...
|
|
char | gf_prompt_get_char () |
| Prompt character flush. More...
|
|
void | gf_sys_init (Bool enable_memory_tracker) |
| System setup. More...
|
|
void | gf_sys_close () |
| System closing. More...
|
|
Bool | gf_sys_get_rti_os (u32 refresh_time_ms, GF_SystemRTInfo *rti, u32 flags) |
|
Bool | gf_sys_get_rti (u32 refresh_time_ms, GF_SystemRTInfo *rti, u32 flags) |
| Gets Run-Time info. More...
|
|
char * | gf_get_default_cache_directory () |
|
Bool | gf_sys_get_battery_state (Bool *onBattery, u32 *onCharge, u32 *level, u32 *batteryLifeTime, u32 *batteryFullLifeTime) |
|
GF_GlobalLock * | gf_create_PID_file (const char *resourceName) |
|
GF_GlobalLock * | gf_global_resource_lock (const char *resourceName) |
|
GF_Err | gf_global_resource_unlock (GF_GlobalLock *lock) |
|
void | gf_net_get_ntp (u32 *sec, u32 *frac) |
| gets NTP time More...
|
|
s32 | gf_net_get_timezone () |
| gets timezone adjustment in seconds More...
|
|
u64 | gf_net_parse_date (const char *val) |
| parses date and returns UTC value for this date. Date format is an XSD dateTime format or any of the supported formats from HTTP 1.1: Sun, 06 Nov 1994 08:49:37 GMT ; RFC 822, updated by RFC 1123 Sunday, 06-Nov-94 08:49:37 GMT ; RFC 850, obsoleted by RFC 1036 Sun Nov 6 08:49:37 1994 ; ANSI C's asctime() formatgets UTC time in milliseconds More...
|
|
u64 | gf_net_get_utc () |
| gets UTC time in milliseconds More...
|
|
GF_Err | gf_bin128_parse (char *string, bin128 value) |
| parses 128 bit from string More...
|
|