diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-07 11:08:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-07 11:08:40 +0000 |
commit | 93522adc0728de13e94a7b13730781345144e434 (patch) | |
tree | 5e8389010559b5c326909bba7d8b18b858eeab35 /src/include/gnunet_core_service.h | |
parent | a3247ccf829ff52285721529bbcba00a0da39dcd (diff) | |
download | gnunet-93522adc0728de13e94a7b13730781345144e434.tar.gz gnunet-93522adc0728de13e94a7b13730781345144e434.zip |
removing 'publicKey' argument from CORE init callback
Diffstat (limited to 'src/include/gnunet_core_service.h')
-rw-r--r-- | src/include/gnunet_core_service.h | 17 |
1 files changed, 6 insertions, 11 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 | */ |
167 | typedef void (*GNUNET_CORE_StartupCallback) (void *cls, | 166 | typedef 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 | /** |