Move ADB code to adb/

This commit is contained in:
Romain Vimont
2022-02-03 22:46:24 +01:00
parent c460243ce2
commit 7810ca61b0
12 changed files with 8 additions and 10 deletions

16
app/src/adb/adb_parser.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef SC_ADB_PARSER_H
#define SC_ADB_PARSER_H
#include "common.h"
#include <stddef.h>
/**
* Parse the ip from the output of `adb shell ip route`
*
* Warning: this function modifies the buffer for optimization purposes.
*/
char *
sc_adb_parse_device_ip_from_output(char *buf, size_t buf_len);
#endif