summaryrefslogtreecommitdiff
path: root/datatypes.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2014-03-20 22:55:01 (GMT)
committerChristian Pointner <equinox@helsinki.at>2014-03-20 22:55:01 (GMT)
commit11f70f400d8f54721ec05c1adfd11915e6c2a905 (patch)
tree4c461fd755269d7857569be7d1ae3a3084186fcd /datatypes.h
parentb2ee1b990397735b1b537b3d942f9815bb4ab414 (diff)
added state for heartbeats
Diffstat (limited to 'datatypes.h')
-rw-r--r--datatypes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/datatypes.h b/datatypes.h
index ab714fc..3a72adc 100644
--- a/datatypes.h
+++ b/datatypes.h
@@ -26,6 +26,10 @@
#include <stdint.h>
#include <arpa/inet.h>
+typedef uint8_t bool;
+#define FALSE 0
+#define TRUE 1
+
typedef uint8_t u_int8_t;
typedef uint16_t u_int16_t;
typedef uint32_t u_int32_t;