aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-07 11:08:40 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-07 11:08:40 +0000
commit93522adc0728de13e94a7b13730781345144e434 (patch)
tree5e8389010559b5c326909bba7d8b18b858eeab35 /src/include
parenta3247ccf829ff52285721529bbcba00a0da39dcd (diff)
downloadgnunet-93522adc0728de13e94a7b13730781345144e434.tar.gz
gnunet-93522adc0728de13e94a7b13730781345144e434.zip
removing 'publicKey' argument from CORE init callback
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_core_service.h17
-rw-r--r--src/include/gnunet_transport_service.h2
2 files changed, 7 insertions, 12 deletions
diff --git a/src/include/gnunet_core_service.h b/src/include/gnunet_core_service.h
index 11514ae29..f33a78926 100644
--- a/src/include/gnunet_core_service.h
+++ b/src/include/gnunet_core_service.h
@@ -153,24 +153,19 @@ struct GNUNET_CORE_MessageHandler
153 153
154 154
155/** 155/**
156 * Function called after GNUNET_CORE_connect has succeeded 156 * Function called after GNUNET_CORE_connect has succeeded (or failed
157 * (or failed for good). Note that the private key of the 157 * for good). Note that the private key of the peer is intentionally
158 * peer is intentionally not exposed here; if you need it, 158 * not exposed here; if you need it, your process should try to read
159 * your process should try to read the private key file 159 * the private key file directly (which should work if you are
160 * directly (which should work if you are authorized...). 160 * authorized...).
161 * 161 *
162 * @param cls closure 162 * @param cls closure
163 * @param server handle to the server, NULL if we failed 163 * @param server handle to the server, NULL if we failed
164 * @param my_identity ID of this peer, NULL if we failed 164 * @param my_identity ID of this peer, NULL if we failed
165 * @param publicKey public key of this peer, NULL if we failed
166 */ 165 */
167typedef void (*GNUNET_CORE_StartupCallback) (void *cls, 166typedef void (*GNUNET_CORE_StartupCallback) (void *cls,
168 struct GNUNET_CORE_Handle * server, 167 struct GNUNET_CORE_Handle * server,
169 const struct GNUNET_PeerIdentity * 168 const struct GNUNET_PeerIdentity *my_identity);
170 my_identity,
171 const struct
172 GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded
173 * publicKey);
174 169
175 170
176/** 171/**
diff --git a/src/include/gnunet_transport_service.h b/src/include/gnunet_transport_service.h
index 8b9472cdb..2b6675c89 100644
--- a/src/include/gnunet_transport_service.h
+++ b/src/include/gnunet_transport_service.h
@@ -547,7 +547,7 @@ struct GNUNET_TRANSPORT_TransmitHandle;
547 * @param handle connection to transport service 547 * @param handle connection to transport service
548 * @param target who should receive the message 548 * @param target who should receive the message
549 * @param size how big is the message we want to transmit? 549 * @param size how big is the message we want to transmit?
550 * @param priority how important is the message? 550 * @param priority how important is the message? @deprecated - remove?
551 * @param timeout after how long should we give up (and call 551 * @param timeout after how long should we give up (and call
552 * notify with buf NULL and size 0)? 552 * notify with buf NULL and size 0)?
553 * @param notify function to call when we are ready to 553 * @param notify function to call when we are ready to