summaryrefslogtreecommitdiff
path: root/src/base/protect.h
diff options
context:
space:
mode:
authorConnor Thomson <blumatrikz@gmail.com>2026-09-08 18:27:39 -0700
committerConnor Thomson <blumatrikz@gmail.com>2026-09-08 18:27:39 -0700
commitf1ddc12b68b4e4c8087962de25260470e6df2bea (patch)
tree7d0440a6402a9b0ef75ded23fa64b68534255bba /src/base/protect.h
parent6025860a61386bf767b29c3ec5fd0d31285f1056 (diff)
Add tuxanci2 files
Diffstat (limited to 'src/base/protect.h')
-rw-r--r--src/base/protect.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/base/protect.h b/src/base/protect.h
deleted file mode 100644
index 1a55ef7..0000000
--- a/src/base/protect.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef PROTECT_H
-#define PROTECT_H
-
-#include "main.h"
-#include "myTimer.h"
-
-#define PROTECT_PING_INTERVAL_TIMEOUT 5000
-#define PROTECT_SPEED_INTERVAL_TIMEOUT 40
-#define PROTECT_SPEED_AVARAGE 10
-
-typedef struct protect_struct {
- my_time_t lastPing;
- my_time_t lastMove;
- my_time_t avarage;
- int count;
- bool_t isDown;
-} protect_t;
-
-extern protect_t *newProtect();
-extern void refreshLastMove(protect_t *p);
-extern void rereshLastPing(protect_t *p);
-extern bool_t isDown(protect_t *p);
-extern void destroyProtect(protect_t *p);
-
-#endif /* PROTECT_H */