diff options
author | Gabor X Toth <*@tg-x.net> | 2014-07-27 13:17:03 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2014-07-27 13:17:03 +0000 |
commit | b63820a52b63d264bead047d0d6f4b76a94c4030 (patch) | |
tree | a678202b91694d3582ae61c57a7badac483693d1 /src/psyc/psyc.h | |
parent | 2f0367bf715c7c0abd12b3e167f329311a35f6e2 (diff) | |
download | gnunet-b63820a52b63d264bead047d0d6f4b76a94c4030.tar.gz gnunet-b63820a52b63d264bead047d0d6f4b76a94c4030.zip |
psyc: membership store
Diffstat (limited to 'src/psyc/psyc.h')
-rw-r--r-- | src/psyc/psyc.h | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/src/psyc/psyc.h b/src/psyc/psyc.h index 82800a334..21131e7d3 100644 --- a/src/psyc/psyc.h +++ b/src/psyc/psyc.h | |||
@@ -105,35 +105,22 @@ struct SlaveJoinRequest | |||
105 | }; | 105 | }; |
106 | 106 | ||
107 | 107 | ||
108 | struct ChannelSlaveAddRequest | 108 | struct ChannelMembershipStoreRequest |
109 | { | 109 | { |
110 | /** | 110 | /** |
111 | * Type: GNUNET_MESSAGE_TYPE_PSYC_CHANNEL_SLAVE_ADD | 111 | * Type: GNUNET_MESSAGE_TYPE_PSYC_CHANNEL_MEMBERSHIP_STORE |
112 | */ | 112 | */ |
113 | struct GNUNET_MessageHeader header; | 113 | struct GNUNET_MessageHeader header; |
114 | 114 | ||
115 | uint32_t reserved; | 115 | uint32_t reserved; |
116 | 116 | ||
117 | struct GNUNET_CRYPTO_EcdsaPublicKey *slave_key; | 117 | struct GNUNET_CRYPTO_EcdsaPublicKey slave_key; |
118 | 118 | ||
119 | uint64_t announced_at; | 119 | uint64_t announced_at; |
120 | 120 | ||
121 | uint64_t effective_since; | 121 | uint64_t effective_since; |
122 | }; | ||
123 | |||
124 | 122 | ||
125 | struct ChannelSlaveRemoveRequest | 123 | uint8_t did_join; |
126 | { | ||
127 | /** | ||
128 | * Type: GNUNET_MESSAGE_TYPE_PSYC_CHANNEL_SLAVE_RM | ||
129 | */ | ||
130 | struct GNUNET_MessageHeader header; | ||
131 | |||
132 | uint32_t reserved; | ||
133 | |||
134 | struct GNUNET_CRYPTO_EcdsaPublicKey *slave_key; | ||
135 | |||
136 | uint64_t announced_at; | ||
137 | }; | 124 | }; |
138 | 125 | ||
139 | 126 | ||