[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r26988 - in gnunet/src: include set
From: |
gnunet |
Subject: |
[GNUnet-SVN] r26988 - in gnunet/src: include set |
Date: |
Wed, 24 Apr 2013 15:56:41 +0200 |
Author: grothoff
Date: 2013-04-24 15:56:41 +0200 (Wed, 24 Apr 2013)
New Revision: 26988
Modified:
gnunet/src/include/gnunet_set_service.h
gnunet/src/set/gnunet-service-set.c
gnunet/src/set/gnunet-service-set.h
gnunet/src/set/mq.h
Log:
-comments
Modified: gnunet/src/include/gnunet_set_service.h
===================================================================
--- gnunet/src/include/gnunet_set_service.h 2013-04-24 13:11:09 UTC (rev
26987)
+++ gnunet/src/include/gnunet_set_service.h 2013-04-24 13:56:41 UTC (rev
26988)
@@ -90,11 +90,11 @@
* There was a timeout.
*/
GNUNET_SET_STATUS_TIMEOUT,
- /*
+ /**
* The other peer refused to to the operation with us
*/
GNUNET_SET_STATUS_REFUSED,
- /*
+ /**
* Success, all elements have been sent.
*/
GNUNET_SET_STATUS_DONE
@@ -249,6 +249,7 @@
* Evaluate a set operation with our set and the set of another peer.
*
* @param set set to use
+ * @param salt salt for HKDF (explain more here)
* @param other_peer peer with the other set
* @param app_id hash for the application using the set
* @param context_msg additional information for the request
Modified: gnunet/src/set/gnunet-service-set.c
===================================================================
--- gnunet/src/set/gnunet-service-set.c 2013-04-24 13:11:09 UTC (rev 26987)
+++ gnunet/src/set/gnunet-service-set.c 2013-04-24 13:56:41 UTC (rev 26988)
@@ -126,6 +126,7 @@
return NULL;
}
+
/**
* Get the incoming socket associated with the given id
*
@@ -143,6 +144,7 @@
return NULL;
}
+
static void
destroy_incoming (struct Incoming *incoming)
{
Modified: gnunet/src/set/gnunet-service-set.h
===================================================================
--- gnunet/src/set/gnunet-service-set.h 2013-04-24 13:11:09 UTC (rev 26987)
+++ gnunet/src/set/gnunet-service-set.h 2013-04-24 13:56:41 UTC (rev 26988)
@@ -67,7 +67,7 @@
/**
* Type of operation supported for this set
*/
- uint32_t operation;
+ uint32_t operation; // use enum from API
/**
* Sets are held in a doubly linked list.
@@ -275,7 +275,7 @@
struct Set *
-union_set_create ();
+union_set_create (void);
void
Modified: gnunet/src/set/mq.h
===================================================================
--- gnunet/src/set/mq.h 2013-04-24 13:11:09 UTC (rev 26987)
+++ gnunet/src/set/mq.h 2013-04-24 13:56:41 UTC (rev 26988)
@@ -61,6 +61,7 @@
/**
* Allocate a GNUNET_MQ_Message, and concatenate another message
* after the space needed by the message struct.
+ * // nest?
*
* @param mvar variable to store the allocated message in;
* must have a header field
@@ -108,7 +109,7 @@
/**
* Opaque handle to an allocated message
*/
-struct GNUNET_MQ_Message;
+struct GNUNET_MQ_Message; // Entry (/ Request)
/**
* Called when a message has been received.
@@ -130,6 +131,7 @@
*/
GNUNET_MQ_MessageCallback cb;
+
/**
* Type of the message we are interested in
*/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r26988 - in gnunet/src: include set,
gnunet <=