blob: 664ca33487f50bac6195c4db6905723d5658601a [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001#ifndef _EXTRAFUNCTIONS_HEADER
2#define _EXTRAFUNCTIONS_HEADER
3
Dees_Troy657c3092012-09-10 20:32:10 -04004#include "mincrypt/rsa.h"
5#include "minzip/Zip.h"
6
Dees_Troy51a0e822012-09-05 15:24:24 -04007int __system(const char *command);
8FILE * __popen(const char *program, const char *type);
9int __pclose(FILE *iop);
10
Dees_Troy51a0e822012-09-05 15:24:24 -040011static long tmplog_offset = 0;
12
Dees_Troy51a0e822012-09-05 15:24:24 -040013void update_tz_environment_variables();
14
Dees_Troy51a0e822012-09-05 15:24:24 -040015void 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_Troy51a0e822012-09-05 15:24:24 -040017void check_and_run_script(const char* script_file, const char* display_name);
18int check_backup_name(int show_error);
Dees_Troy7d15c252012-09-05 20:47:21 -040019void twfinish_recovery(const char *send_intent);
Dees_Troy51a0e822012-09-05 15:24:24 -040020
Dees_Troy7d15c252012-09-05 20:47:21 -040021#endif // _EXTRAFUNCTIONS_HEADER