[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r26462 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r26462 - gnunet/src/include |
Date: |
Fri, 15 Mar 2013 15:27:34 +0100 |
Author: wachs
Date: 2013-03-15 15:27:34 +0100 (Fri, 15 Mar 2013)
New Revision: 26462
Modified:
gnunet/src/include/gnunet_transport_service.h
Log:
clean up
Modified: gnunet/src/include/gnunet_transport_service.h
===================================================================
--- gnunet/src/include/gnunet_transport_service.h 2013-03-15 14:27:16 UTC
(rev 26461)
+++ gnunet/src/include/gnunet_transport_service.h 2013-03-15 14:27:34 UTC
(rev 26462)
@@ -43,15 +43,7 @@
*/
#define GNUNET_TRANSPORT_VERSION 0x00000000
-// FIXME-mwachs; move this into some src/transport/-internal header!
-enum TRAFFIC_METRIC_DIRECTION
-{
- TM_SEND = 0,
- TM_RECEIVE = 1,
- TM_BOTH = 2
-};
-
/**
* Function called by the transport for each received message.
*
@@ -295,7 +287,8 @@
*
* @param handle transport handle
* @param peer the peer to set the metric for
- * @param direction can be: TM_SEND, TM_RECV, TM_BOTH
+ * @param inbound set inbound direction (GNUNET_YES or GNUNET_NO)
+ * @param outbound set outbound direction (GNUNET_YES or GNUNET_NO)
* @param ats the metric as ATS information
* @param ats_count the number of metrics
*
@@ -318,7 +311,8 @@
void
GNUNET_TRANSPORT_set_traffic_metric (struct GNUNET_TRANSPORT_Handle *handle,
const struct
GNUNET_PeerIdentity *peer,
-
int direction,
+
int inbound,
+
int outbound,
const struct
GNUNET_ATS_Information *ats,
size_t
ats_count);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r26462 - gnunet/src/include,
gnunet <=