summaryrefslogtreecommitdiff
path: root/include/protect.h
diff options
context:
space:
mode:
authorscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-05 16:43:55 +0000
committerscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-05 16:43:55 +0000
commit6c4fe3323d79253af707df90623e433ce12c35f2 (patch)
tree36ca640e6865abc26789760ba9fd09a023eb0ba1 /include/protect.h
parent6ed79c5de77b3f6be5c297cb5432d123ff1ff177 (diff)
* Prechod na novou verzi instalace pseudoautotools -> cmake
* Odstraneni bordelu kterej tu byl (pokud vam neco chybi brecte na me ja to zkusim najit v zaloze) * TODO instalace: SEPSAT AUTORY, IKONKU VYROBIT git-svn-id: http://opensvn.csie.org/tuxanci_ng@94 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'include/protect.h')
-rw-r--r--include/protect.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/include/protect.h b/include/protect.h
deleted file mode 100644
index e0553dd..0000000
--- a/include/protect.h
+++ /dev/null
@@ -1,30 +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