-
Notifications
You must be signed in to change notification settings - Fork 3
/
extra-functions.h
78 lines (59 loc) · 1.61 KB
/
extra-functions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
int __system(const char *command);
FILE * __popen(const char *program, const char *type);
int __pclose(FILE *iop);
// Device ID variable / function
char device_id[64];
void get_device_id();
// Menus
void install_zip_menu(int pIdx);
void advanced_menu();
void show_fake_main_menu();
void usb_storage_toggle();
void wipe_dalvik_cache();
void format_menu();
void main_wipe_menu();
// Format Menu Stuff
int erase_volume(const char *volume);
static long tmplog_offset = 0;
// Battery level
char* print_batt_cap();
void confirm_format(char* volume_name, char* volume_path);
int get_menu_selection(char** headers, char** items, int menu_only, int initial_selection);
char* zip_verify();
char* reboot_after_flash();
char* save_reboot_setting();
void all_settings_menu(int pIdx);
void time_zone_menu();
void time_zone_minus();
void time_zone_plus();
void time_zone_offset();
char time_zone_offset_string[5];
char time_zone_dst_string[10];
void time_zone_dst();
void update_tz_environment_variables();
// Menu Stuff
#define GO_HOME 69
int go_home;
int go_menu;
int go_restart;
int go_reboot;
int menu_loc_idx;
int menu_loc[255];
void inc_menu_loc(int bInt);
void dec_menu_loc();
char* isMounted(int mInt);
void mount_menu(int pIdx);
void chkMounts();
int sysIsMounted;
int datIsMounted;
int cacIsMounted;
int sdcIsMounted;
int sdeIsMounted;
char multi_zip_array[10][255];
int multi_zip_index;
int get_new_zip_dir;
char* checkTheme(int tw_theme);
void fix_perms();
char* toggle_spam();
static void show_menu_partition();
void run_script(char *str1,char *str2,char *str3,char *str4,char *str5,char *str6,char *str7, int request_confirm);