diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2014-12-17 03:01:38 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2014-12-19 23:27:34 +0100 |
commit | 726a0206326ca4cf22aa7c59e174a83a0da9727f (patch) | |
tree | 5f0275dfed9c51b255e73feaeba609cd7a762da1 /mtp/twrpMtp.hpp | |
parent | Recovery init.rc setenforce 0 to make SELinux permissive (diff) | |
download | android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar.gz android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar.bz2 android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar.lz android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar.xz android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar.zst android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.zip |
Diffstat (limited to 'mtp/twrpMtp.hpp')
-rwxr-xr-x | mtp/twrpMtp.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mtp/twrpMtp.hpp b/mtp/twrpMtp.hpp index 3aaa96414..ec7cd4b59 100755 --- a/mtp/twrpMtp.hpp +++ b/mtp/twrpMtp.hpp @@ -35,7 +35,7 @@ class twrpMtp { public: twrpMtp(int debug_enabled /* = 0 */); pthread_t threadserver(void); - pid_t forkserver(void); + pid_t forkserver(int mtppipe[2]); void addStorage(std::string display, std::string path, int mtpid, uint64_t maxFileSize); private: int start(void); @@ -43,5 +43,6 @@ class twrpMtp { typedef void* (*PThreadPtr)(void *); storages *mtpstorages; storage *s; + int mtp_read_pipe; }; #endif |