[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r6155 - GNUnet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r6155 - GNUnet/src/include |
Date: |
Mon, 4 Feb 2008 23:01:55 -0700 (MST) |
Author: grothoff
Date: 2008-02-04 23:01:52 -0700 (Mon, 04 Feb 2008)
New Revision: 6155
Modified:
GNUnet/src/include/gnunet_core.h
Log:
additional argument
Modified: GNUnet/src/include/gnunet_core.h
===================================================================
--- GNUnet/src/include/gnunet_core.h 2008-02-05 05:56:50 UTC (rev 6154)
+++ GNUnet/src/include/gnunet_core.h 2008-02-05 06:01:52 UTC (rev 6155)
@@ -334,6 +334,11 @@
* send.
* @param minimumPadding how large must the padding be in order
* to call this method?
+ * @param priority the higher the priority, the higher preference
+ * will be given to polling this callback (compared to
+ * other callbacks). Note that polling will always
+ * only be done after all push requests (unicast) have
+ * been considered
* @param callback the method to invoke. The receiver is the
* receiver of the message, position is the reference to the
* first unused position in the buffer where GNUnet is building
@@ -342,8 +347,9 @@
* that buffer (must be a positive number).
* @return GNUNET_OK if the handler was registered, GNUNET_SYSERR on error
*/
- int (*connection_register_send_callback) (const unsigned int
+ int (*connection_register_send_callback) (unsigned int
minimumPadding,
+ unsigned int priority,
GNUNET_BufferFillCallback
callback);
@@ -351,7 +357,7 @@
* Unregister a handler that was registered with
GNUNET_CORE_connection_register_send_callback.
* @return GNUNET_OK if the handler was removed, GNUNET_SYSERR on error
*/
- int (*connection_unregister_send_callback) (const unsigned int
+ int (*connection_unregister_send_callback) (unsigned int
minimumPadding,
GNUNET_BufferFillCallback
callback);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r6155 - GNUnet/src/include,
gnunet <=