summaryrefslogtreecommitdiffstats
path: root/src/wol.h
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2020-08-06 13:36:47 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-08-06 13:39:46 +0200
commit060e31cb53386282f1995937c18fe39855865046 (patch)
tree7fd99b05a839fcd31a9bbce4deda5ad7ceb504b0 /src/wol.h
parent1855b68af3ee365f871090c840f728691dd687de (diff)
#990 add wol_socket_open()
Add wol_socket_open() to initialize the WoL socket
Diffstat (limited to 'src/wol.h')
-rw-r--r--src/wol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wol.h b/src/wol.h
index c15cf3a..8682520 100644
--- a/src/wol.h
+++ b/src/wol.h
@@ -12,6 +12,7 @@ struct wol_msg {
char macbin[OG_WOL_REPEAT][OG_WOL_MACADDR_LEN];
};
+int wol_socket_open(void);
bool wake_up_send(int sd, struct sockaddr_in *client,
const struct wol_msg *msg, const struct in_addr *addr);
bool wake_up_broadcast(int sd, struct sockaddr_in *client,