aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_internal_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-06-26 11:50:16 +0000
committerChristian Grothoff <christian@grothoff.org>2013-06-26 11:50:16 +0000
commit5f38f9933e6f19fcef0ded8aad3d6db4e6cbb666 (patch)
tree7c17cf8ad811c21520f0e73fd7124d5a33c8935b /src/regex/regex_internal_lib.h
parentae4ab9e6ce8d7529bec34bef3d7db62c393dd918 (diff)
-cleaning up block code, moving all of the block logic into the block library
Diffstat (limited to 'src/regex/regex_internal_lib.h')
-rw-r--r--src/regex/regex_internal_lib.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/regex/regex_internal_lib.h b/src/regex/regex_internal_lib.h
index 7da08154d1..f8bf363443 100644
--- a/src/regex/regex_internal_lib.h
+++ b/src/regex/regex_internal_lib.h
@@ -29,6 +29,7 @@
#include "gnunet_util_lib.h"
#include "gnunet_dht_service.h"
#include "gnunet_statistics_service.h"
+#include "regex_block_lib.h"
#ifdef __cplusplus
extern "C"
@@ -46,23 +47,6 @@ struct REGEX_INTERNAL_Automaton;
/**
- * Edge representation.
- */
-struct REGEX_INTERNAL_Edge
-{
- /**
- * Label of the edge. FIXME: might want to not consume exactly multiples of 8 bits, need length?
- */
- const char *label;
-
- /**
- * Destionation of the edge.
- */
- struct GNUNET_HashCode destination;
-};
-
-
-/**
* Construct DFA for the given 'regex' of length 'len'.
*
* Path compression means, that for example a DFA o -> a -> b -> c -> o will be