summaryrefslogtreecommitdiff
path: root/adb_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'adb_client.h')
-rw-r--r--adb_client.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/adb_client.h b/adb_client.h
index 9895c49..5de0638 100644
--- a/adb_client.h
+++ b/adb_client.h
@@ -26,9 +26,9 @@
int adb_connect(const std::string& service, std::string* error);
int _adb_connect(const std::string& service, std::string* error);
-// Connect to adb, connect to the named service, return 0 if the connection
-// succeeded AND the service returned OKAY.
-int adb_command(const std::string& service, std::string* error);
+// Connect to adb, connect to the named service, returns true if the connection
+// succeeded AND the service returned OKAY. Outputs any returned error otherwise.
+bool adb_command(const std::string& service);
// Connects to the named adb service and fills 'result' with the response.
// Returns true on success; returns false and fills 'error' on failure.