diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-10 17:38:29 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-10 17:38:29 +0100 |
commit | bf5f92d9429a556f68c950df7be3dc25907e0d6c (patch) | |
tree | 640b74c6a12a53ccac9925eb05b9e6d644d7e748 /src/include/gnunet_core_service.h | |
parent | 06c0c503acd9d523d4d18eeac862222a744db2ab (diff) | |
download | gnunet-bf5f92d9429a556f68c950df7be3dc25907e0d6c.tar.gz gnunet-bf5f92d9429a556f68c950df7be3dc25907e0d6c.zip |
rename connecT -> connect now that the old API is dead
Diffstat (limited to 'src/include/gnunet_core_service.h')
-rw-r--r-- | src/include/gnunet_core_service.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/gnunet_core_service.h b/src/include/gnunet_core_service.h index 6ec486b26..6b082601b 100644 --- a/src/include/gnunet_core_service.h +++ b/src/include/gnunet_core_service.h | |||
@@ -114,7 +114,7 @@ typedef void | |||
114 | * @param peer peer identity this notification is about | 114 | * @param peer peer identity this notification is about |
115 | */ | 115 | */ |
116 | typedef void * | 116 | typedef void * |
117 | (*GNUNET_CORE_ConnecTEventHandler) (void *cls, | 117 | (*GNUNET_CORE_ConnectEventHandler) (void *cls, |
118 | const struct GNUNET_PeerIdentity *peer, | 118 | const struct GNUNET_PeerIdentity *peer, |
119 | struct GNUNET_MQ_Handle *mq); | 119 | struct GNUNET_MQ_Handle *mq); |
120 | 120 | ||
@@ -126,7 +126,7 @@ typedef void * | |||
126 | * @param peer peer identity this notification is about | 126 | * @param peer peer identity this notification is about |
127 | */ | 127 | */ |
128 | typedef void | 128 | typedef void |
129 | (*GNUNET_CORE_DisconnecTEventHandler) (void *cls, | 129 | (*GNUNET_CORE_DisconnectEventHandler) (void *cls, |
130 | const struct GNUNET_PeerIdentity *peer, | 130 | const struct GNUNET_PeerIdentity *peer, |
131 | void *peer_cls); | 131 | void *peer_cls); |
132 | 132 | ||
@@ -283,11 +283,11 @@ GNUNET_CORE_disconnect (struct GNUNET_CORE_Handle *handle); | |||
283 | * NULL on error (in this case, init is never called) | 283 | * NULL on error (in this case, init is never called) |
284 | */ | 284 | */ |
285 | struct GNUNET_CORE_Handle * | 285 | struct GNUNET_CORE_Handle * |
286 | GNUNET_CORE_connecT (const struct GNUNET_CONFIGURATION_Handle *cfg, | 286 | GNUNET_CORE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, |
287 | void *cls, | 287 | void *cls, |
288 | GNUNET_CORE_StartupCallback init, | 288 | GNUNET_CORE_StartupCallback init, |
289 | GNUNET_CORE_ConnecTEventHandler connects, | 289 | GNUNET_CORE_ConnectEventHandler connects, |
290 | GNUNET_CORE_DisconnecTEventHandler disconnects, | 290 | GNUNET_CORE_DisconnectEventHandler disconnects, |
291 | const struct GNUNET_MQ_MessageHandler *handlers); | 291 | const struct GNUNET_MQ_MessageHandler *handlers); |
292 | 292 | ||
293 | 293 | ||
@@ -297,7 +297,7 @@ GNUNET_CORE_connecT (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
297 | * @param handle connection to core to disconnect | 297 | * @param handle connection to core to disconnect |
298 | */ | 298 | */ |
299 | void | 299 | void |
300 | GNUNET_CORE_disconnecT (struct GNUNET_CORE_Handle *handle); | 300 | GNUNET_CORE_disconnect (struct GNUNET_CORE_Handle *handle); |
301 | 301 | ||
302 | 302 | ||
303 | /** | 303 | /** |