[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r33861 - gnunet/src/ats
From: |
gnunet |
Subject: |
[GNUnet-SVN] r33861 - gnunet/src/ats |
Date: |
Thu, 26 Jun 2014 14:15:48 +0200 |
Author: wachs
Date: 2014-06-26 14:15:48 +0200 (Thu, 26 Jun 2014)
New Revision: 33861
Modified:
gnunet/src/ats/plugin_ats_proportional.c
Log:
renaming
Modified: gnunet/src/ats/plugin_ats_proportional.c
===================================================================
--- gnunet/src/ats/plugin_ats_proportional.c 2014-06-26 11:43:16 UTC (rev
33860)
+++ gnunet/src/ats/plugin_ats_proportional.c 2014-06-26 12:15:48 UTC (rev
33861)
@@ -934,10 +934,15 @@
/**
- * FIXME. Degermanize.
+ * Increase address count in network
+ *
+ * @param s the solver handle
+ * @param net the network type
+ * @param total increase total addresses
+ * @param active increase active addresses
*/
static void
-addresse_increment (struct GAS_PROPORTIONAL_Handle *s,
+address_increment (struct GAS_PROPORTIONAL_Handle *s,
struct Network *net,
int total,
int active)
@@ -962,7 +967,12 @@
/**
- * FIXME. Degermanize.
+ * Decrease address count in network
+ *
+ * @param s the solver handle
+ * @param net the network type
+ * @param total decrease total addresses
+ * @param active decrease active addresses
*/
static int
addresse_decrement (struct GAS_PROPORTIONAL_Handle *s,
@@ -1248,7 +1258,7 @@
/* Mark address as active */
asi->activated = GNUNET_TIME_absolute_get();
best_address->active = GNUNET_YES;
- addresse_increment (s, net, GNUNET_NO, GNUNET_YES);
+ address_increment (s, net, GNUNET_NO, GNUNET_YES);
/* Distribute bandwidth */
distribute_bandwidth_in_network (s, net);
@@ -1853,7 +1863,7 @@
aw = GNUNET_new (struct AddressWrapper);
aw->addr = address;
GNUNET_CONTAINER_DLL_insert(net->head, net->tail, aw);
- addresse_increment (s, net, GNUNET_YES, GNUNET_NO);
+ address_increment (s, net, GNUNET_YES, GNUNET_NO);
asi = GNUNET_new (struct AddressSolverInformation);
asi->network = net;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r33861 - gnunet/src/ats,
gnunet <=