2
0
mirror of https://github.com/Genymobile/scrcpy synced 2025-09-05 00:35:23 +00:00

Move server-related functions to server.c

In addition to the functions to start/stop the server, move the
functions to push the jar and enable/disable the "adb reverse" tunnel.
This commit is contained in:
Romain Vimont
2018-01-23 15:46:34 +01:00
parent 3078894d1f
commit d7b00a9bab
3 changed files with 25 additions and 8 deletions

View File

@@ -1,4 +1,8 @@
#include "command.h"
process_t push_server(const char *serial);
process_t enable_tunnel(const char *serial, Uint16 local_port);
process_t disable_tunnel(const char *serial);
process_t start_server(const char *serial);
void stop_server(process_t server);