Rename adb functions to adb_exec_*
This paves the way to replace them by more user-friendly functions that will call them internally.
This commit is contained in:
@@ -16,24 +16,24 @@ adb_execute_p(const char *serial, const char *const adb_cmd[], size_t len,
|
||||
sc_pipe *pout);
|
||||
|
||||
sc_pid
|
||||
adb_forward(const char *serial, uint16_t local_port,
|
||||
const char *device_socket_name);
|
||||
adb_exec_forward(const char *serial, uint16_t local_port,
|
||||
const char *device_socket_name);
|
||||
|
||||
sc_pid
|
||||
adb_forward_remove(const char *serial, uint16_t local_port);
|
||||
adb_exec_forward_remove(const char *serial, uint16_t local_port);
|
||||
|
||||
sc_pid
|
||||
adb_reverse(const char *serial, const char *device_socket_name,
|
||||
uint16_t local_port);
|
||||
adb_exec_reverse(const char *serial, const char *device_socket_name,
|
||||
uint16_t local_port);
|
||||
|
||||
sc_pid
|
||||
adb_reverse_remove(const char *serial, const char *device_socket_name);
|
||||
adb_exec_reverse_remove(const char *serial, const char *device_socket_name);
|
||||
|
||||
sc_pid
|
||||
adb_push(const char *serial, const char *local, const char *remote);
|
||||
adb_exec_push(const char *serial, const char *local, const char *remote);
|
||||
|
||||
sc_pid
|
||||
adb_install(const char *serial, const char *local);
|
||||
adb_exec_install(const char *serial, const char *local);
|
||||
|
||||
/**
|
||||
* Execute `adb get-serialno`
|
||||
@@ -41,6 +41,6 @@ adb_install(const char *serial, const char *local);
|
||||
* The result can be read from the output parameter `pout`.
|
||||
*/
|
||||
sc_pid
|
||||
adb_get_serialno(sc_pipe *pout);
|
||||
adb_exec_get_serialno(sc_pipe *pout);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user