actually writing the server binary from memory to file before linking, sycing, permissions etc

This commit is contained in:
2021-11-10 17:48:18 +01:00
parent 4a8c365447
commit 32d664a77d
11 changed files with 39 additions and 5 deletions

View File

@ -47,4 +47,6 @@ int verifyChecksumFromFlash(char *mess, char *functionType,
char *clientChecksum, char *fname, ssize_t fsize);
int verifyChecksum(char *mess, char *functionType, char *clientChecksum,
MD5_CTX *c, char *msg);
int setupDetectorServer(char *mess, char *sname);
int setupDetectorServer(char *mess, char *sname);
int writeBinaryFile(char* mess, char* fname, char* buffer, uint64_t filesize);