gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r28037 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r28037 - gnunet/src/include
Date: Mon, 15 Jul 2013 11:13:19 +0200

Author: tg
Date: 2013-07-15 11:13:19 +0200 (Mon, 15 Jul 2013)
New Revision: 28037

Modified:
   gnunet/src/include/gnunet_psyc_service.h
   gnunet/src/include/gnunet_social_service.h
Log:
PSYC: historic message flag

Modified: gnunet/src/include/gnunet_psyc_service.h
===================================================================
--- gnunet/src/include/gnunet_psyc_service.h    2013-07-15 08:43:04 UTC (rev 
28036)
+++ gnunet/src/include/gnunet_psyc_service.h    2013-07-15 09:13:19 UTC (rev 
28037)
@@ -101,17 +101,24 @@
   /**
    * 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
 };
 
 

Modified: gnunet/src/include/gnunet_social_service.h
===================================================================
--- gnunet/src/include/gnunet_social_service.h  2013-07-15 08:43:04 UTC (rev 
28036)
+++ gnunet/src/include/gnunet_social_service.h  2013-07-15 09:13:19 UTC (rev 
28037)
@@ -534,7 +534,7 @@
  * @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.
  */
@@ -572,8 +572,10 @@
  * @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,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]