diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-07-26 21:20:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-07-26 21:20:11 +0000 |
commit | 7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420 (patch) | |
tree | dc415457e57f9cfda58eb22ca400a941ebcf602e /src/include/gnunet_peerinfo_service.h | |
parent | 4f8ba34b32328bd99b2f0c2ff9a2372712022b32 (diff) | |
download | gnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.tar.gz gnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.zip |
const-ing of config-handles
Diffstat (limited to 'src/include/gnunet_peerinfo_service.h')
-rw-r--r-- | src/include/gnunet_peerinfo_service.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_peerinfo_service.h b/src/include/gnunet_peerinfo_service.h index 45c52c447..54fc68033 100644 --- a/src/include/gnunet_peerinfo_service.h +++ b/src/include/gnunet_peerinfo_service.h | |||
@@ -51,7 +51,7 @@ extern "C" | |||
51 | * @param hello the verified (!) HELLO message | 51 | * @param hello the verified (!) HELLO message |
52 | */ | 52 | */ |
53 | void | 53 | void |
54 | GNUNET_PEERINFO_add_peer (struct GNUNET_CONFIGURATION_Handle *cfg, | 54 | GNUNET_PEERINFO_add_peer (const struct GNUNET_CONFIGURATION_Handle *cfg, |
55 | struct GNUNET_SCHEDULER_Handle *sched, | 55 | struct GNUNET_SCHEDULER_Handle *sched, |
56 | const struct GNUNET_PeerIdentity *peer, | 56 | const struct GNUNET_PeerIdentity *peer, |
57 | const struct GNUNET_HELLO_Message *hello); | 57 | const struct GNUNET_HELLO_Message *hello); |
@@ -90,7 +90,7 @@ typedef void | |||
90 | * @param callback_cls closure for callback | 90 | * @param callback_cls closure for callback |
91 | */ | 91 | */ |
92 | void | 92 | void |
93 | GNUNET_PEERINFO_for_all (struct GNUNET_CONFIGURATION_Handle *cfg, | 93 | GNUNET_PEERINFO_for_all (const struct GNUNET_CONFIGURATION_Handle *cfg, |
94 | struct GNUNET_SCHEDULER_Handle *sched, | 94 | struct GNUNET_SCHEDULER_Handle *sched, |
95 | const struct GNUNET_PeerIdentity *peer, | 95 | const struct GNUNET_PeerIdentity *peer, |
96 | int trust_delta, | 96 | int trust_delta, |