diff options
Diffstat (limited to 'adb/file_sync_service.h')
-rw-r--r-- | adb/file_sync_service.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/adb/file_sync_service.h b/adb/file_sync_service.h index 6e1ccce..344eb98 100644 --- a/adb/file_sync_service.h +++ b/adb/file_sync_service.h @@ -17,6 +17,8 @@ #ifndef _FILE_SYNC_SERVICE_H_ #define _FILE_SYNC_SERVICE_H_ +#include <string> + #define htoll(x) (x) #define ltohl(x) (x) @@ -67,7 +69,7 @@ union syncmsg { void file_sync_service(int fd, void *cookie); int do_sync_ls(const char *path); int do_sync_push(const char *lpath, const char *rpath, int show_progress); -int do_sync_sync(const char *lpath, const char *rpath, int listonly); +int do_sync_sync(const std::string& lpath, const std::string& rpath, bool list_only); int do_sync_pull(const char *rpath, const char *lpath, int show_progress, int pullTime); #define SYNC_DATA_MAX (64*1024) |