Handles remote admin packets from a client
| 591 | |
| 592 | // Handles remote admin packets from a client |
| 593 | void Remote_HandleClientPacket(uint8_t *data) { |
| 594 | char buffer[512]; |
| 595 | int prec = Remote_RecieveStringFromClient(data, buffer, 512); |
| 596 | if (prec == -1) |
| 597 | return; |
| 598 | |
| 599 | Remote_ServerProcess(prec, buffer); |
| 600 | } |
| 601 | |
| 602 | // Recieves a string from a client (function decrypts it) |
| 603 | int Remote_RecieveStringFromClient(uint8_t *data, char *buffer, int size) { |
nothing calls this directly
no test coverage detected