summaryrefslogtreecommitdiff
path: root/include/network.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-11-01 20:06:23 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2023-11-01 20:06:23 +0100
commit9ae166e78fb751186de8986f042fb02d112d51f6 (patch)
tree168a9ded0f03c4dd336c68426af4c77970df522e /include/network.h
parent4a5353adf6798043c144eb9014341bbffac3c42c (diff)
disconnect and reconnect working
Diffstat (limited to 'include/network.h')
-rw-r--r--include/network.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/network.h b/include/network.h
new file mode 100644
index 0000000..2446342
--- /dev/null
+++ b/include/network.h
@@ -0,0 +1,11 @@
+#ifndef INCLUDE_NETWORK
+#define INCLUDE_NETWORK
+
+typedef enum t_network_state {
+ CONNECTING,
+ WAITING_FOR_ID,
+ CONNECTED,
+ DISCONNECTED,
+} network_state;
+
+#endif \ No newline at end of file