summaryrefslogtreecommitdiffstats
path: root/src/ogAdmServer.h
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2021-12-19 21:18:13 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-12-20 12:18:46 +0100
commit41ac15d1007e1e00b0aeacf9dff67a60ed3488b4 (patch)
tree995894b107b893efc2914cd76b50c9fec099e821 /src/ogAdmServer.h
parentdd578a944e08ff17805a95aff67d707dc6d02424 (diff)
#915 Remove useless WoL shim code
Levanta() is not required, iterate over the array of IP address and make direct calls to WakeUp(). This is also implicitly fixing up a memleak in og_cmd_wol().
Diffstat (limited to 'src/ogAdmServer.h')
-rw-r--r--src/ogAdmServer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ogAdmServer.h b/src/ogAdmServer.h
index 77e5683..d818289 100644
--- a/src/ogAdmServer.h
+++ b/src/ogAdmServer.h
@@ -23,8 +23,7 @@
struct og_dbi;
bool actualizaConfiguracion(struct og_dbi *,char* ,int);
-bool Levanta(char**, char**, char**, int, char*);
-bool WakeUp(int,char*,char*,char*,char*);
+bool WakeUp(int, const char *, const char *, const char *, const char *);
bool actualizaCreacionImagen(struct og_dbi *,char*,char*,char*,char*,char*,char*);
bool actualizaRestauracionImagen(struct og_dbi *,char*,char*,char*,char*,char*);
bool actualizaHardware(struct og_dbi *dbi, char* ,char*,char*,char*);