diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-08 15:34:37 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-08 15:34:37 +0000 |
commit | c306f456b0cfdfb55fb28290ff61f7783233cfc3 (patch) | |
tree | 0b2dea88ea83b3ccd2603073d3e7b710f3d584d8 /src/ats/gnunet-service-ats_connectivity.h | |
parent | f99ade0a9aaa8024affcf01aa871f93bd03ef9e1 (diff) | |
download | gnunet-c306f456b0cfdfb55fb28290ff61f7783233cfc3.tar.gz gnunet-c306f456b0cfdfb55fb28290ff61f7783233cfc3.zip |
expose connectivity desire of clients to ATS plugins
Diffstat (limited to 'src/ats/gnunet-service-ats_connectivity.h')
-rw-r--r-- | src/ats/gnunet-service-ats_connectivity.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ats/gnunet-service-ats_connectivity.h b/src/ats/gnunet-service-ats_connectivity.h index e677c054d..305ff5b6c 100644 --- a/src/ats/gnunet-service-ats_connectivity.h +++ b/src/ats/gnunet-service-ats_connectivity.h | |||
@@ -22,8 +22,6 @@ | |||
22 | * @brief ats service, interaction with 'connecivity' API | 22 | * @brief ats service, interaction with 'connecivity' API |
23 | * @author Matthias Wachs | 23 | * @author Matthias Wachs |
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | * | ||
26 | * TODO: will need API to query connectivity requests! | ||
27 | */ | 25 | */ |
28 | #ifndef GNUNET_SERVICE_ATS_CONNECTIVITY_H | 26 | #ifndef GNUNET_SERVICE_ATS_CONNECTIVITY_H |
29 | #define GNUNET_SERVICE_ATS_CONNECTIVITY_H | 27 | #define GNUNET_SERVICE_ATS_CONNECTIVITY_H |
@@ -33,11 +31,13 @@ | |||
33 | * Is the given peer in the list of peers for which we | 31 | * Is the given peer in the list of peers for which we |
34 | * have an address request? | 32 | * have an address request? |
35 | * | 33 | * |
34 | * @param cls unused, NULL | ||
36 | * @param peer peer to query for | 35 | * @param peer peer to query for |
37 | * @return #GNUNET_YES if so, #GNUNET_NO if not | 36 | * @return #GNUNET_YES if so, #GNUNET_NO if not |
38 | */ | 37 | */ |
39 | int | 38 | unsigned int |
40 | GAS_connectivity_has_peer (const struct GNUNET_PeerIdentity *peer); | 39 | GAS_connectivity_has_peer (void *cls, |
40 | const struct GNUNET_PeerIdentity *peer); | ||
41 | 41 | ||
42 | 42 | ||
43 | /** | 43 | /** |