aboutsummaryrefslogtreecommitdiff
path: root/src/include/block_regex.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-06-27 11:31:48 +0000
committerChristian Grothoff <christian@grothoff.org>2013-06-27 11:31:48 +0000
commitd1b1c834fbb65d70fca837e1ab742e71e16adf50 (patch)
treeff3c5f148bee8c53a8a36447a8bd5535ed5573c2 /src/include/block_regex.h
parent1350dd76782b3cea091cd3c41dc53a6fc244414b (diff)
downloadgnunet-d1b1c834fbb65d70fca837e1ab742e71e16adf50.tar.gz
gnunet-d1b1c834fbb65d70fca837e1ab742e71e16adf50.zip
-move struct RegexBlock into regex_block_lib
Diffstat (limited to 'src/include/block_regex.h')
-rw-r--r--src/include/block_regex.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/include/block_regex.h b/src/include/block_regex.h
index be9d305ad..bfaf411eb 100644
--- a/src/include/block_regex.h
+++ b/src/include/block_regex.h
@@ -43,51 +43,6 @@ GNUNET_NETWORK_STRUCT_BEGIN
43 43
44 44
45/** 45/**
46 * @brief A RegexBlock contains one or more of this struct in the payload.
47 */
48struct RegexEdge
49{
50 /**
51 * Destination of this edge.
52 */
53 struct GNUNET_HashCode key;
54
55 /**
56 * Length of the token towards the new state.
57 */
58 uint32_t n_token GNUNET_PACKED;
59
60 /* char token[n_token] */
61};
62
63
64/**
65 * @brief Block to announce a regex state.
66 */
67struct RegexBlock
68{
69
70 /**
71 * Length of the proof regex string.
72 */
73 uint16_t proof_len GNUNET_PACKED;
74
75 /**
76 * Is this state an accepting state?
77 */
78 int16_t is_accepting GNUNET_PACKED;
79
80 /**
81 * Numer of edges parting from this state.
82 */
83 uint32_t n_edges GNUNET_PACKED;
84
85 /* char proof[n_proof] */
86 /* struct RegexEdge edges[n_edges] */
87};
88
89
90/**
91 * @brief Block to announce a peer accepting a state. 46 * @brief Block to announce a peer accepting a state.
92 */ 47 */
93struct RegexAcceptBlock 48struct RegexAcceptBlock