2
0
mirror of https://github.com/Genymobile/scrcpy synced 2025-09-03 15:55:46 +00:00

Extract server-related functions

To lighten screen.c, move start_server() and stop_server() to a separate
file.
This commit is contained in:
Romain Vimont
2018-01-22 11:22:31 +01:00
parent 52af91f6b0
commit 7d67696b7e
4 changed files with 27 additions and 17 deletions

4
app/src/server.h Normal file
View File

@@ -0,0 +1,4 @@
#include "command.h"
process_t start_server(const char *serial);
void stop_server(process_t server);