Expose function to get the device serial

Expose adb_get_serialno() to retrieve the device serial via the command
"adb getserialno".
This commit is contained in:
Romain Vimont
2021-10-17 16:30:07 +02:00
parent 0681480809
commit d55015e4cf
2 changed files with 48 additions and 0 deletions

View File

@@ -36,4 +36,8 @@ adb_push(const char *serial, const char *local, const char *remote);
process_t
adb_install(const char *serial, const char *local);
// Return the result of "adb get-serialno".
char *
adb_get_serialno(void);
#endif