more work on fs service
[oweals/gnunet.git] / src / include / gnunet_peerinfo_service.h
index 45c52c447a033b4059387b4a0c8f4c72b6c06140..54fc6803366b5e8bd7f7d8fec9116c48d47b0370 100644 (file)
@@ -51,7 +51,7 @@ extern "C"
  * @param hello the verified (!) HELLO message
  */
 void
-GNUNET_PEERINFO_add_peer (struct GNUNET_CONFIGURATION_Handle *cfg,
+GNUNET_PEERINFO_add_peer (const struct GNUNET_CONFIGURATION_Handle *cfg,
                           struct GNUNET_SCHEDULER_Handle *sched,
                           const struct GNUNET_PeerIdentity *peer,
                           const struct GNUNET_HELLO_Message *hello);
@@ -90,7 +90,7 @@ typedef void
  * @param callback_cls closure for callback
  */
 void
-GNUNET_PEERINFO_for_all (struct GNUNET_CONFIGURATION_Handle *cfg,
+GNUNET_PEERINFO_for_all (const struct GNUNET_CONFIGURATION_Handle *cfg,
                          struct GNUNET_SCHEDULER_Handle *sched,
                          const struct GNUNET_PeerIdentity *peer,
                          int trust_delta,