aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-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