diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-08-29 18:34:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-08-29 18:34:03 +0000 |
commit | aca96d397a1c5213236f0183d7b74e2e38906181 (patch) | |
tree | 062b827acb08abe050c0ac2f7c7f08a9b9a7d1ea /src/core | |
parent | eb0874673e122ddd822af3f4a9f9090c6104cd2a (diff) | |
download | gnunet-aca96d397a1c5213236f0183d7b74e2e38906181.tar.gz gnunet-aca96d397a1c5213236f0183d7b74e2e38906181.zip |
fixing remaining network-connection naming confusion in API
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/core_api.c | 10 | ||||
-rw-r--r-- | src/core/gnunet-service-core.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c index 619a0420f..ac958449b 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c | |||
@@ -94,7 +94,7 @@ struct GNUNET_CORE_Handle | |||
94 | /** | 94 | /** |
95 | * Handle for our current transmission request. | 95 | * Handle for our current transmission request. |
96 | */ | 96 | */ |
97 | struct GNUNET_NETWORK_TransmitHandle *th; | 97 | struct GNUNET_CONNECTION_TransmitHandle *th; |
98 | 98 | ||
99 | /** | 99 | /** |
100 | * Head of doubly-linked list of pending requests. | 100 | * Head of doubly-linked list of pending requests. |
@@ -173,7 +173,7 @@ struct GNUNET_CORE_TransmitHandle | |||
173 | * The function will be called with a NULL buffer to signal | 173 | * The function will be called with a NULL buffer to signal |
174 | * timeout. | 174 | * timeout. |
175 | */ | 175 | */ |
176 | GNUNET_NETWORK_TransmitReadyNotify get_message; | 176 | GNUNET_CONNECTION_TransmitReadyNotify get_message; |
177 | 177 | ||
178 | /** | 178 | /** |
179 | * Closure for get_message. | 179 | * Closure for get_message. |
@@ -195,7 +195,7 @@ struct GNUNET_CORE_TransmitHandle | |||
195 | * If this entry is for a transmission request, pointer | 195 | * If this entry is for a transmission request, pointer |
196 | * to the notify callback; otherwise NULL. | 196 | * to the notify callback; otherwise NULL. |
197 | */ | 197 | */ |
198 | GNUNET_NETWORK_TransmitReadyNotify notify; | 198 | GNUNET_CONNECTION_TransmitReadyNotify notify; |
199 | 199 | ||
200 | /** | 200 | /** |
201 | * Closure for notify. | 201 | * Closure for notify. |
@@ -961,7 +961,7 @@ produce_send (void *cls, size_t size, void *buf) | |||
961 | struct GNUNET_CORE_Handle *h; | 961 | struct GNUNET_CORE_Handle *h; |
962 | struct SendMessage *sm; | 962 | struct SendMessage *sm; |
963 | size_t dt; | 963 | size_t dt; |
964 | GNUNET_NETWORK_TransmitReadyNotify notify; | 964 | GNUNET_CONNECTION_TransmitReadyNotify notify; |
965 | void *notify_cls; | 965 | void *notify_cls; |
966 | 966 | ||
967 | h = th->ch; | 967 | h = th->ch; |
@@ -1026,7 +1026,7 @@ GNUNET_CORE_notify_transmit_ready (struct GNUNET_CORE_Handle *handle, | |||
1026 | struct GNUNET_TIME_Relative maxdelay, | 1026 | struct GNUNET_TIME_Relative maxdelay, |
1027 | const struct GNUNET_PeerIdentity *target, | 1027 | const struct GNUNET_PeerIdentity *target, |
1028 | size_t notify_size, | 1028 | size_t notify_size, |
1029 | GNUNET_NETWORK_TransmitReadyNotify notify, | 1029 | GNUNET_CONNECTION_TransmitReadyNotify notify, |
1030 | void *notify_cls) | 1030 | void *notify_cls) |
1031 | { | 1031 | { |
1032 | struct GNUNET_CORE_TransmitHandle *th; | 1032 | struct GNUNET_CORE_TransmitHandle *th; |
diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c index eab031f1c..ec2f08f65 100644 --- a/src/core/gnunet-service-core.c +++ b/src/core/gnunet-service-core.c | |||
@@ -570,7 +570,7 @@ struct Client | |||
570 | * Current transmit handle, NULL if no transmission request | 570 | * Current transmit handle, NULL if no transmission request |
571 | * is pending. | 571 | * is pending. |
572 | */ | 572 | */ |
573 | struct GNUNET_NETWORK_TransmitHandle *th; | 573 | struct GNUNET_CONNECTION_TransmitHandle *th; |
574 | 574 | ||
575 | /** | 575 | /** |
576 | * Array of the types of messages this peer cares | 576 | * Array of the types of messages this peer cares |