diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-22 20:54:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-22 20:54:15 +0000 |
commit | 9750132ba19a96ab1756de15e91c62405a1918fb (patch) | |
tree | 41312f4ff3224895507e127f712ffd9271a19cea /src/transport/gnunet-service-transport_ats.h | |
parent | 7701720d1410c40923749c53b96ccb5770e1be09 (diff) | |
download | gnunet-9750132ba19a96ab1756de15e91c62405a1918fb.tar.gz gnunet-9750132ba19a96ab1756de15e91c62405a1918fb.zip |
towards a cleaner ATS scheduling API
Diffstat (limited to 'src/transport/gnunet-service-transport_ats.h')
-rw-r--r-- | src/transport/gnunet-service-transport_ats.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_ats.h b/src/transport/gnunet-service-transport_ats.h index c7b826484..b066ad74f 100644 --- a/src/transport/gnunet-service-transport_ats.h +++ b/src/transport/gnunet-service-transport_ats.h | |||
@@ -79,6 +79,19 @@ GST_ats_new_session (const struct GNUNET_HELLO_Address *address, | |||
79 | 79 | ||
80 | 80 | ||
81 | /** | 81 | /** |
82 | * Notify ATS about a new session now being in use (or not). | ||
83 | * | ||
84 | * @param address the address | ||
85 | * @param session the session | ||
86 | * @param in_use #GNUNET_YES or #GNUNET_NO | ||
87 | */ | ||
88 | void | ||
89 | GST_ats_set_in_use (const struct GNUNET_HELLO_Address *address, | ||
90 | struct Session *session, | ||
91 | int in_use); | ||
92 | |||
93 | |||
94 | /** | ||
82 | * Notify ATS about property changes to an address | 95 | * Notify ATS about property changes to an address |
83 | * | 96 | * |
84 | * @param address the address | 97 | * @param address the address |