diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-02-27 01:18:54 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-02-27 01:19:18 +0100 |
commit | 6da407ad72fdca282094ccdb5558ece9638e3bd3 (patch) | |
tree | 9b93ef7431143588be591e97f2bb0409ff4493ef /src/consensus/consensus_protocol.h | |
parent | 3112e64ef06f71b06e9f047f2c6dd1be0941a565 (diff) | |
download | gnunet-6da407ad72fdca282094ccdb5558ece9638e3bd3.tar.gz gnunet-6da407ad72fdca282094ccdb5558ece9638e3bd3.zip |
include set size in result callback, needed by consensus
Diffstat (limited to 'src/consensus/consensus_protocol.h')
-rw-r--r-- | src/consensus/consensus_protocol.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/consensus/consensus_protocol.h b/src/consensus/consensus_protocol.h index 161c939cd..43b6a9632 100644 --- a/src/consensus/consensus_protocol.h +++ b/src/consensus/consensus_protocol.h | |||
@@ -89,6 +89,12 @@ struct GNUNET_CONSENSUS_RoundContextMessage | |||
89 | }; | 89 | }; |
90 | 90 | ||
91 | 91 | ||
92 | enum { | ||
93 | CONSENSUS_MARKER_CONTESTED, | ||
94 | CONSENSUS_MARKER_SIZE, | ||
95 | }; | ||
96 | |||
97 | |||
92 | /** | 98 | /** |
93 | * Consensus element, either marker or payload. | 99 | * Consensus element, either marker or payload. |
94 | */ | 100 | */ |
@@ -103,7 +109,7 @@ struct ConsensusElement | |||
103 | /** | 109 | /** |
104 | * Is this a marker element? | 110 | * Is this a marker element? |
105 | */ | 111 | */ |
106 | uint8_t is_contested_marker; | 112 | uint8_t marker; |
107 | 113 | ||
108 | /* rest: element data */ | 114 | /* rest: element data */ |
109 | }; | 115 | }; |