mirror of
https://github.com/CPunch/Laika.git
synced 2025-09-30 05:30:06 +00:00
Bot persistence boilerplate
This commit is contained in:
38
bot/win/winpersist.c
Normal file
38
bot/win/winpersist.c
Normal file
@@ -0,0 +1,38 @@
|
||||
/* platform specific code for achieving persistence on windows */
|
||||
|
||||
#include "persist.h"
|
||||
|
||||
/* check if laika is already running */
|
||||
bool laikaB_checkRunning() {
|
||||
return true; /* stubbed for now */
|
||||
}
|
||||
|
||||
/* check if laika is already installed on current machine */
|
||||
bool laikaB_checkPersist() {
|
||||
return true; /* stubbed for now */
|
||||
}
|
||||
|
||||
/* check if laika is running as super-user */
|
||||
bool laikaB_checkRoot() {
|
||||
return true; /* stubbed for now */
|
||||
}
|
||||
|
||||
/* mark that laika is currently running */
|
||||
void laikaB_markRunning() {
|
||||
/* stubbed */
|
||||
}
|
||||
|
||||
/* unmark that laika is currently running */
|
||||
void laikaB_unmarkRunning() {
|
||||
/* stubbed */
|
||||
}
|
||||
|
||||
/* try to gain persistance on machine */
|
||||
void laikaB_tryPersist() {
|
||||
/* stubbed */
|
||||
}
|
||||
|
||||
/* try to gain root */
|
||||
void laikaB_tryRoot() {
|
||||
/* stubbed */
|
||||
}
|
Reference in New Issue
Block a user