Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1 | #ifndef _EXTRAFUNCTIONS_HEADER |
| 2 | #define _EXTRAFUNCTIONS_HEADER |
| 3 | |
Dees_Troy | 657c309 | 2012-09-10 20:32:10 -0400 | [diff] [blame] | 4 | #include "mincrypt/rsa.h" |
| 5 | #include "minzip/Zip.h" |
| 6 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 7 | int __system(const char *command); |
| 8 | FILE * __popen(const char *program, const char *type); |
| 9 | int __pclose(FILE *iop); |
| 10 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 11 | static long tmplog_offset = 0; |
| 12 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 13 | void update_tz_environment_variables(); |
| 14 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 15 | void run_script(const char *str1, const char *str2, const char *str3, const char *str4, const char *str5, const char *str6, const char *str7, int request_confirm); |
| 16 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 17 | void check_and_run_script(const char* script_file, const char* display_name); |
| 18 | int check_backup_name(int show_error); |
Dees_Troy | 7d15c25 | 2012-09-05 20:47:21 -0400 | [diff] [blame] | 19 | void twfinish_recovery(const char *send_intent); |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 20 | |
Dees_Troy | 7d15c25 | 2012-09-05 20:47:21 -0400 | [diff] [blame] | 21 | #endif // _EXTRAFUNCTIONS_HEADER |