diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-06 09:28:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-06 09:28:57 +0000 |
commit | 66d788dbe9224b7d3e51ad60d2a29a167b2e348d (patch) | |
tree | dd1737e137f070c01ef42800c4fe625f526d0214 /src/include/gnunet_ats_plugin.h | |
parent | 170d5baeece2def099112c6a25287a95d2b28899 (diff) | |
download | gnunet-66d788dbe9224b7d3e51ad60d2a29a167b2e348d.tar.gz gnunet-66d788dbe9224b7d3e51ad60d2a29a167b2e348d.zip |
get rid of stupid network[i]=i array
Diffstat (limited to 'src/include/gnunet_ats_plugin.h')
-rw-r--r-- | src/include/gnunet_ats_plugin.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/include/gnunet_ats_plugin.h b/src/include/gnunet_ats_plugin.h index 36a49d252..bec94b31b 100644 --- a/src/include/gnunet_ats_plugin.h +++ b/src/include/gnunet_ats_plugin.h | |||
@@ -464,14 +464,10 @@ struct GNUNET_ATS_PluginEnvironment | |||
464 | GAS_solver_information_callback info_cb; | 464 | GAS_solver_information_callback info_cb; |
465 | 465 | ||
466 | /** | 466 | /** |
467 | * Available networks | 467 | * Number of networks available, size of the @e out_quota |
468 | * and @e in_quota arrays. | ||
468 | */ | 469 | */ |
469 | int networks[GNUNET_ATS_NetworkTypeCount]; | 470 | unsigned int network_count; |
470 | |||
471 | /** | ||
472 | * Number of networks available | ||
473 | */ | ||
474 | int network_count; | ||
475 | 471 | ||
476 | /** | 472 | /** |
477 | * Array of configured outbound quotas | 473 | * Array of configured outbound quotas |