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)
downloadgnunet-5f38f9933e6f19fcef0ded8aad3d6db4e6cbb666.tar.gz
gnunet-5f38f9933e6f19fcef0ded8aad3d6db4e6cbb666.zip
-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 7da08154d..f8bf36344 100644
--- a/src/regex/regex_internal_lib.h
+++ b/src/regex/regex_internal_lib.h
@@ -29,6 +29,7 @@
29#include "gnunet_util_lib.h" 29#include "gnunet_util_lib.h"
30#include "gnunet_dht_service.h" 30#include "gnunet_dht_service.h"
31#include "gnunet_statistics_service.h" 31#include "gnunet_statistics_service.h"
32#include "regex_block_lib.h"
32 33
33#ifdef __cplusplus 34#ifdef __cplusplus
34extern "C" 35extern "C"
@@ -46,23 +47,6 @@ struct REGEX_INTERNAL_Automaton;
46 47
47 48
48/** 49/**
49 * Edge representation.
50 */
51struct REGEX_INTERNAL_Edge
52{
53 /**
54 * Label of the edge. FIXME: might want to not consume exactly multiples of 8 bits, need length?
55 */
56 const char *label;
57
58 /**
59 * Destionation of the edge.
60 */
61 struct GNUNET_HashCode destination;
62};
63
64
65/**
66 * Construct DFA for the given 'regex' of length 'len'. 50 * Construct DFA for the given 'regex' of length 'len'.
67 * 51 *
68 * Path compression means, that for example a DFA o -> a -> b -> c -> o will be 52 * Path compression means, that for example a DFA o -> a -> b -> c -> o will be