summaryrefslogtreecommitdiff
path: root/taia.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 14:52:36 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 14:52:36 +0200
commit923d6438f34babecfb53c3925d83afa5178641bd (patch)
tree103edb6cae25d3a398fb0ac7af392fa4274db4e1 /taia.h
parent59ebf2978741fb4cf0086440e23a1fcb522fdc21 (diff)
taia: move taia evaluation out of curve.
This is not really related to curve functions, so move it out from there. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'taia.h')
-rw-r--r--taia.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/taia.h b/taia.h
index 227321d..7440418 100644
--- a/taia.h
+++ b/taia.h
@@ -2,6 +2,11 @@
#define TAIA_H
#include <stdint.h>
+#include <stdbool.h>
+#include <stdio.h>
+#include <sys/time.h>
+
+#include "rnd.h"
struct tai {
uint64_t x;
@@ -156,4 +161,6 @@ static inline int taia_less(const struct taia *t, const struct taia *u)
return t->atto < u->atto;
}
+extern bool taia_looks_good(struct taia *arr_taia, struct taia *pkt_taia);
+
#endif /* TAIA_H */