diff options
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 |