aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_psyc_util_lib.h
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2015-08-28 13:33:43 +0000
committerGabor X Toth <*@tg-x.net>2015-08-28 13:33:43 +0000
commit38963d1e81332032e0ac774f4f2c6b804c38802a (patch)
treece33b979e47fe332c7c744744d60077a7e1fefee /src/include/gnunet_psyc_util_lib.h
parentb4fa14499c64140273850569247abda687803053 (diff)
downloadgnunet-38963d1e81332032e0ac774f4f2c6b804c38802a.tar.gz
gnunet-38963d1e81332032e0ac774f4f2c6b804c38802a.zip
psyc/social: get state from psycstore
Diffstat (limited to 'src/include/gnunet_psyc_util_lib.h')
-rw-r--r--src/include/gnunet_psyc_util_lib.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/gnunet_psyc_util_lib.h b/src/include/gnunet_psyc_util_lib.h
index c5dae975f..504476573 100644
--- a/src/include/gnunet_psyc_util_lib.h
+++ b/src/include/gnunet_psyc_util_lib.h
@@ -230,6 +230,23 @@ GNUNET_PSYC_receive_check_parts (uint16_t data_size, const char *data,
230 uint16_t *first_ptype, uint16_t *last_ptype); 230 uint16_t *first_ptype, uint16_t *last_ptype);
231 231
232 232
233/**
234 * Initialize PSYC message header.
235 */
236void
237GNUNET_PSYC_message_header_init (struct GNUNET_PSYC_MessageHeader *pmsg,
238 const struct GNUNET_MULTICAST_MessageHeader *mmsg,
239 uint32_t flags);
240
241
242/**
243 * Create a new PSYC message header from a multicast message for sending it to clients.
244 */
245struct GNUNET_PSYC_MessageHeader *
246GNUNET_PSYC_message_header_create (const struct GNUNET_MULTICAST_MessageHeader *mmsg,
247 uint32_t flags);
248
249
233#if 0 /* keep Emacsens' auto-indent happy */ 250#if 0 /* keep Emacsens' auto-indent happy */
234{ 251{
235#endif 252#endif