/**
* First fragment of a message.
*/
- GNUNET_PSYC_MESSAGE_FIRST_FRAGMENT = GNUNET_MULTICAST_MESSAGE_FIRST_FRAGMENT,
+ GNUNET_PSYC_MESSAGE_FIRST_FRAGMENT = 1 << 0,
/**
* Last fragment of a message.
*/
- GNUNET_PSYC_MESSAGE_LAST_FRAGMENT = GNUNET_MULTICAST_MESSAGE_LAST_FRAGMENT,
+ GNUNET_PSYC_MESSAGE_LAST_FRAGMENT = 1 << 1,
/**
* OR'ed flags if message is not fragmented.
*/
- GNUNET_PSYC_MESSAGE_NOT_FRAGMENTED = GNUNET_MULTICAST_MESSAGE_NOT_FRAGMENTED
+ GNUNET_PSYC_MESSAGE_NOT_FRAGMENTED
+ = GNUNET_PSYC_MESSAGE_FIRST_FRAGMENT
+ | GNUNET_PSYC_MESSAGE_LAST_FRAGMENT,
+
+ /**
+ * Historic message, retrieved from PSYCstore.
+ */
+ GNUNET_PSYC_MESSAGE_HISTORIC = 1 << 2
};
* @param place Place where we want to talk to the host.
* @param method_name Method to invoke on the host.
* @param notify Function to use to get the payload for the method.
- * @param notifyv_cls Closure for @a notify.
+ * @param notify_cls Closure for @a notify.
* @return NULL if we are already trying to talk to the host,
* otherwise handle to cancel the request.
*/
* @param start_message_id First historic message we are interested in.
* @param end_message_id Last historic message we are interested in (inclusive).
* @param slicer Slicer to use to process history.
+ * FIXME: Needed? Could use the slicer of the place instead,
+ * receiving messages with the HISTORIC flag set.
* @return Handle to abort history lesson, never NULL (multiple lessons
- * at the same time are allowed).
+ * at the same time are allowed).
*/
struct GNUNET_SOCIAL_HistoryLesson *
GNUNET_SOCIAL_place_get_history (struct GNUNET_SOCIAL_Place *place,