You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ SPDX-License-Identifier: AGPL3.0-or-later
*/
/**
* @file rps/rps.h
/* Followed by num_peers * GNUNET_PeerIdentity */
};
-#ifdef ENABLE_MALICIOUS
+#if ENABLE_MALICIOUS
/**
* Message from client to service to turn service malicious.
*/
#endif /* ENABLE_MALICIOUS */
+/**
+ * Message from client to service telling it to start a new sub
+ */
+struct GNUNET_RPS_CS_SubStartMessage
+{
+ /**
+ * Header including size and type in NBO
+ */
+ struct GNUNET_MessageHeader header;
+
+ /**
+ * For alignment.
+ */
+ uint32_t reserved GNUNET_PACKED;
+
+ /**
+ * Mean interval between two rounds
+ */
+ struct GNUNET_TIME_RelativeNBO round_interval;
+
+ /**
+ * Length of the shared value represented as string.
+ */
+ struct GNUNET_HashCode hash GNUNET_PACKED;
+};
+
+
+/**
+ * Message from client to service telling it to stop a new sub
+ */
+struct GNUNET_RPS_CS_SubStopMessage
+{
+ /**
+ * Header including size and type in NBO
+ */
+ struct GNUNET_MessageHeader header;
+
+ /**
+ * Length of the shared value represented as string.
+ */
+ struct GNUNET_HashCode hash GNUNET_PACKED;
+};
+
+
/* Debug messages */
/**